1.2.2.1.2.1.4 Attribute settings

C

#define SETTING_MANUAL_WRITE_RSP                            0x01
#define SETTING_MANUAL_READ_RSP                             0x02
#define SETTING_UUID_16                                     0x04
#define SETTING_VARIABLE_LEN                                0x08
#define SETTING_ALLOW_OFFSET                                0x10
#define SETTING_CCCD                                        0x20

Description

The definition of attribute settings.

Macro Definition

MacroDescription
SETTING_MANUAL_WRITE_RSPSet if service need to know write operations on this attribute. Service also need to send response (if need) manually.
SETTING_MANUAL_READ_RSPSet if service need to know read operations on this attribute. Service also need to send response manually.
SETTING_UUID_16Set if the UUID is 16 bytes (128 bits) in length.
SETTING_VARIABLE_LENSet if the attribute has a variable length.
SETTING_ALLOW_OFFSETSet if writes are allowed with an offset.
SETTING_CCCDSet if the attribute is CCCD.