Function esp_idf_svc::hal::sys::esp_ble_gattc_write_char
source ยท pub unsafe extern "C" fn esp_ble_gattc_write_char(
gattc_if: u8,
conn_id: u16,
handle: u16,
value_len: u16,
value: *mut u8,
write_type: u32,
auth_req: u32,
) -> i32
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