nRF51 SDK - S110 SoftDevice
|
Channel Map option. Used with sd_ble_opt_get to get the current channel map or sd_ble_opt_set to set a new channel map. When setting the channel map, it applies to all current and future connections. When getting the current channel map, it applies to a single connection and the connection handle must be supplied. More...
#include <ble_gap.h>
Data Fields | |
uint16_t | conn_handle |
uint8_t | ch_map [5] |
Channel Map option. Used with sd_ble_opt_get to get the current channel map or sd_ble_opt_set to set a new channel map. When setting the channel map, it applies to all current and future connections. When getting the current channel map, it applies to a single connection and the connection handle must be supplied.
NRF_SUCCESS | Get or set successful. |
NRF_ERROR_BUSY | Channel map was set again before enough time had passed. |
NRF_ERROR_INVALID_STATE | Invalid state to perform operation. |
BLE_ERROR_INVALID_CONN_HANDLE | Invalid connection handle supplied for get. |
NRF_ERROR_NOT_SUPPORTED | Returned by sd_ble_opt_set in peripheral-only SoftDevices. |
uint8_t ble_gap_opt_ch_map_t::ch_map[5] |
Channel Map (37-bit).
uint16_t ble_gap_opt_ch_map_t::conn_handle |
Connection Handle (only applicable for get)