S112 SoftDevice v5.1.0
Data Fields
ble_gatts_evt_write_t Struct Reference

Event structure for BLE_GATTS_EVT_WRITE. More...

#include <ble_gatts.h>

Data Fields

uint16_t handle
ble_uuid_t uuid
uint8_t op
uint8_t auth_required
uint16_t offset
uint16_t len
uint8_t data [1]

Detailed Description

Event structure for BLE_GATTS_EVT_WRITE.

Field Documentation

uint8_t ble_gatts_evt_write_t::auth_required

Writing operation deferred due to authorization requirement. Application may use sd_ble_gatts_value_set to finalize the writing operation.

uint8_t ble_gatts_evt_write_t::data[1]
         Received [email protected] This is a variable length array. The size of 1 indicated is only a placeholder for compilation.

See sd_ble_evt_get for more information on how to use event structures with variable length array members.

uint16_t ble_gatts_evt_write_t::handle

Attribute Handle.

uint16_t ble_gatts_evt_write_t::len

Length of the received 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.

ble_uuid_t ble_gatts_evt_write_t::uuid

Attribute UUID.

Documentation feedback | Developer Zone | Subscribe | Updated