ble_add_char_user_desc_t

nRF5 SDK v17.1.0

Characteristic User Descriptor parameters. More...

#include <ble_srv_common.h>

Detailed Description

Characteristic User Descriptor parameters.

This structure contains the parameters for User Descriptor.

Field Documentation

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.

  • components/ble/common/ble_srv_common.h