*\r
* \return A value from the \ref BT_SendPacket_ErrorCodes_t enum\r
*/\r
-uint8_t Bluetooth_SendPacket(void* Data, uint16_t DataLen, Bluetooth_Channel_t* Channel)\r
+uint8_t Bluetooth_SendPacket(void* Data, const uint16_t DataLen, Bluetooth_Channel_t* const Channel)\r
{\r
BT_ACL_Header_t ACLPacketHeader;\r
BT_DataPacket_Header_t DataHeader;\r
*\r
* \return Pointer to the channel information structure of the opened channel, or NULL if no free channels\r
*/\r
-Bluetooth_Channel_t* Bluetooth_OpenChannel(uint16_t PSM)\r
+Bluetooth_Channel_t* Bluetooth_OpenChannel(const uint16_t PSM)\r
{\r
Bluetooth_Channel_t* ChannelData = NULL;\r
\r
*\r
* \param[in,out] Channel Channel information structure of the channel to close\r
*/\r
-void Bluetooth_CloseChannel(Bluetooth_Channel_t* Channel)\r
+void Bluetooth_CloseChannel(Bluetooth_Channel_t* const Channel)\r
{\r
/* Don't try to close a non-existing or already closed channel */\r
if ((Channel == NULL) || (Channel->State == Channel_Closed))\r
*\r
* \param[in] SignalCommandHeader Pointer to the start of the received packet's Signal Command header\r
*/\r
-static inline void Bluetooth_Signal_ConnectionReq(BT_Signal_Header_t* SignalCommandHeader)\r
+static inline void Bluetooth_Signal_ConnectionReq(const BT_Signal_Header_t* const SignalCommandHeader)\r
{\r
BT_Signal_ConnectionReq_t ConnectionRequest;\r
\r
*\r
* \param[in] SignalCommandHeader Pointer to the start of the received packet's Signal Command header\r
*/\r
-static inline void Bluetooth_Signal_ConnectionResp(BT_Signal_Header_t* SignalCommandHeader)\r
+static inline void Bluetooth_Signal_ConnectionResp(const BT_Signal_Header_t* const SignalCommandHeader)\r
{\r
BT_Signal_ConnectionResp_t ConnectionResponse;\r
\r
*\r
* \param[in] SignalCommandHeader Pointer to the start of the received packet's Signal Command header\r
*/\r
-static inline void Bluetooth_Signal_ConfigurationReq(BT_Signal_Header_t* SignalCommandHeader)\r
+static inline void Bluetooth_Signal_ConfigurationReq(const BT_Signal_Header_t* const SignalCommandHeader)\r
{\r
BT_Signal_ConfigurationReq_t ConfigurationRequest;\r
\r
*\r
* \param[in] SignalCommandHeader Pointer to the start of the received packet's Signal Command header\r
*/\r
-static inline void Bluetooth_Signal_ConfigurationResp(BT_Signal_Header_t* SignalCommandHeader)\r
+static inline void Bluetooth_Signal_ConfigurationResp(const BT_Signal_Header_t* const SignalCommandHeader)\r
{\r
BT_Signal_ConfigurationResp_t ConfigurationResponse;\r
\r
*\r
* \param[in] SignalCommandHeader Pointer to the start of the received packet's Signal Command header\r
*/\r
-static inline void Bluetooth_Signal_DisconnectionReq(BT_Signal_Header_t* SignalCommandHeader)\r
+static inline void Bluetooth_Signal_DisconnectionReq(const BT_Signal_Header_t* const SignalCommandHeader)\r
{\r
BT_Signal_DisconnectionReq_t DisconnectionRequest;\r
\r
*\r
* \param[in] SignalCommandHeader Pointer to the start of the received packet's Signal Command header\r
*/\r
-static inline void Bluetooth_Signal_DisconnectionResp(BT_Signal_Header_t* SignalCommandHeader)\r
+static inline void Bluetooth_Signal_DisconnectionResp(const BT_Signal_Header_t* const SignalCommandHeader)\r
{\r
BT_Signal_DisconnectionResp_t DisconnectionResponse;\r
\r
*\r
* \param[in] SignalCommandHeader Pointer to the start of the received packet's Signal Command header\r
*/\r
-static inline void Bluetooth_Signal_EchoReq(BT_Signal_Header_t* SignalCommandHeader)\r
+static inline void Bluetooth_Signal_EchoReq(const BT_Signal_Header_t* const SignalCommandHeader)\r
{\r
BT_ACL_DEBUG(1, "<< L2CAP Echo Request", NULL);\r
\r
*\r
* \param[in] SignalCommandHeader Pointer to the start of the received packet's Signal Command header\r
*/\r
-static inline void Bluetooth_Signal_InformationReq(BT_Signal_Header_t* SignalCommandHeader)\r
+static inline void Bluetooth_Signal_InformationReq(const BT_Signal_Header_t* const SignalCommandHeader)\r
{\r
BT_Signal_InformationReq_t InformationRequest;\r
\r