GATT Attribute Security Requirement Flags#
This enum defines the security requirement flags for GATT characteristic value properties.
Macros#
The read property requires pairing and encrypted connection.
The read property requires bonding and encrypted connection.
The read property requires authenticated pairing and encrypted connection.
The write property requires pairing and encrypted connection.
The write property requires bonding and encrypted connection.
The write property requires authenticated pairing and encrypted connection.
The notification and indication properties require pairing and encrypted connection.
The notification and indication properties require bonding and encrypted connection.
The notification and indication properties require authenticated pairing and encrypted connection.
Macro Definition Documentation#
SL_BT_GATTDB_ENCRYPTED_READ#
#define SL_BT_GATTDB_ENCRYPTED_READValue:
0x1
The read property requires pairing and encrypted connection.
SL_BT_GATTDB_BONDED_READ#
#define SL_BT_GATTDB_BONDED_READValue:
0x2
The read property requires bonding and encrypted connection.
SL_BT_GATTDB_AUTHENTICATED_READ#
#define SL_BT_GATTDB_AUTHENTICATED_READValue:
0x4
The read property requires authenticated pairing and encrypted connection.
SL_BT_GATTDB_ENCRYPTED_WRITE#
#define SL_BT_GATTDB_ENCRYPTED_WRITEValue:
0x8
The write property requires pairing and encrypted connection.
SL_BT_GATTDB_BONDED_WRITE#
#define SL_BT_GATTDB_BONDED_WRITEValue:
0x10
The write property requires bonding and encrypted connection.
SL_BT_GATTDB_AUTHENTICATED_WRITE#
#define SL_BT_GATTDB_AUTHENTICATED_WRITEValue:
0x20
The write property requires authenticated pairing and encrypted connection.
SL_BT_GATTDB_ENCRYPTED_NOTIFY#
#define SL_BT_GATTDB_ENCRYPTED_NOTIFYValue:
0x40
The notification and indication properties require pairing and encrypted connection.
SL_BT_GATTDB_BONDED_NOTIFY#
#define SL_BT_GATTDB_BONDED_NOTIFYValue:
0x80
The notification and indication properties require bonding and encrypted connection.
SL_BT_GATTDB_AUTHENTICATED_NOTIFY#
#define SL_BT_GATTDB_AUTHENTICATED_NOTIFYValue:
0x100
The notification and indication properties require authenticated pairing and encrypted connection.