ble_gattc_write_flat() function
Initiates GATT procedure: Write Characteristic Value (flat buffer version).
Arguments
conn_handle
The connection over which to execute the procedure.
attr_handle
The handle of the characteristic value to write to.
data
The value to write to the characteristic.
data_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.
Return value
0 on success; nonzero on failure.
Examples
ble_gattc_write_flat() is referenced by 5 libraries and example projects: