ble_add_char_params_t

nRF5 SDK v9.0.0

nRF51 SDK v9.0.0

Add characteristic parameters structure. More...

#include <ble_srv_common.h>

Detailed Description

Add characteristic parameters structure.

This structure contains the parameters needed to use the characteristic_add function.

Field Documentation

security_req_t ble_add_char_params_t::cccd_write_access

Security requirement for writing the characteristic's CCCD.

ble_gatt_char_props_t ble_add_char_params_t::char_props

Characteristic properties.

uint16_t ble_add_char_params_t::init_len

Initial length of the characteristic value.

bool ble_add_char_params_t::is_defered_read

Indicate if deferred read operations are supported.

bool ble_add_char_params_t::is_defered_write

Indicate if deferred write operations are supported.

bool ble_add_char_params_t::is_value_local

Indicate if the content of the characteristic is to be stored locally or in the stack.

bool ble_add_char_params_t::is_var_len

Indicates if the characteristic value has variable length.

uint16_t ble_add_char_params_t::max_len

Maximum length of the characteristic value.

uint8_t* ble_add_char_params_t::p_init_value

Initial encoded value of the characteristic.

security_req_t ble_add_char_params_t::read_access

Security requirement for reading the characteristic value.

uint16_t ble_add_char_params_t::uuid

Characteristic UUID (16 bits UUIDs).

uint8_t ble_add_char_params_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.

security_req_t ble_add_char_params_t::write_access

Security requirement for writing the characteristic value.


Please send us your feedback about the documentation! For technical questions, visit the Nordic Developer Zone .