Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
ble_gap_conn_sec_mode_t Struct Reference
[Generic Access Profile (GAP)]
  GAP link requirements. More...
#include <ble_gap.h>
| Data Fields | |
| uint8_t | sm: 4 | 
| Security Mode (1 or 2), 0 for no permissions at all. | |
| uint8_t | lv: 4 | 
| Level (1, 2 or 3), 0 for no permissions at all. | |
Detailed Description
GAP link requirements.
See Bluetooth Core specification, Volume 3 Part C 10.2 for details.
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 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.
 
Definition at line 307 of file ble_gap.h.
Field Documentation
| uint8_t lv | 
Generated on Tue Jul 12 2022 15:07:15 by
 1.7.2
 1.7.2