R1 code for micro:bit based train controller code, requires second micro:bit running rx code to operate - see https://meanderingpi.wordpress.com/ for more information
Fork of nrf51-sdk by
Channel Map option. More...
|Connection Handle (only applicable for get) |
|Channel Map (37-bit). |
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.
- Setting the channel map may take some time, depending on connection parameters. The time taken may be different for each connection and the get operation will return the previous channel map until the new one has taken effect.
- After setting the channel map, by spec it can not be set again until at least 1 s has passed. See Bluetooth Specification Version 4.1 Volume 2, Part E, Section 7.3.46.
- Return values:
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.
Generated on Tue Jul 12 2022 19:00:14 by 1.7.2