Function esp_idf_sys::esp_ble_gattc_prepare_write
source ยท pub unsafe extern "C" fn esp_ble_gattc_prepare_write(
gattc_if: esp_gatt_if_t,
conn_id: u16,
handle: u16,
offset: u16,
value_len: u16,
value: *mut u8,
auth_req: esp_gatt_auth_req_t,
) -> esp_err_t
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