from bbc microbit library

Fork of nrf51-sdk by Lancaster University

Embed: (wiki syntax)

« Back to documentation index

ble_gattc_write_params_t Struct Reference

ble_gattc_write_params_t Struct Reference
[Structures]

Write Parameters. More...

#include <ble_gattc.h>

Data Fields

uint8_t write_op
 Write Operation to be performed, see GATT Write operations.
uint8_t flags
 Flags, see GATT Execute Write flags.
uint16_t handle
 Handle to the attribute to be written.
uint16_t offset
 Offset in bytes.
uint16_t len
 Length of data in bytes.
uint8_t * p_value
 Pointer to the value data.

Detailed Description

Write Parameters.

Definition at line 143 of file ble_gattc.h.


Field Documentation

uint8_t flags

Flags, see GATT Execute Write flags.

Definition at line 146 of file ble_gattc.h.

uint16_t handle

Handle to the attribute to be written.

Definition at line 147 of file ble_gattc.h.

uint16_t len

Length of data in bytes.

Definition at line 149 of file ble_gattc.h.

uint16_t offset

Offset in bytes.

Note:
For WRITE_CMD and WRITE_REQ, offset must be 0.

Definition at line 148 of file ble_gattc.h.

uint8_t* p_value

Pointer to the value data.

Definition at line 150 of file ble_gattc.h.

uint8_t write_op

Write Operation to be performed, see GATT Write operations.

Definition at line 145 of file ble_gattc.h.