ble_gattc_write_flat
int
ble_gattc_write_flat(
uint16_t conn_handle,
uint16_t attr_handle,
const void *data,
uint16_t data_len,
ble_gatt_attr_fn *cb,
void *cb_arg
)
Description
Initiates GATT procedure: Write Characteristic Value (flat buffer version).
Parameters
Parameter | Description |
---|
conn_handle | The connection over which to execute the procedure. |
attr_handle | The handle of the characteristic value to write to. |
value | The value to write to the characteristic. |
value_len | The number of bytes to write. |
cb | The function to call to report procedure status updates; null for no callback. |
cb_arg | The optional argument to pass to the callback function. |
Returned values