from bbc microbit library

Fork of nrf51-sdk by Lancaster University

Embed: (wiki syntax)

« Back to documentation index

ble_gatts_char_md_t Struct Reference

ble_gatts_char_md_t Struct Reference
[Structures]

GATT Characteristic metadata. More...

#include <ble_gatts.h>

Data Fields

ble_gatt_char_props_t char_props
 Characteristic Properties.
ble_gatt_char_ext_props_t char_ext_props
 Characteristic Extended Properties.
uint8_t * p_char_user_desc
 Pointer to a UTF-8 encoded string (non-NULL terminated), NULL if the descriptor is not required.
uint16_t char_user_desc_max_size
 The maximum size in bytes of the user description descriptor.
uint16_t char_user_desc_size
 The size of the user description, must be smaller or equal to char_user_desc_max_size.
ble_gatts_char_pf_tp_char_pf
 Pointer to a presentation format structure or NULL if the CPF descriptor is not required.
ble_gatts_attr_md_tp_user_desc_md
 Attribute metadata for the User Description descriptor, or NULL for default values.
ble_gatts_attr_md_tp_cccd_md
 Attribute metadata for the Client Characteristic Configuration Descriptor, or NULL for default values.
ble_gatts_attr_md_tp_sccd_md
 Attribute metadata for the Server Characteristic Configuration Descriptor, or NULL for default values.

Detailed Description

GATT Characteristic metadata.

Definition at line 233 of file ble_gatts.h.


Field Documentation

Characteristic Extended Properties.

Definition at line 236 of file ble_gatts.h.

Characteristic Properties.

Definition at line 235 of file ble_gatts.h.

The maximum size in bytes of the user description descriptor.

Definition at line 238 of file ble_gatts.h.

The size of the user description, must be smaller or equal to char_user_desc_max_size.

Definition at line 239 of file ble_gatts.h.

Attribute metadata for the Client Characteristic Configuration Descriptor, or NULL for default values.

Definition at line 242 of file ble_gatts.h.

Pointer to a presentation format structure or NULL if the CPF descriptor is not required.

Definition at line 240 of file ble_gatts.h.

uint8_t* p_char_user_desc

Pointer to a UTF-8 encoded string (non-NULL terminated), NULL if the descriptor is not required.

Definition at line 237 of file ble_gatts.h.

Attribute metadata for the Server Characteristic Configuration Descriptor, or NULL for default values.

Definition at line 243 of file ble_gatts.h.

Attribute metadata for the User Description descriptor, or NULL for default values.

Definition at line 241 of file ble_gatts.h.