S122 SoftDevice v8.1.1
Data Fields
ble_gap_opt_enable_evt_len_check_t Struct Reference

Enable event length checking. More...

#include <ble_gap.h>

Data Fields

uint8_t enable: 1

Detailed Description

Enable event length checking.

When this option is enabled, the SoftDevice will prevent the application from switching to a state where the link can utilize more than the configured event length. See ble_gap_conn_cfg_t::event_length. This validation is performed when the application calls the following APIs:

  - @ref sd_ble_gap_connect
  - @ref sd_ble_gap_phy_update
Event length checking is enabled by default.
For a link with an event length of BLE_GAP_EVENT_LENGTH_2MBPS_PHY_MIN, the application cannot connect directly on 1Mbps unless BLE_GAP_OPT_ENABLE_EVT_LEN_CHECK is disabled. The application is allowed to enable this option after the link has switched to 2Mbps.
Return values
NRF_SUCCESSSet successfully.

Field Documentation

uint8_t ble_gap_opt_enable_evt_len_check_t::enable

Set to 1 to enable (or 0 to disable) event length checks.

Documentation feedback | Developer Zone | Subscribe | Updated