+ Collaboration diagram for Attribute and Service Access Rights:

Macros

#define BLE_GATTS_NOAUTH   (0x00)
 LE security mode 1, level 1. More...
 
#define BLE_GATTS_UNAUTH   (0x01)
 LE security mode 1, level 2. More...
 
#define BLE_GATTS_AUTH   (0x02)
 LE security mode 1, level 3. More...
 
#define BLE_GATTS_SEC_CON   (0x03)
 LE security mode 1, level 4. More...
 

Detailed Description

Macro Definition Documentation

◆ BLE_GATTS_AUTH

#define BLE_GATTS_AUTH   (0x02)

LE security mode 1, level 3.

Link needs to be encrypted and authenticated (MITM). Parameter of Service Permission, BLE_GATTS_READ_PERM, BLE_GATTS_WRITE_REQ_PERM, BLE_GATTS_WRITE_CMD_PERM, BLE_GATTS_WRITE_SIGNED_PERM, BLE_GATTS_INDICATE_PERM, BLE_GATTS_NOTIFY_PERM.

Definition at line 102 of file ble_gatts.h.

◆ BLE_GATTS_NOAUTH

#define BLE_GATTS_NOAUTH   (0x00)

LE security mode 1, level 1.

Link does not need to be encrypted or authenticated. Parameter of Service Permission, BLE_GATTS_READ_PERM, BLE_GATTS_WRITE_REQ_PERM, BLE_GATTS_WRITE_CMD_PERM, BLE_GATTS_WRITE_SIGNED_PERM, BLE_GATTS_INDICATE_PERM, BLE_GATTS_NOTIFY_PERM.

Definition at line 98 of file ble_gatts.h.

◆ BLE_GATTS_SEC_CON

#define BLE_GATTS_SEC_CON   (0x03)

LE security mode 1, level 4.

Link needs to be encrypted and authenticateBLE_GATTS_d (secure connections). Parameter of Service Permission, BLE_GATTS_READ_PERM, BLE_GATTS_WRITE_REQ_PERM, BLE_GATTS_WRITE_CMD_PERM, BLE_GATTS_WRITE_SIGNED_PERM, BLE_GATTS_INDICATE_PERM, BLE_GATTS_NOTIFY_PERM.

Definition at line 104 of file ble_gatts.h.

◆ BLE_GATTS_UNAUTH

#define BLE_GATTS_UNAUTH   (0x01)

LE security mode 1, level 2.

Link needs to be encrypted, but not to be authenticated. Parameter of Service Permission, BLE_GATTS_READ_PERM, BLE_GATTS_WRITE_REQ_PERM, BLE_GATTS_WRITE_CMD_PERM, BLE_GATTS_WRITE_SIGNED_PERM, BLE_GATTS_INDICATE_PERM, BLE_GATTS_NOTIFY_PERM.

Definition at line 100 of file ble_gatts.h.