Service(16-bit UUID) description.
More...
#include <ble_gatts.h>
Service(16-bit UUID) description.
◆ ext_perm
uint16_t attm_desc_t::ext_perm |
Attribute extended permissions, see Attribute Extend Permission.
- For Primary/Secondary/Included Services, this field is not used and should be set to 0.
- For Characteristic Declaration, this field is not used and should be set to 0.
- For Characteristic Extended Properties, this field is not used and should be set to 0.
- For Client Characteristic Configuration and Server Characteristic Configuration, value must be saved in user space, user needn't to set this value location bit. The UUID length type must be set to 0.
◆ max_size
uint16_t attm_desc_t::max_size |
Attribute max size.
- For Primary/Secondary/Included Services, this field is not used, set to 0.
- For Characteristic Declaration, this field is not used, set to 0.
- For Characteristic Extended Properties, this field contains 2-byte value.
- For Client Characteristic Configuration and Server Characteristic Configuration, this field is not used, set to 0.
- For others, this field is attribute max size.
◆ perm
uint16_t attm_desc_t::perm |
◆ uuid
uint16_t attm_desc_t::uuid |
The documentation for this struct was generated from the following file: