Make bluetooth SDP code correctly unpack the search UUIDs and parameters.
[pub/USBasp.git] / Demos / Host / Incomplete / BluetoothHost / Lib / BluetoothStack.c
index d990ba0..3d048a8 100644 (file)
@@ -67,13 +67,13 @@ void Bluetooth_Stack_USBTask(void)
 \r
 /** Retrieves the channel information structure with the given local or remote channel number from the channel list.\r
  *\r
- *  \param ChannelNumber          Channel number to search for in the channel list\r
- *  \param SearchByRemoteChannel  Indicated whether to search for a channel information structure by the given remote channel\r
- *                                or local channel number\r
+ *  \param[in] ChannelNumber          Channel number to search for in the channel list\r
+ *  \param[in] SearchByRemoteChannel  Indicated whether to search for a channel information structure by the given remote channel\r
+ *                                    or local channel number\r
  *\r
  *  \return Pointer to the matching channel information structure in the channel table if found, NULL otherwise\r
  */\r
-Bluetooth_Channel_t* Bluetooth_GetChannelData(uint16_t ChannelNumber, bool SearchByRemoteChannel)\r
+Bluetooth_Channel_t* Bluetooth_GetChannelData(const uint16_t ChannelNumber, const bool SearchByRemoteChannel)\r
 {\r
        for (uint8_t i = 0; i < BLUETOOTH_MAX_OPEN_CHANNELS; i++)\r
        {\r