esp-idf/examples/bluetooth/bluedroid/ble/gatt_server
2021-04-07 17:53:37 +08:00
..
main Renamed Kconfig to Kconfig.projbuild in some examples. 2021-03-02 16:00:59 +05:30
tutorial Bluetooth examples restructuring 2019-07-01 19:21:57 +08:00
CMakeLists.txt build_app: make multi target support readable 2020-04-09 16:40:57 +08:00
Makefile Bluetooth examples restructuring 2019-07-01 19:21:57 +08:00
README.md component/bt: add BLE v5.0 feature for bluedroid host 2021-01-15 17:55:12 +08:00
sdkconfig.defaults examples: fix sdkconfig warnings 2019-11-21 15:36:06 +01:00
sdkconfig.defaults.esp32 component/bt: add BLE v5.0 feature for bluedroid host 2021-01-15 17:55:12 +08:00
sdkconfig.defaults.esp32c3 esp_system: move sleep modes to esp_hw_support, power down light sleep to esp_pm 2021-04-07 17:53:37 +08:00
sdkconfig.defaults.esp32s3 esp_system: move sleep modes to esp_hw_support, power down light sleep to esp_pm 2021-04-07 17:53:37 +08:00

Supported Targets ESP32 ESP32-C3

ESP-IDF Gatt Server Demo

This is the demo of APIs to create a GATT service by adding attributes one by one. However, this method is defined by Bluedroid and is difficult for users to use.

Hence, we also allow users to create a GATT service with an attribute table, which releases the user from adding attributes one by one. And it is recommended for users to use. For more information about this method, please refer to gatt_server_service_table_demo.

This demo creates GATT a service and then starts advertising, waiting to be connected to a GATT client.

To test this demo, we can run the gatt_client_demo, which can scan for and connect to this demo automatically. They will start exchanging data once the GATT client has enabled the notification function of the GATT server.

Please check the tutorial for more information about this example.