Function esp_idf_sys::ble_gattc_write_reliable
source · pub unsafe extern "C" fn ble_gattc_write_reliable(
conn_handle: u16,
attrs: *mut ble_gatt_attr,
num_attrs: c_int,
cb: ble_gatt_reliable_attr_fn,
cb_arg: *mut c_void,
) -> c_int
Expand description
Initiates GATT procedure: Reliable Writes. This function consumes the supplied mbufs regardless of the outcome.
@param conn_handle The connection over which to execute the procedure. @param 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. @param num_attrs The number of characteristics to write; equal to the number of elements in the ‘attrs’ array. @param cb The function to call to report procedure status updates; null for no callback. @param cb_arg The optional argument to pass to the callback function.