Function esp_idf_sys::esp_ble_gattc_write_char
source ยท pub unsafe extern "C" fn esp_ble_gattc_write_char(
gattc_if: esp_gatt_if_t,
conn_id: u16,
handle: u16,
value_len: u16,
value: *mut u8,
write_type: esp_gatt_write_type_t,
auth_req: esp_gatt_auth_req_t,
) -> esp_err_t
Expand description
@brief This function is called to write characteristic value.
@param[in] gattc_if: Gatt client access interface. @param[in] conn_id : connection ID. @param[in] handle : characteristic handle to write. @param[in] value_len: length of the value to be written. @param[in] value : the value to be written. @param[in] write_type : the type of attribute write operation. @param[in] auth_req : authentication request.
@return - ESP_OK: success - other: failed