Rtos API example

Embed: (wiki syntax)

« Back to documentation index

Gap::ConnectionParams_t Struct Reference

Gap::ConnectionParams_t Struct Reference

Parameters of a BLE connection. More...

#include <Gap.h>

Data Fields

uint16_t minConnectionInterval
 Minimum interval between two connection events allowed for a connection.
uint16_t maxConnectionInterval
 Maximum interval between two connection events allowed for a connection.
uint16_t slaveLatency
 Number of connection events the slave can drop if it has nothing to communicate to the master.
uint16_t connectionSupervisionTimeout
 Link supervision timeout for the connection.

Detailed Description

Parameters of a BLE connection.

Definition at line 502 of file Gap.h.


Field Documentation

Link supervision timeout for the connection.

Time after which the connection is considered lost if the device didn't receive a packet from its peer.

It is larger than: (1 + slaveLatency) * maxConnectionInterval * 2

This value is in the range [0x000A : 0x0C80] and is in unit of 10 ms.

Note:
maxConnectionInterval is in ms in the formulae above.

Definition at line 543 of file Gap.h.

Maximum interval between two connection events allowed for a connection.

It shall be greater than or equal to minConnectionInterval. This value is in unit of 1.25ms and is in the range [0x0006 : 0x0C80].

Definition at line 519 of file Gap.h.

Minimum interval between two connection events allowed for a connection.

It shall be less than or equal to maxConnectionInterval. This value, in units of 1.25ms, is included in the range [0x0006 : 0x0C80].

Definition at line 510 of file Gap.h.

uint16_t slaveLatency

Number of connection events the slave can drop if it has nothing to communicate to the master.

This value shall be in the range [0x0000 : 0x01F3].

Definition at line 527 of file Gap.h.