sl_bt_evt_connection_parametersConnection#

Triggered whenever the connection parameters are changed and at any time a connection is established.

Data Structures#

struct  

sl_bt_evt_connection_parameters_s

Data structure of the parameters event.

Macros#

define 

sl_bt_evt_connection_parameters_id   0x020600a0

Identifier of the parameters event.

Detailed Description#

Triggered whenever the connection parameters are changed and at any time a connection is established.


Data Structure Documentation#

sl_bt_evt_connection_parameters_s#

struct sl_bt_evt_connection_parameters_s

Data structure of the parameters event.

Data Fields

uint8_t

connection

Connection handle

uint16_t

interval

Connection interval. Time = Value x 1.25 ms

uint16_t

latency

Slave latency (how many connection intervals the slave can skip)

uint16_t

timeout

Supervision timeout. Time = Value x 10 ms

uint8_t

security_mode

Enum connection_security_t. Connection security mode. Values:

  • connection_mode1_level1 (0x0): No security

  • connection_mode1_level2 (0x1): Unauthenticated pairing with encryption

  • connection_mode1_level3 (0x2): Authenticated pairing with encryption

  • connection_mode1_level4 (0x3)

uint16_t

txsize

Maximum Data Channel PDU Payload size that the controller can send in an air packet