Collaboration diagram for Attribute and Service Access Rights:Macros | |
| #define | NOAUTH (0x00) |
| LE security mode 1, level 1. More... | |
| #define | UNAUTH (0x01) |
| LE security mode 1, level 2. More... | |
| #define | AUTH (0x02) |
| LE security mode 1, level 3. More... | |
| #define | SEC_CON (0x03) |
| LE security mode 1, level 4. More... | |
| #define AUTH (0x02) |
LE security mode 1, level 3.
Link needs to be encrypted and authenticated (MITM). Parameter of SRVC_PERM, READ_PERM, WRITE_REQ_PERM, WRITE_CMD_PERM, WRITE_SIGNED_PERM, INDICATE_PERM, NOTIFY_PERM.
Definition at line 101 of file ble_gatts.h.
| #define NOAUTH (0x00) |
LE security mode 1, level 1.
Link does not need to be encrypted or authenticated. Parameter of SRVC_PERM, READ_PERM, WRITE_REQ_PERM, WRITE_CMD_PERM, WRITE_SIGNED_PERM, INDICATE_PERM, NOTIFY_PERM.
Definition at line 97 of file ble_gatts.h.
| #define SEC_CON (0x03) |
LE security mode 1, level 4.
Link needs to be encrypted and authenticated (secure connections). Parameter of SRVC_PERM, READ_PERM, WRITE_REQ_PERM, WRITE_CMD_PERM, WRITE_SIGNED_PERM, INDICATE_PERM, NOTIFY_PERM.
Definition at line 103 of file ble_gatts.h.
| #define UNAUTH (0x01) |
LE security mode 1, level 2.
Link needs to be encrypted, but not to be authenticated. Parameter of SRVC_PERM, READ_PERM, WRITE_REQ_PERM, WRITE_CMD_PERM, WRITE_SIGNED_PERM, INDICATE_PERM, NOTIFY_PERM.
Definition at line 99 of file ble_gatts.h.