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

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[1]

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 GATT Server Operations.