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 Lancaster University

Embed: (wiki syntax)

« Back to documentation index

ble_gap_opt_compat_mode_t Struct Reference

ble_gap_opt_compat_mode_t Struct Reference

Compatibility mode option. More...

#include <ble_gap.h>

Data Fields

uint8_t mode_1_enable: 1
 Enable compatibility mode 1.

Detailed Description

Compatibility mode option.

This can be used with sd_ble_opt_set to enable and disable compatibility modes. Compatibility modes are 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_REQ packet.
Return values:
NRF_SUCCESSSet successfully.
NRF_ERROR_INVALID_STATEWhen connection creation is ongoing while mode 1 is set.

Definition at line 879 of file ble_gap.h.

Field Documentation

uint8_t mode_1_enable

Enable compatibility mode 1.

Definition at line 881 of file ble_gap.h.