nRF51 SDK: ble_gatts_evt_write_t Struct Reference

| nRF51 SDK

- Home
- Related Pages
- API Reference
- Data Structures

- Data Structures
- Data Structure Index
- Data Fields

All Data Structures Functions Variables Typedefs Enumerations Enumerator Groups Pages
Data Fields
ble_gatts_evt_write_t Struct Reference
Generic Attribute Profile (GATT) Server | Structures | Generic Attribute Profile (GATT) Server

Event structure for BLE_GATTS_EVT_WRITE. More...

`#include <ble_gatts.h>`

## Data Fields

uint16_t | handle
uint8_t | op
ble_gatts_attr_context_t | context
uint16_t | offset
uint16_t | len
uint8_t | data [1]

## Detailed Description

Event structure for BLE_GATTS_EVT_WRITE.

## Field Documentation

ble_gatts_attr_context_t ble_gatts_evt_write_t::context

Attribute Context.

uint8_t ble_gatts_evt_write_t::data

Incoming data, variable length.

uint16_t ble_gatts_evt_write_t::handle

Attribute Handle.

uint16_t ble_gatts_evt_write_t::len

Length of the incoming data.

uint16_t ble_gatts_evt_write_t::offset

Offset for the write operation.

uint8_t ble_gatts_evt_write_t::op

Type of write operation, see BLE_GATTS_OPS.