BLE temperature profile using digital DS1820 or analog LM35 sensors

Dependencies:   DS1820

Embed: (wiki syntax)

« Back to documentation index

ble_gatts_evt_write_t Struct Reference

ble_gatts_evt_write_t Struct Reference
[Generic Attribute Profile (GATT) Server]

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 incoming data.
uint8_t data [1]
 Incoming data, variable length.

Detailed Description

Event structure for BLE_GATTS_EVT_WRITE.

Definition at line 239 of file ble_gatts.h.


Field Documentation

Attribute Context.

Definition at line 243 of file ble_gatts.h.

uint8_t data[1]

Incoming data, variable length.

Definition at line 246 of file ble_gatts.h.

uint16_t handle

Attribute Handle.

Definition at line 241 of file ble_gatts.h.

uint16_t len

Length of the incoming data.

Definition at line 245 of file ble_gatts.h.

uint16_t offset

Offset for the write operation.

Definition at line 244 of file ble_gatts.h.

uint8_t op

Type of write operation, see GATT Server Operations.

Definition at line 242 of file ble_gatts.h.