Skip to content

Commit 583f6e5

Browse files
committed
Merge branch 'docs/fix_event_typo' into 'master'
docs/fix event typo Closes IDFGH-3488 See merge request espressif/esp-idf!9376
2 parents 92d4bb6 + 02f3d39 commit 583f6e5

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

components/bt/host/bluedroid/api/include/api/esp_gatts_api.h

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -326,7 +326,7 @@ esp_err_t esp_ble_gatts_app_unregister(esp_gatt_if_t gatts_if);
326326

327327
/**
328328
* @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
330330
* and service ID to the profile. The service ID obtained in
331331
* the callback function needs to be used when adding included
332332
* 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
363363
/**
364364
* @brief This function is called to add an included service. This function have to be called between
365365
* '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
367367
* is reported the included service ID.
368368
*
369369
* @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_
402402

403403
/**
404404
* @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
406406
* to report the status and an ID number for this descriptor.
407407
*
408408
* @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,
425425

426426
/**
427427
* @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.
429429
*
430430
* @param[in] service_handle: service_handle to be deleted.
431431
*

components/bt/host/bluedroid/bta/gatt/bta_gatts_api.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ void BTA_GATTS_AppDeregister(tBTA_GATTS_IF server_if)
136136
** Function BTA_GATTS_CreateService
137137
**
138138
** Description Create a service. When service creation is done, a callback
139-
** event BTA_GATTS_CREATE_SRVC_EVT is called to report status
139+
** event BTA_GATTS_CREATE_EVT is called to report status
140140
** and service ID to the profile. The service ID obtained in
141141
** the callback function needs to be used when adding included
142142
** service and characteristics/descriptors into the service.

components/bt/host/bluedroid/bta/include/bta/bta_gatt_api.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1254,7 +1254,7 @@ extern void BTA_GATTS_AppDeregister(tBTA_GATTS_IF server_if);
12541254
** Function BTA_GATTS_CreateService
12551255
**
12561256
** Description Create a service. When service creation is done, a callback
1257-
** event BTA_GATTS_CREATE_SRVC_EVT is called to report status
1257+
** event BTA_GATTS_CREATE_EVT is called to report status
12581258
** and service ID to the profile. The service ID obtained in
12591259
** the callback function needs to be used when adding included
12601260
** service and characteristics/descriptors into the service.

0 commit comments

Comments
 (0)