nRF51 SDK - S120 SoftDevice
 All Data Structures Functions Variables Typedefs Enumerations Enumerator Groups Pages
ble_gattc_write_params_t Struct Reference

Write Parameters. More...

#include <ble_gattc.h>

Data Fields

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

Detailed Description

Write Parameters.

Field Documentation

uint8_t ble_gattc_write_params_t::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.

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 GATT Write operations.