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.
This commit is contained in:
parent
13d812a718
commit
9293de2491
5 changed files with 111 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue