nRF51 SDK
 All Data Structures Functions Variables Typedefs Enumerations Enumerator Groups Pages

Write Parameters. More...

#include <ble_gattc.h>

Data Fields

uint8_t write_op
 
uint16_t handle
 
uint16_t offset
 
uint16_t len
 
uint8_t * p_value
 
uint8_t flags
 

Detailed Description

Write Parameters.

Field Documentation

uint8_t ble_gattc_write_params_t::flags

Flags, see BLE_GATT_EXEC_WRITE_FLAGS.

uint16_t ble_gattc_write_params_t::handle

Handle to the attribute to be written.

uint16_t ble_gattc_write_params_t::len

Length of data in bytes.

uint16_t ble_gattc_write_params_t::offset

Offset in bytes.

Offset in bytes.

Note
For WRITE_CMD and WRITE_REQ, offset must be 0.
uint8_t * ble_gattc_write_params_t::p_value

Pointer to the value data.

uint8_t ble_gattc_write_params_t::write_op

Write Operation to be performed, see BLE_GATT_WRITE_OPS.

Write Operation to be performed, see BLE_GATT_WRITE_OPS.