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 |

Peripheral latency (how many connection intervals the peripheral can skip)

uint16_t | timeout |

Supervision timeout. Time = Value x 10 ms

uint8_t | security_mode |

Enum sl_bt_connection_security_t. Connection security mode. Values:

  • sl_bt_connection_mode1_level1 (0x0): No security

  • sl_bt_connection_mode1_level2 (0x1): Unauthenticated pairing with encryption

  • sl_bt_connection_mode1_level3 (0x2): Authenticated pairing with encryption

  • sl_bt_connection_mode1_level4 (0x3): Authenticated Secure Connections pairing with encryption using a 128-bit strength encryption key

uint16_t | txsize |

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