dragoon  4383
 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
 
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.

Definition at line 343 of file ble_gatts.h.

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.

Definition at line 348 of file ble_gatts.h.

uint8_t ble_gatts_evt_write_t::data[1]

Received data.

Note
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.

Definition at line 351 of file ble_gatts.h.

uint16_t ble_gatts_evt_write_t::handle

Attribute Handle.

Definition at line 345 of file ble_gatts.h.

uint16_t ble_gatts_evt_write_t::len

Length of the received data.

Definition at line 350 of file ble_gatts.h.

uint16_t ble_gatts_evt_write_t::offset

Offset for the write operation.

Definition at line 349 of file ble_gatts.h.

uint8_t ble_gatts_evt_write_t::op

Type of write operation, see GATT Server Operations.

Definition at line 347 of file ble_gatts.h.

ble_uuid_t ble_gatts_evt_write_t::uuid

Attribute UUID.

Definition at line 346 of file ble_gatts.h.


The documentation for this struct was generated from the following file: