BLE_GAP_ReadChannelMap
C
uint16_t BLE_GAP_ReadChannelMap(uint16_t connHandle, uint8_t *p_map);
Description
Retrieves 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 with 37 1-bit fields corresponding to the 37 data channels. A '0' indicates a bad channel, and a '1' indicates an unknown channel status. The most significant bits are reserved and must be set to 0. |
Return values
Return value | Description |
---|---|
MBA_RES_SUCCESS | Successfully retrieves the channel map. |
MBA_RES_OOM | Internal memory allocation failure occurred. |
MBA_RES_UNKNOWN_CONN_ID | Unknown connection identifier. |