ble_gattc_write() function
Initiates GATT procedure: Write Characteristic Value. This function consumes the supplied mbuf regardless of the outcome.
Arguments
conn_handle
The connection over which to execute the procedure.
attr_handle
The handle of the characteristic value to write to.
om
The value to write to the characteristic.
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() is referenced by 1 libraries and example projects: