| S132 SoftDevice v3.0.0 |

Choose documentation: | nRF5 SDK | S130 SoftDevice API | S132 SoftDevice API | S212 SoftDevice API | S332 SoftDevice API

All Data Structures Functions Variables Typedefs Enumerations Enumerator Groups Pages
Data Fields
ble_gatts_value_t Struct Reference
Structures

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