S112 SoftDevice v5.1.0
Data Fields
ble_gap_opt_slave_latency_disable_t Struct Reference

Disable slave latency. More...

#include <ble_gap.h>

Data Fields

uint16_t conn_handle
uint8_t disable: 1

Detailed Description

Disable slave latency.

Used with sd_ble_opt_set to temporarily disable slave latency of a peripheral connection (see ble_gap_conn_params_t::slave_latency). And to re-enable it again. When disabled, the peripheral will ignore the slave_latency set by the central.

Shall only be called on peripheral links.
Return values
NRF_SUCCESSSet successfully.
NRF_ERROR_NOT_SUPPORTEDGet is not supported.
BLE_ERROR_INVALID_CONN_HANDLEInvalid connection handle parameter.

Field Documentation

uint16_t ble_gap_opt_slave_latency_disable_t::conn_handle

Connection Handle

uint8_t ble_gap_opt_slave_latency_disable_t::disable

Set to 1 to disable slave latency. Set to 0 enable it again.

Documentation feedback | Developer Zone | Subscribe | Updated