X-Git-Url: http://git.linex4red.de/pub/lufa.git/blobdiff_plain/fc92f9969c1fcc2f952f0bd6d09a309a9b3ce02f..2eff731ecfbcfec4f3152992e5ae5602a3694424:/Demos/Host/Incomplete/BluetoothHost/BluetoothHost.c diff --git a/Demos/Host/Incomplete/BluetoothHost/BluetoothHost.c b/Demos/Host/Incomplete/BluetoothHost/BluetoothHost.c index 1e75f477f..66ed417d5 100644 --- a/Demos/Host/Incomplete/BluetoothHost/BluetoothHost.c +++ b/Demos/Host/Incomplete/BluetoothHost/BluetoothHost.c @@ -245,6 +245,8 @@ void Bluetooth_ConnectionComplete(void) Bluetooth_Connection.RemoteAddress[5], Bluetooth_Connection.RemoteAddress[4], Bluetooth_Connection.RemoteAddress[3], Bluetooth_Connection.RemoteAddress[2], Bluetooth_Connection.RemoteAddress[1], Bluetooth_Connection.RemoteAddress[0]); + + LEDs_SetAllLEDs(LEDMASK_USB_BUSY); } /** Bluetooth stack callback event for a completed Bluetooth disconnection. When this callback is made, @@ -258,6 +260,8 @@ void Bluetooth_DisconnectionComplete(void) Bluetooth_Connection.RemoteAddress[5], Bluetooth_Connection.RemoteAddress[4], Bluetooth_Connection.RemoteAddress[3], Bluetooth_Connection.RemoteAddress[2], Bluetooth_Connection.RemoteAddress[1], Bluetooth_Connection.RemoteAddress[0]); + + LEDs_SetAllLEDs(LEDMASK_USB_READY); } /** Bluetooth stack callback event for a Bluetooth ACL Channel connection request. When is callback fires, @@ -277,9 +281,9 @@ bool Bluetooth_ChannelConnectionRequest(const uint16_t PSM) /** Bluetooth stack callback event for a non-signal ACL packet reception. This callback fires once a connection * to a remote Bluetooth device has been made, and the remote device has sent a non-signalling ACL packet. * - * \param[in] Data Pointer to a buffer where the received data is stored - * \param[in] DataLen Length of the packet data, in bytes - * \param[in] Channel Bluetooth ACL data channel information structure for the packet's destination channel + * \param[in] Data Pointer to a buffer where the received data is stored + * \param[in] DataLen Length of the packet data, in bytes + * \param[in] Channel Bluetooth ACL data channel information structure for the packet's destination channel */ void Bluetooth_PacketReceived(void* Data, uint16_t DataLen, Bluetooth_Channel_t* const Channel) {