nRF51 SDK - S130 SoftDevice
 All Data Structures Functions Variables Typedefs Enumerations Enumerator Groups Pages
ble_gap_conn_params_t Struct Reference

GAP connection parameters. More...

#include <ble_gap.h>

Data Fields

uint16_t min_conn_interval
 
uint16_t max_conn_interval
 
uint16_t slave_latency
 
uint16_t conn_sup_timeout
 

Detailed Description

GAP connection parameters.

Note
When ble_conn_params_t is received in an event, both min_conn_interval and max_conn_interval will be equal to the connection interval set by the central.
If both conn_sup_timeout and max_conn_interval are specified, then the following constraint applies: conn_sup_timeout * 4 > (1 + slave_latency) * max_conn_interval that corresponds to the following Bluetooth Spec requirement: The Supervision_Timeout in milliseconds shall be larger than (1 + Conn_Latency) * Conn_Interval_Max * 2, where Conn_Interval_Max is given in milliseconds.

Field Documentation

uint16_t ble_gap_conn_params_t::conn_sup_timeout

Connection Supervision Timeout in 10 ms units, see GAP Connection Parameters Limits.

uint16_t ble_gap_conn_params_t::max_conn_interval

Maximum Connection Interval in 1.25 ms units, see GAP Connection Parameters Limits.

uint16_t ble_gap_conn_params_t::min_conn_interval

Minimum Connection Interval in 1.25 ms units, see GAP Connection Parameters Limits.

uint16_t ble_gap_conn_params_t::slave_latency

Slave Latency in number of connection events, see GAP Connection Parameters Limits.