1.2.2.1.1.4.27 BLE_GAP_ReadChannelMap
C
uint16_t BLE_GAP_ReadChannelMap(uint16_t connHandle, uint8_t *p_map);
Description
Get the channel map for the specific connection.
Parameters
Parameter | Description |
---|---|
[in] connHandle | Connection handle associated with this connection. |
[out] p_map | 5-byte channel map array containing 37 1-bit fields corresponding to 37 data channels. 0 indicates corresponding channel is bad and 1 indicates channel status is unknown. The most significant bits are reserved and shall be set to 0. |
Return values
Return value | Description |
---|---|
MBA_RES_SUCCESS | Successfully read the channel map. |
MBA_RES_OOM | Internal memory allocation failure. |
MBA_RES_UNKNOWN_CONN_ID | Unknown connection identifier. |