Function esp_idf_sys::ble_gattc_write_long

source ยท
pub unsafe extern "C" fn ble_gattc_write_long(
    conn_handle: u16,
    attr_handle: u16,
    offset: u16,
    om: *mut os_mbuf,
    cb: ble_gatt_attr_fn,
    cb_arg: *mut c_void,
) -> c_int
Expand description

Initiates GATT procedure: Write Long Characteristic Values. This function consumes the supplied mbuf regardless of the outcome.

@param conn_handle The connection over which to execute the procedure. @param attr_handle The handle of the characteristic value to write to. @param txom The value to write to the characteristic. @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.

@return 0 on success; nonzero on failure.