X-Git-Url: http://git.linex4red.de/pub/lufa.git/blobdiff_plain/797130bddc25d519cd765ca8d82d1e729e3d8ae0..28f1ac81176bbcd9fd13d94e61323522a5279d27:/Demos/Host/Incomplete/BluetoothHost/Lib/BluetoothACLPackets.h?ds=inline diff --git a/Demos/Host/Incomplete/BluetoothHost/Lib/BluetoothACLPackets.h b/Demos/Host/Incomplete/BluetoothHost/Lib/BluetoothACLPackets.h index 1edbfa603..40f2bbdcd 100644 --- a/Demos/Host/Incomplete/BluetoothHost/Lib/BluetoothACLPackets.h +++ b/Demos/Host/Incomplete/BluetoothHost/Lib/BluetoothACLPackets.h @@ -42,7 +42,7 @@ /* Macros: */ #define BT_ACL_DEBUG(l, s, ...) do { if (ACL_DEBUG_LEVEL >= l) printf_P(PSTR("(ACL) " s "\r\n"), __VA_ARGS__); } while (0) - #define ACL_DEBUG_LEVEL 2 + #define ACL_DEBUG_LEVEL 1 #define BT_CHANNEL_SIGNALING 0x0001 #define BT_CHANNEL_CONNECTIONLESS 0x0002 @@ -160,6 +160,9 @@ static inline void Bluetooth_Signal_ConnectionReq(BT_ACL_Header_t* ACLPacketHeader, BT_DataPacket_Header_t* DataHeader, BT_Signal_Header_t* SignalCommandHeader); + static inline void Bluetooth_Signal_ConnectionResp(BT_ACL_Header_t* ACLPacketHeader, + BT_DataPacket_Header_t* DataHeader, + BT_Signal_Header_t* SignalCommandHeader); static inline void Bluetooth_Signal_EchoReq(BT_ACL_Header_t* ACLPacketHeader, BT_DataPacket_Header_t* DataHeader, BT_Signal_Header_t* SignalCommandHeader); @@ -172,6 +175,9 @@ static inline void Bluetooth_Signal_DisconnectionReq(BT_ACL_Header_t* ACLPacketHeader, BT_DataPacket_Header_t* DataHeader, BT_Signal_Header_t* SignalCommandHeader); + static inline void Bluetooth_Signal_DisconnectionResp(BT_ACL_Header_t* ACLPacketHeader, + BT_DataPacket_Header_t* DataHeader, + BT_Signal_Header_t* SignalCommandHeader); static inline void Bluetooth_Signal_InformationReq(BT_ACL_Header_t* ACLPacketHeader, BT_DataPacket_Header_t* DataHeader, BT_Signal_Header_t* SignalCommandHeader);