GATT Attribute Security Requirement FlagsGATT Database#

Macros#


#define | SL_BT_GATTDB_ENCRYPTED_READ 0x1

#define | SL_BT_GATTDB_BONDED_READ 0x2

#define | SL_BT_GATTDB_AUTHENTICATED_READ 0x4

#define | SL_BT_GATTDB_ENCRYPTED_WRITE 0x8

#define | SL_BT_GATTDB_BONDED_WRITE 0x10

#define | SL_BT_GATTDB_AUTHENTICATED_WRITE 0x20

#define | SL_BT_GATTDB_ENCRYPTED_NOTIFY 0x40

#define | SL_BT_GATTDB_BONDED_NOTIFY 0x80

#define | SL_BT_GATTDB_AUTHENTICATED_NOTIFY 0x100

Detailed Description#

This enum defines the security requirement flags for GATT characteristic value properties.

Macro Definition Documentation#

◆ SL_BT_GATTDB_ENCRYPTED_READ#

#define SL_BT_GATTDB_ENCRYPTED_READ 0x1#

The read property requires pairing and encrypted connection.

◆ SL_BT_GATTDB_BONDED_READ#

#define SL_BT_GATTDB_BONDED_READ 0x2#

The read property requires bonding and encrypted connection.

◆ SL_BT_GATTDB_AUTHENTICATED_READ#

#define SL_BT_GATTDB_AUTHENTICATED_READ 0x4#

The read property requires authenticated pairing and encrypted connection.

◆ SL_BT_GATTDB_ENCRYPTED_WRITE#

#define SL_BT_GATTDB_ENCRYPTED_WRITE 0x8#

The write property requires pairing and encrypted connection.

◆ SL_BT_GATTDB_BONDED_WRITE#

#define SL_BT_GATTDB_BONDED_WRITE 0x10#

The write property requires bonding and encrypted connection.

◆ SL_BT_GATTDB_AUTHENTICATED_WRITE#

#define SL_BT_GATTDB_AUTHENTICATED_WRITE 0x20#

The write property requires authenticated pairing and encrypted connection.

◆ SL_BT_GATTDB_ENCRYPTED_NOTIFY#

#define SL_BT_GATTDB_ENCRYPTED_NOTIFY 0x40#

The notification and indication properties require pairing and encrypted connection.

◆ SL_BT_GATTDB_BONDED_NOTIFY#

#define SL_BT_GATTDB_BONDED_NOTIFY 0x80#

The notification and indication properties require bonding and encrypted connection.

◆ SL_BT_GATTDB_AUTHENTICATED_NOTIFY#

#define SL_BT_GATTDB_AUTHENTICATED_NOTIFY 0x100#

The notification and indication properties require authenticated pairing and encrypted connection.