ble_gap_opt_slave_latency_disable_t

S140 SoftDevice v6.1.1 API

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.

Note
Shall only be called on peripheral links.
Return values
NRF_SUCCESS Set successfully.
NRF_ERROR_NOT_SUPPORTED Get is not supported.
BLE_ERROR_INVALID_CONN_HANDLE Invalid 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.