1.1.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

ParameterDescription
[in] connHandleConnection handle associated with this connection.
[out] p_map5-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 valueDescription
MBA_RES_SUCCESSSuccessfully read the channel map.
MBA_RES_OOMInternal memory allocation failure.
MBA_RES_UNKNOWN_CONN_IDUnknown connection identifier.