aboutsummaryrefslogtreecommitdiff
path: root/Demos/Host/Incomplete/BluetoothHost/Lib/ServiceDiscoveryProtocol.c
diff options
context:
space:
mode:
authorDean Camera <[email protected]>2010-06-03 12:45:15 +0000
committerDean Camera <[email protected]>2010-06-03 12:45:15 +0000
commit9293de249151fb974325ebf8f39b28e0f32524ea (patch)
tree628ddbd3fa8afcc0cab74e22dcfcc669acd309bf /Demos/Host/Incomplete/BluetoothHost/Lib/ServiceDiscoveryProtocol.c
parent13d812a7188f0b0ecaa07ee66e376a2c5a88742f (diff)
downloadqmk_firmware-9293de249151fb974325ebf8f39b28e0f32524ea.tar.gz
qmk_firmware-9293de249151fb974325ebf8f39b28e0f32524ea.zip
Start implementation of RFCOMM decoding layer. Add new service initialize routines for each Bluetooth service - currently unused, but will eventually reset the service state of RFCOMM when a new connection is made.
Diffstat (limited to 'Demos/Host/Incomplete/BluetoothHost/Lib/ServiceDiscoveryProtocol.c')
-rw-r--r--Demos/Host/Incomplete/BluetoothHost/Lib/ServiceDiscoveryProtocol.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/Demos/Host/Incomplete/BluetoothHost/Lib/ServiceDiscoveryProtocol.c b/Demos/Host/Incomplete/BluetoothHost/Lib/ServiceDiscoveryProtocol.c
index 62d4c5e39a..c07718e78c 100644
--- a/Demos/Host/Incomplete/BluetoothHost/Lib/ServiceDiscoveryProtocol.c
+++ b/Demos/Host/Incomplete/BluetoothHost/Lib/ServiceDiscoveryProtocol.c
@@ -40,6 +40,12 @@ const ServiceAttributeTable_t* SDP_Services_Table[] PROGMEM =
/** Base UUID value common to all standardized Bluetooth services */
const UUID_t BaseUUID PROGMEM = {0x00000000, BASE_80BIT_UUID};
+/** Initializes the SDP service, ready for new connections from a SDP client. */
+void SDP_Initialize(void)
+{
+ /* Not currently used */
+}
+
/** Main Service Discovery Protocol packet processing routine. This function processes incomming SDP packets from
* a connected Bluetooth device, and sends back appropriate responses to allow other devices to determine the
* services the local device exposes.