X-Git-Url: http://git.linex4red.de/pub/USBasp.git/blobdiff_plain/a405a9bdf8338d947159317fba373fccd01fa0f3..2dabb4e55f1c362f63ef181469f529867ce8b03b:/Demos/Host/Incomplete/BluetoothHost/BluetoothHost.c diff --git a/Demos/Host/Incomplete/BluetoothHost/BluetoothHost.c b/Demos/Host/Incomplete/BluetoothHost/BluetoothHost.c index e300dd960..1e75f477f 100644 --- a/Demos/Host/Incomplete/BluetoothHost/BluetoothHost.c +++ b/Demos/Host/Incomplete/BluetoothHost/BluetoothHost.c @@ -36,7 +36,7 @@ #include "BluetoothHost.h" -/** Bluetooth configuration structure. This structure configures the bluetooth stack's user alterable settings. */ +/** Bluetooth configuration structure. This structure configures the Bluetooth stack's user alterable settings. */ Bluetooth_Device_t Bluetooth_DeviceConfiguration = { Class: (DEVICE_CLASS_SERVICE_CAPTURING | DEVICE_CLASS_MAJOR_COMPUTER | DEVICE_CLASS_MINOR_COMPUTER_PALM), @@ -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