GATT Attribute Security Requirement Flags#

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

Macros#

#define

The read property requires pairing and encrypted connection.

#define

The read property requires bonding and encrypted connection.

#define

The read property requires authenticated pairing and encrypted connection.

#define

The write property requires pairing and encrypted connection.

#define

The write property requires bonding and encrypted connection.

#define

The write property requires authenticated pairing and encrypted connection.

#define

The notification and indication properties require pairing and encrypted connection.

#define

The notification and indication properties require bonding and encrypted connection.

#define

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

Macro Definition Documentation#

SL_BT_GATTDB_ENCRYPTED_READ#

#define SL_BT_GATTDB_ENCRYPTED_READ
Value:
0x1

The read property requires pairing and encrypted connection.


SL_BT_GATTDB_BONDED_READ#

#define SL_BT_GATTDB_BONDED_READ
Value:
0x2

The read property requires bonding and encrypted connection.


SL_BT_GATTDB_AUTHENTICATED_READ#

#define SL_BT_GATTDB_AUTHENTICATED_READ
Value:
0x4

The read property requires authenticated pairing and encrypted connection.


SL_BT_GATTDB_ENCRYPTED_WRITE#

#define SL_BT_GATTDB_ENCRYPTED_WRITE
Value:
0x8

The write property requires pairing and encrypted connection.


SL_BT_GATTDB_BONDED_WRITE#

#define SL_BT_GATTDB_BONDED_WRITE
Value:
0x10

The write property requires bonding and encrypted connection.


SL_BT_GATTDB_AUTHENTICATED_WRITE#

#define SL_BT_GATTDB_AUTHENTICATED_WRITE
Value:
0x20

The write property requires authenticated pairing and encrypted connection.


SL_BT_GATTDB_ENCRYPTED_NOTIFY#

#define SL_BT_GATTDB_ENCRYPTED_NOTIFY
Value:
0x40

The notification and indication properties require pairing and encrypted connection.


SL_BT_GATTDB_BONDED_NOTIFY#

#define SL_BT_GATTDB_BONDED_NOTIFY
Value:
0x80

The notification and indication properties require bonding and encrypted connection.


SL_BT_GATTDB_AUTHENTICATED_NOTIFY#

#define SL_BT_GATTDB_AUTHENTICATED_NOTIFY
Value:
0x100

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