Function esp_idf_svc::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: u8,
max_nb_attr: u16,
srvc_inst_id: u8,
) -> i32
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