Mbed OS Reference
Loading...
Searching...
No Matches
Gap::PreferredConnectionParams_t Struct Reference

Preferred connection parameter display in Generic Access Service. More...

#include <Gap.h>

Data Fields

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

Detailed Description

Preferred connection parameter display in Generic Access Service.

Definition at line 577 of file Gap.h.

Field Documentation

◆ minConnectionInterval

uint16_t minConnectionInterval

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 585 of file Gap.h.

◆ maxConnectionInterval

uint16_t maxConnectionInterval

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 594 of file Gap.h.

◆ slaveLatency

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 602 of file Gap.h.

◆ connectionSupervisionTimeout

uint16_t connectionSupervisionTimeout

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 618 of file Gap.h.