Function esp_idf_svc::hal::sys::esp_ble_gatts_set_attr_value
source ยท pub unsafe extern "C" fn esp_ble_gatts_set_attr_value(
attr_handle: u16,
length: u16,
value: *const u8,
) -> i32
Expand description
@brief This function is called to set the attribute value by the application
@param[in] attr_handle: the attribute handle which to be set @param[in] length: the value length @param[in] value: the pointer to the attribute value
@return - ESP_OK : success - other : failed