S122 SoftDevice v8.1.1
Data Fields
ble_gap_opt_compat_mode_1_t Struct Reference

Compatibility mode 1 option. More...

#include <ble_gap.h>

Data Fields

uint8_t enable: 1

Detailed Description

Compatibility mode 1 option.

This can be used with sd_ble_opt_set to enable and disable compatibility mode 1. Compatibility mode 1 is disabled by default.

Compatibility mode 1 enables interoperability with devices that do not support a value of 0 for the WinOffset parameter in the Link Layer CONNECT_IND packet. This applies to a limited set of legacy peripheral devices from another vendor. Enabling this compatibility mode will only have an effect if the local device will act as a central device and initiate a connection to a peripheral device. In that case it may lead to the connection creation taking up to one connection interval longer to complete for all connections.
Return values
NRF_SUCCESSSet successfully.
NRF_ERROR_INVALID_STATEWhen connection creation is ongoing while mode 1 is set.

Field Documentation

uint8_t ble_gap_opt_compat_mode_1_t::enable

Enable compatibility mode 1.

Documentation feedback | Developer Zone | Subscribe | Updated