Macros | |
#define | BLE_GATTS_NOAUTH (0x00) |
#define | BLE_GATTS_UNAUTH (0x01) |
#define | BLE_GATTS_AUTH (0x02) |
#define | BLE_GATTS_SEC_CON (0x03) |
#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.
#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.
#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.
#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.