int ble_gattc_write_reliable( uint16_t conn_handle, struct ble_gatt_attr *attrs, int num_attrs, ble_gatt_reliable_attr_fn *cb, void *cb_arg )
Initiates GATT procedure: Reliable Writes. This function consumes the supplied mbufs regardless of the outcome.
Parameter | Description |
---|---|
conn_handle | The connection over which to execute the procedure. |
attrs | An array of attribute descriptors; specifies which characteristics to write to and what data to write to them. The mbuf pointer in each attribute is set to NULL by this function. |
num_attrs | The number of characteristics to write; equal to the number of elements in the ‘attrs’ array. |
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. |
None