1.In the description of the ESP_API header file, it should be the event that the application layer needs to handle, not the BTA layer. 2.Fix name typo of BTA_GATTS_CREATE_SRVC_EVT event Closes https://github.com/espressif/esp-idf/issues/5446