Characteristic User Descriptor parameters. More...
#include <ble_srv_common.h>
Data Fields | |
uint16_t | max_size |
uint16_t | size |
uint8_t * | p_char_user_desc |
bool | is_var_len |
ble_gatt_char_props_t | char_props |
bool | is_defered_read |
bool | is_defered_write |
security_req_t | read_access |
security_req_t | write_access |
bool | is_value_user |
Characteristic User Descriptor parameters.
This structure contains the parameters for User Descriptor.
ble_gatt_char_props_t ble_add_char_user_desc_t::char_props |
user descriptor properties.
bool ble_add_char_user_desc_t::is_defered_read |
Indicate if deferred read operations are supported.
bool ble_add_char_user_desc_t::is_defered_write |
Indicate if deferred write operations are supported.
bool ble_add_char_user_desc_t::is_value_user |
Indicate if the content of the characteristic is to be stored in the application (user) or in the stack.
bool ble_add_char_user_desc_t::is_var_len |
Indicates if the user descriptor has variable length.
uint16_t ble_add_char_user_desc_t::max_size |
Maximum size of the user descriptor
uint8_t* ble_add_char_user_desc_t::p_char_user_desc |
User descriptor content, pointer to a UTF-8 encoded string (non-NULL terminated)
security_req_t ble_add_char_user_desc_t::read_access |
Security requirement for reading the user descriptor.
uint16_t ble_add_char_user_desc_t::size |
Size of the user descriptor
security_req_t ble_add_char_user_desc_t::write_access |
Security requirement for writing the user descriptor.