Function esp_idf_svc::sys::esp_ble_gattc_prepare_write
source ยท pub unsafe extern "C" fn esp_ble_gattc_prepare_write(
gattc_if: u8,
conn_id: u16,
handle: u16,
offset: u16,
value_len: u16,
value: *mut u8,
auth_req: u32,
) -> i32
Expand description
@brief This function is called to prepare write a characteristic value.
@param[in] gattc_if: Gatt client access interface. @param[in] conn_id : connection ID. @param[in] handle : characteristic handle to prepare write. @param[in] offset : offset of the write value. @param[in] value_len: length of the value to be written. @param[in] value : the value to be written. @param[in] auth_req : authentication request.
@return - ESP_OK: success - other: failed