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
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.
uint16_t max_conn_interval |
Maximum Connection Interval in 1.25 ms units, see GAP Connection Parameters Limits.
uint16_t min_conn_interval |
Minimum 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.
Generated on Tue Jul 12 2022 19:00:14 by 1.7.2