Add const keyword to the demo function parameters where possible.
[pub/lufa.git] / Demos / Host / Incomplete / BluetoothHost / Lib / BluetoothStack.h
index 88cc020..a97ac08 100644 (file)
                void Bluetooth_Stack_Init(void);\r
                void Bluetooth_Stack_USBTask(void);\r
 \r
-               bool                 Bluetooth_ConnectionRequest(uint8_t* RemoteAddress);\r
+               bool                 Bluetooth_ConnectionRequest(const uint8_t* RemoteAddress);\r
                void                 Bluetooth_ConnectionComplete(void);\r
                void                 Bluetooth_DisconnectionComplete(void);\r
-               bool                 Bluetooth_ChannelConnectionRequest(uint16_t PSM);\r
-               void                 Bluetooth_PacketReceived(void* Data, uint16_t DataLen, Bluetooth_Channel_t* Channel);\r
-               Bluetooth_Channel_t* Bluetooth_GetChannelData(uint16_t ChannelNumber, bool SearchByRemoteChannel);\r
-               Bluetooth_Channel_t* Bluetooth_OpenChannel(uint16_t PSM);\r
-               void                 Bluetooth_CloseChannel(Bluetooth_Channel_t* Channel);\r
-               uint8_t              Bluetooth_SendPacket(void* Data, uint16_t DataLen, Bluetooth_Channel_t* Channel);\r
+               bool                 Bluetooth_ChannelConnectionRequest(const uint16_t PSM);\r
+               void                 Bluetooth_PacketReceived(void* Data, uint16_t DataLen, Bluetooth_Channel_t* const Channel);\r
+               Bluetooth_Channel_t* Bluetooth_GetChannelData(const uint16_t ChannelNumber, const bool SearchByRemoteChannel);\r
+               Bluetooth_Channel_t* Bluetooth_OpenChannel(const uint16_t PSM);\r
+               void                 Bluetooth_CloseChannel(Bluetooth_Channel_t* const Channel);\r
+               uint8_t              Bluetooth_SendPacket(void* Data, uint16_t DataLen, Bluetooth_Channel_t* const Channel);\r
 \r
        /* External Variables: */\r
                extern Bluetooth_Device_t     Bluetooth_DeviceConfiguration;\r