Function esp_idf_sys::esp_ble_gatts_create_attr_tab

source ยท
pub unsafe extern "C" fn esp_ble_gatts_create_attr_tab(
    gatts_attr_db: *const esp_gatts_attr_db_t,
    gatts_if: esp_gatt_if_t,
    max_nb_attr: u16,
    srvc_inst_id: u8,
) -> esp_err_t
Expand description

@brief Create a service attribute tab. @param[in] gatts_attr_db: the pointer to the service attr tab @param[in] gatts_if: GATT server access interface @param[in] max_nb_attr: the number of attribute to be added to the service database. @param[in] srvc_inst_id: the instance id of the service

@return - ESP_OK : success - other : failed