esp_ble_gatts_show_local_database() function
Display the Server's local attribute database. This API prints the local attribute database of the BLE server, including details of all services, characteristics, and descriptors.
Syntax
esp_err_t esp_ble_gatts_show_local_database(void); Return value
- ESP_OK: Success - ESP_FAIL: Failure
Notes
1. This function does not trigger any event. 2. It is primarily intended for debugging purposes to verify the server's current configuration.
esp_ble_gatts_show_local_database() calls 2 functions:
![]()
esp_ble_gatts_show_local_database()
esp_ble_gatts_show_local_database() reads 5 variables and writes 3 variables:
![]()
esp_ble_gatts_show_local_database()