Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of nrf51-sdk by
ble_add_char_user_desc_t Struct Reference
[Common service definitions]
Characteristic User Descriptor parameters. More...
#include <ble_srv_common.h>
Data Fields | |
uint16_t | max_size |
Maximum size of the user descriptor. | |
uint16_t | size |
Size of the user descriptor. | |
uint8_t * | p_char_user_desc |
User descriptor content, pointer to a UTF-8 encoded string (non-NULL terminated) | |
bool | is_var_len |
Indicates if the user descriptor has variable length. | |
ble_gatt_char_props_t | char_props |
user descriptor properties. | |
bool | is_defered_read |
Indicate if deferred read operations are supported. | |
bool | is_defered_write |
Indicate if deferred write operations are supported. | |
security_req_t | read_access |
Security requirement for reading the user descriptor. | |
security_req_t | write_access |
Security requirement for writing the user descriptor. | |
bool | is_value_user |
Indicate if the content of the characteristic is to be stored in the application (user) or in the stack. |
Detailed Description
Characteristic User Descriptor parameters.
This structure contains the parameters for User Descriptor.
Definition at line 279 of file ble_srv_common.h.
Field Documentation
user descriptor properties.
Definition at line 285 of file ble_srv_common.h.
bool is_defered_read |
Indicate if deferred read operations are supported.
Definition at line 286 of file ble_srv_common.h.
bool is_defered_write |
Indicate if deferred write operations are supported.
Definition at line 287 of file ble_srv_common.h.
bool is_value_user |
Indicate if the content of the characteristic is to be stored in the application (user) or in the stack.
Definition at line 290 of file ble_srv_common.h.
bool is_var_len |
Indicates if the user descriptor has variable length.
Definition at line 284 of file ble_srv_common.h.
uint16_t max_size |
Maximum size of the user descriptor.
Definition at line 281 of file ble_srv_common.h.
uint8_t* p_char_user_desc |
User descriptor content, pointer to a UTF-8 encoded string (non-NULL terminated)
Definition at line 283 of file ble_srv_common.h.
Security requirement for reading the user descriptor.
Definition at line 288 of file ble_srv_common.h.
uint16_t size |
Size of the user descriptor.
Definition at line 282 of file ble_srv_common.h.
Security requirement for writing the user descriptor.
Definition at line 289 of file ble_srv_common.h.
Generated on Tue Jul 12 2022 17:52:46 by
