nRF51 SDK
 All Data Structures Functions Variables Typedefs Enumerations Enumerator Groups Pages

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.