R1 code for micro:bit based train controller code, requires second micro:bit running rx code to operate - see https://meanderingpi.wordpress.com/ for more information

Fork of nrf51-sdk by Lancaster University

Embed: (wiki syntax)

« Back to documentation index

ble_gatts_evt_write_t Struct Reference

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
 Attribute Handle.
uint8_t op
 Type of write operation, see GATT Server Operations.
ble_gatts_attr_context_t context
 Attribute Context.
uint16_t offset
 Offset for the write operation.
uint16_t len
 Length of the received data.
uint8_t data [1]
 Received data, variable length.

Detailed Description

Event structure for BLE_GATTS_EVT_WRITE.

Definition at line 296 of file ble_gatts.h.


Field Documentation

Attribute Context.

Definition at line 300 of file ble_gatts.h.

uint8_t data[1]

Received data, variable length.

Definition at line 303 of file ble_gatts.h.

uint16_t handle

Attribute Handle.

Definition at line 298 of file ble_gatts.h.

uint16_t len

Length of the received data.

Definition at line 302 of file ble_gatts.h.

uint16_t offset

Offset for the write operation.

Definition at line 301 of file ble_gatts.h.

uint8_t op

Type of write operation, see GATT Server Operations.

Definition at line 299 of file ble_gatts.h.