None

Dependents:   nRF51822

Fork of nrf51-sdk by Lancaster University

Embed: (wiki syntax)

« Back to documentation index

ble_gatts_value_t Struct Reference

ble_gatts_value_t Struct Reference
[Structures]

GATT Attribute Value. More...

#include <ble_gatts.h>

Data Fields

uint16_t len
 Length in bytes to be written or read.
uint16_t offset
 Attribute value offset.
uint8_t * p_value
 Pointer to where value is stored or will be stored.

Detailed Description

GATT Attribute Value.

Definition at line 199 of file ble_gatts.h.


Field Documentation

uint16_t len

Length in bytes to be written or read.

Length in bytes written or read after successful return.

Definition at line 201 of file ble_gatts.h.

uint16_t offset

Attribute value offset.

Definition at line 202 of file ble_gatts.h.

uint8_t* p_value

Pointer to where value is stored or will be stored.

If value is stored in user memory, only the attribute length is updated when p_value == NULL. Set to NULL when reading to obtain the complete length of the attribute value

Definition at line 203 of file ble_gatts.h.