Function esp_idf_sys::esp_ble_gatts_add_char

source ยท
pub unsafe extern "C" fn esp_ble_gatts_add_char(
    service_handle: u16,
    char_uuid: *mut esp_bt_uuid_t,
    perm: esp_gatt_perm_t,
    property: esp_gatt_char_prop_t,
    char_val: *mut esp_attr_value_t,
    control: *mut esp_attr_control_t,
) -> esp_err_t
Expand description

@brief This function is called to add a characteristic into a service.

@param[in] service_handle: service handle to which this included service is to be added. @param[in] char_uuid : Characteristic UUID. @param[in] perm : Characteristic value declaration attribute permission. @param[in] property : Characteristic Properties @param[in] char_val : Characteristic value @param[in] control : attribute response control byte

@return - ESP_OK : success - other : failed