@@ -326,7 +326,7 @@ esp_err_t esp_ble_gatts_app_unregister(esp_gatt_if_t gatts_if);
326
326
327
327
/**
328
328
* @brief Create a service. When service creation is done, a callback
329
- * event BTA_GATTS_CREATE_SRVC_EVT is called to report status
329
+ * event ESP_GATTS_CREATE_EVT is called to report status
330
330
* and service ID to the profile. The service ID obtained in
331
331
* the callback function needs to be used when adding included
332
332
* service and characteristics/descriptors into the service.
@@ -363,7 +363,7 @@ esp_err_t esp_ble_gatts_create_attr_tab(const esp_gatts_attr_db_t *gatts_attr_db
363
363
/**
364
364
* @brief This function is called to add an included service. This function have to be called between
365
365
* 'esp_ble_gatts_create_service' and 'esp_ble_gatts_add_char'. After included
366
- * service is included, a callback event BTA_GATTS_ADD_INCL_SRVC_EVT
366
+ * service is included, a callback event ESP_GATTS_ADD_INCL_SRVC_EVT
367
367
* is reported the included service ID.
368
368
*
369
369
* @param[in] service_handle: service handle to which this included service is to
@@ -402,7 +402,7 @@ esp_err_t esp_ble_gatts_add_char(uint16_t service_handle, esp_bt_uuid_t *char_
402
402
403
403
/**
404
404
* @brief This function is called to add characteristic descriptor. When
405
- * it's done, a callback event BTA_GATTS_ADD_DESCR_EVT is called
405
+ * it's done, a callback event ESP_GATTS_ADD_DESCR_EVT is called
406
406
* to report the status and an ID number for this descriptor.
407
407
*
408
408
* @param[in] service_handle: service handle to which this characteristic descriptor is to
@@ -425,7 +425,7 @@ esp_err_t esp_ble_gatts_add_char_descr (uint16_t service_handle,
425
425
426
426
/**
427
427
* @brief This function is called to delete a service. When this is done,
428
- * a callback event BTA_GATTS_DELETE_EVT is report with the status.
428
+ * a callback event ESP_GATTS_DELETE_EVT is report with the status.
429
429
*
430
430
* @param[in] service_handle: service_handle to be deleted.
431
431
*
0 commit comments