X-Git-Url: http://git.linex4red.de/pub/lufa.git/blobdiff_plain/55db57e1ede3c44a3b027cb442fa12e969b37f4b..fc8e4837a936bb1b4bd19bdd54660878b3efe02c:/Demos/Host/Incomplete/BluetoothHost/Lib/BluetoothStack.h diff --git a/Demos/Host/Incomplete/BluetoothHost/Lib/BluetoothStack.h b/Demos/Host/Incomplete/BluetoothHost/Lib/BluetoothStack.h index 88cc02035..a97ac089a 100644 --- a/Demos/Host/Incomplete/BluetoothHost/Lib/BluetoothStack.h +++ b/Demos/Host/Incomplete/BluetoothHost/Lib/BluetoothStack.h @@ -124,15 +124,15 @@ void Bluetooth_Stack_Init(void); void Bluetooth_Stack_USBTask(void); - bool Bluetooth_ConnectionRequest(uint8_t* RemoteAddress); + bool Bluetooth_ConnectionRequest(const uint8_t* RemoteAddress); void Bluetooth_ConnectionComplete(void); void Bluetooth_DisconnectionComplete(void); - bool Bluetooth_ChannelConnectionRequest(uint16_t PSM); - void Bluetooth_PacketReceived(void* Data, uint16_t DataLen, Bluetooth_Channel_t* Channel); - Bluetooth_Channel_t* Bluetooth_GetChannelData(uint16_t ChannelNumber, bool SearchByRemoteChannel); - Bluetooth_Channel_t* Bluetooth_OpenChannel(uint16_t PSM); - void Bluetooth_CloseChannel(Bluetooth_Channel_t* Channel); - uint8_t Bluetooth_SendPacket(void* Data, uint16_t DataLen, Bluetooth_Channel_t* Channel); + bool Bluetooth_ChannelConnectionRequest(const uint16_t PSM); + void Bluetooth_PacketReceived(void* Data, uint16_t DataLen, Bluetooth_Channel_t* const Channel); + Bluetooth_Channel_t* Bluetooth_GetChannelData(const uint16_t ChannelNumber, const bool SearchByRemoteChannel); + Bluetooth_Channel_t* Bluetooth_OpenChannel(const uint16_t PSM); + void Bluetooth_CloseChannel(Bluetooth_Channel_t* const Channel); + uint8_t Bluetooth_SendPacket(void* Data, uint16_t DataLen, Bluetooth_Channel_t* const Channel); /* External Variables: */ extern Bluetooth_Device_t Bluetooth_DeviceConfiguration;