riot_sys::bindgen

Function ble_gattc_write_no_rsp_flat

Source
pub unsafe extern "C" fn ble_gattc_write_no_rsp_flat(
    conn_handle: u16,
    attr_handle: u16,
    data: *const c_void,
    data_len: u16,
) -> c_int
Expand description

Initiates GATT procedure: Write Without Response. 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 value The value to write to the characteristic. @param value_len The number of bytes to write.

@return 0 on success; nonzero on failure.