NimBLE-Arduino 2.1.2
Loading...
Searching...
No Matches
ble_gap_sec_state Struct Reference

#include <ble_gap.h>

Public Attributes

unsigned encrypted:1
 
unsigned authenticated:1
 
unsigned bonded:1
 
unsigned key_size:5
 
unsigned authorize:1
 

Detailed Description

Connection security state

Member Data Documentation

◆ authenticated

unsigned ble_gap_sec_state::authenticated

If connection is authenticated

◆ authorize

unsigned ble_gap_sec_state::authorize

Current device security state

◆ bonded

unsigned ble_gap_sec_state::bonded

If connection is bonded (security information is stored)

◆ encrypted

unsigned ble_gap_sec_state::encrypted

If connection is encrypted

◆ key_size

unsigned ble_gap_sec_state::key_size

Size of a key used for encryption