S140 SoftDevice v6.1.1
Data Fields
ble_gap_conn_sec_mode_t Struct Reference

GAP connection security modes. More...

#include <ble_gap.h>

Data Fields

uint8_t sm: 4
 
uint8_t lv: 4
 

Detailed Description

GAP connection security modes.

Security Mode 0 Level 0: No access permissions at all (this level is not defined by the Bluetooth Core specification).
Security Mode 1 Level 1: No security is needed (aka open link).
Security Mode 1 Level 2: Encrypted link required, MITM protection not necessary.
Security Mode 1 Level 3: MITM protected encrypted link required.
Security Mode 1 Level 4: LESC MITM protected encrypted link using a 128-bit strength encryption key required.
Security Mode 2 Level 1: Signing or encryption required, MITM protection not necessary.
Security Mode 2 Level 2: MITM protected signing required, unless link is MITM protected encrypted.

Field Documentation

uint8_t ble_gap_conn_sec_mode_t::lv

Level (1, 2, 3 or 4), 0 for no permissions at all.

uint8_t ble_gap_conn_sec_mode_t::sm

Security Mode (1 or 2), 0 for no permissions at all.


Documentation feedback | Developer Zone | Subscribe | Updated