aboutsummaryrefslogtreecommitdiff
path: root/Demos/Host/Incomplete/BluetoothHost/BluetoothHost.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/BluetoothHost.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/BluetoothHost.c')
-rw-r--r--Demos/Host/Incomplete/BluetoothHost/BluetoothHost.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/Demos/Host/Incomplete/BluetoothHost/BluetoothHost.c b/Demos/Host/Incomplete/BluetoothHost/BluetoothHost.c
index e300dd9603..4aa1df537c 100644
--- a/Demos/Host/Incomplete/BluetoothHost/BluetoothHost.c
+++ b/Demos/Host/Incomplete/BluetoothHost/BluetoothHost.c
@@ -213,6 +213,10 @@ void Bluetooth_StackInitialized(void)
printf_P(PSTR("Stack initialized with local address %02X:%02X:%02X:%02X:%02X:%02X.\r\n"),
Bluetooth_State.LocalBDADDR[5], Bluetooth_State.LocalBDADDR[4], Bluetooth_State.LocalBDADDR[3],
Bluetooth_State.LocalBDADDR[2], Bluetooth_State.LocalBDADDR[1], Bluetooth_State.LocalBDADDR[0]);
+
+ /* Reinitialize the services placed on top of the bluetooth stack ready for new connections */
+ SDP_Initialize();
+ RFCOMM_Initialize();
}
/** Bluetooth stack callback event for a Bluetooth connection request. When this callback fires, the