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

Defines the attribute settings.

Macro Definition

MacroDescription
SETTING_MANUAL_WRITE_RSPSet if the service needs to be informed of write operations on this attribute. The service also needs to send a response manually if required.
SETTING_MANUAL_READ_RSPSet if the service needs to be informed of read operations on this attribute. The service also needs to send a 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 value.
SETTING_ALLOW_OFFSETSet if the attribute allows write operations with an offset.
SETTING_CCCDSet if the attribute is a Client Characteristic Configuration Descriptor (CCCD).