Attribute settings
C
#define SETTING_MANUAL_WRITE_RSP (0x01U) #define SETTING_MANUAL_READ_RSP (0x02U) #define SETTING_UUID_16 (0x04U) #define SETTING_VARIABLE_LEN (0x08U) #define SETTING_ALLOW_OFFSET (0x10U) #define SETTING_CCCD (0x20U)
Description
Defines the attribute settings.
Macro Definition
Macro | Description |
---|---|
SETTING_MANUAL_WRITE_RSP | Set 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_RSP | Set if the service needs to be informed of read operations on this attribute. The service also needs to send a response manually. |
SETTING_UUID_16 | Set if the UUID is 16 bytes (128 bits) in length. |
SETTING_VARIABLE_LEN | Set if the attribute has a variable length value. |
SETTING_ALLOW_OFFSET | Set if the attribute allows write operations with an offset. |
SETTING_CCCD | Set if the attribute is a Client Characteristic Configuration Descriptor (CCCD). |