BLE connection specific bandwidth configuration parameters. More...
#include <ble.h>
Data Fields | |
uint8_t | role |
ble_conn_bw_t | conn_bw |
BLE connection specific bandwidth configuration parameters.
This can be used with sd_ble_opt_set to set the bandwidth configuration to be used when creating connections.
Call sd_ble_opt_set with this option prior to calling sd_ble_gap_adv_start or sd_ble_gap_connect.
The bandwidth configurations set via sd_ble_opt_set are maintained separately for central and peripheral connections. The given configurations are used for all future connections of the role indicated in this structure unless they are changed by subsequent sd_ble_opt_set calls.
Connection Bandwidth Configuration |
NRF_SUCCESS | Set successfully. |
BLE_ERROR_INVALID_ROLE | The role is invalid. |
NRF_ERROR_INVALID_PARAM | Invalid bandwidth configuration parameters. |
NRF_ERROR_NOT_SUPPORTED | If the combination of role and bandwidth configuration is not supported. |
ble_conn_bw_t ble_common_opt_conn_bw_t::conn_bw |
Bandwidth configuration parameters.
uint8_t ble_common_opt_conn_bw_t::role |
BLE role of the connection, see GAP Roles.