Document Bluetooth files with overall file Doxygen comments. Add more initial RFCOMM layer code to receive and respond to SABM packets.
This commit is contained in:
parent
be09f64872
commit
efbedcfa54
7 changed files with 133 additions and 23 deletions
|
@ -28,6 +28,14 @@
|
|||
this software.
|
||||
*/
|
||||
|
||||
/** \file
|
||||
*
|
||||
* SDP layer module. This module implements a simple Service Discovery
|
||||
* Protocol server, which can broadcast the device's supported services
|
||||
* to other Bluetooth devices upon request, so that they can determine
|
||||
* what services are available.
|
||||
*/
|
||||
|
||||
#define INCLUDE_FROM_SERVICEDISCOVERYPROTOCOL_C
|
||||
#include "ServiceDiscoveryProtocol.h"
|
||||
|
||||
|
@ -62,6 +70,7 @@ void SDP_ProcessPacket(void* Data, Bluetooth_Channel_t* const Channel)
|
|||
BT_SDP_DEBUG(2, "-- PDU ID: 0x%02X", SDPHeader->PDU);
|
||||
BT_SDP_DEBUG(2, "-- Param Length: 0x%04X", SDPHeader->ParameterLength);
|
||||
|
||||
/* Dispatch to the correct processing routine for the given SDP packet type */
|
||||
switch (SDPHeader->PDU)
|
||||
{
|
||||
case SDP_PDU_SERVICESEARCHREQUEST:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue