| S132 SoftDevice v3.0.0 |

Choose documentation: | nRF5 SDK | S130 SoftDevice API | S132 SoftDevice API | S212 SoftDevice API | S332 SoftDevice API

All Data Structures Functions Variables Typedefs Enumerations Enumerator Groups Pages
Data Fields
ble_gap_opt_compat_mode_t Struct Reference
Structures

Compatibility mode option. More...

`#include <ble_gap.h>`

## Data Fields
uint8_t | mode_1_enable: 1

## Detailed Description

Compatibility mode option.

       This can be used with @ref sd_ble_opt_set to enable and disable
       compatibility modes. Compatibility modes are disabled by default.

Note
  Compatibility mode 1 enables interoperability with devices that do not support a value of 0 for the WinOffset parameter in the Link Layer CONNECT_REQ packet.

Return values

  NRF_SUCCESS | Set successfully.
  NRF_ERROR_INVALID_STATE | When connection creation is ongoing while mode 1 is set.

## Field Documentation

uint8_t ble_gap_opt_compat_mode_t::mode_1_enable

Enable compatibility mode 1.