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.
ble_add_descr_params_t Struct Reference
[Common service definitions]
Add descriptor parameters structure. More...
#include <ble_srv_common.h>
Data Fields | |
| uint16_t | uuid |
| descriptor UUID (16 bits UUIDs). | |
| uint8_t | uuid_type |
| Base UUID. | |
| bool | is_defered_read |
| Indicate if deferred read operations are supported. | |
| bool | is_defered_write |
| Indicate if deferred write operations are supported. | |
| bool | is_var_len |
| Indicates if the descriptor value has variable length. | |
| security_req_t | read_access |
| Security requirement for reading the descriptor value. | |
| security_req_t | write_access |
| Security requirement for writing the descriptor value. | |
| bool | is_value_user |
| Indicate if the content of the characteristic is to be stored in the application (user) or in the stack. | |
| uint16_t | init_len |
| Initial descriptor value length in bytes. | |
| uint16_t | init_offs |
| Initial descriptor value offset in bytes. | |
| uint16_t | max_len |
| Maximum descriptor value length in bytes, see Maximum attribute lengths for maximum values. | |
| uint8_t * | p_value |
| Pointer to the value of the descriptor. | |
Detailed Description
Add descriptor parameters structure.
This structure contains the parameters needed to use the descriptor_add function.
Definition at line 320 of file ble_srv_common.h.
Field Documentation
| uint16_t init_len |
Initial descriptor value length in bytes.
Definition at line 330 of file ble_srv_common.h.
| uint16_t init_offs |
Initial descriptor value offset in bytes.
If different from zero, the first init_offs bytes of the attribute value will be left uninitialized.
Definition at line 331 of file ble_srv_common.h.
| bool is_defered_read |
Indicate if deferred read operations are supported.
Definition at line 324 of file ble_srv_common.h.
| bool is_defered_write |
Indicate if deferred write operations are supported.
Definition at line 325 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 329 of file ble_srv_common.h.
| bool is_var_len |
Indicates if the descriptor value has variable length.
Definition at line 326 of file ble_srv_common.h.
| uint16_t max_len |
Maximum descriptor value length in bytes, see Maximum attribute lengths for maximum values.
Definition at line 332 of file ble_srv_common.h.
| uint8_t* p_value |
Pointer to the value of the descriptor.
Definition at line 333 of file ble_srv_common.h.
Security requirement for reading the descriptor value.
Definition at line 327 of file ble_srv_common.h.
| uint16_t uuid |
descriptor UUID (16 bits UUIDs).
Definition at line 322 of file ble_srv_common.h.
| uint8_t uuid_type |
Base UUID.
If 0, the Bluetooth SIG UUID will be used. Otherwise, this should be a value returned by sd_ble_uuid_vs_add when adding the base UUID.
Definition at line 323 of file ble_srv_common.h.
Security requirement for writing the descriptor value.
Definition at line 328 of file ble_srv_common.h.
Generated on Tue Jul 12 2022 15:06:01 by
1.7.2