| S332 SoftDevice v2.0.0 |

Choose documentation: | nRF5 SDK | S130 SoftDevice API | S132 SoftDevice API | S212 SoftDevice API | S332 SoftDevice API

All Data Structures Functions Variables Typedefs Enumerations Enumerator Groups Pages
Data Fields
ble_gatts_evt_write_t Struct Reference
Structures

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 finalise the writing operation.

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.

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.