Initial release

Fork of nrf51-sdk by Lancaster University

Embed: (wiki syntax)

« Back to documentation index

ble_gap_conn_params_t Struct Reference

ble_gap_conn_params_t Struct Reference
[Structures]

GAP connection parameters. More...

#include <ble_gap.h>

Data Fields

uint16_t min_conn_interval
 Minimum Connection Interval in 1.25 ms units, see GAP Connection Parameters Limits.
uint16_t max_conn_interval
 Maximum Connection Interval in 1.25 ms units, see GAP Connection Parameters Limits.
uint16_t slave_latency
 Slave Latency in number of connection events, see GAP Connection Parameters Limits.
uint16_t conn_sup_timeout
 Connection Supervision Timeout in 10 ms units, see GAP Connection Parameters Limits.

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.

Definition at line 413 of file ble_gap.h.


Field Documentation

uint16_t conn_sup_timeout

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

Definition at line 418 of file ble_gap.h.

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

Definition at line 416 of file ble_gap.h.

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

Definition at line 415 of file ble_gap.h.

uint16_t slave_latency

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

Definition at line 417 of file ble_gap.h.