Nordic stack and drivers for the mbed BLE API. Version to work around build bug.

Dependents:   microbit_rubber_ducky microbit_mouse_BLE microbit_mouse_BLE_daybreak_version microbit_presenter

Fork of nRF51822 by Nordic Semiconductor

Embed: (wiki syntax)

« Back to documentation index

ble_add_char_user_desc_t Struct Reference

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.

Indicate if deferred read operations are supported.

Definition at line 286 of file ble_srv_common.h.

Indicate if deferred write operations are supported.

Definition at line 287 of file ble_srv_common.h.

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.