nRF51 SDK - S130 SoftDevice
 All Data Structures Functions Variables Typedefs Enumerations Enumerator Groups Pages
ble_gatts_value_t Struct Reference

GATT Attribute Value. More...

#include <ble_gatts.h>

Data Fields

uint16_t len
 
uint16_t offset
 
uint8_t * p_value
 

Detailed Description

GATT Attribute Value.

Field Documentation

uint16_t ble_gatts_value_t::len

Length in bytes to be written or read. Length in bytes written or read after successful return.

uint16_t ble_gatts_value_t::offset

Attribute value offset.

uint8_t* ble_gatts_value_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