esp-idf/examples/bluetooth/bluedroid/ble/gattc_multi_connect
2021-09-13 15:45:27 +08:00
..
main Whitespace: Automated whitespace fixes (large commit) 2020-11-11 07:36:35 +00:00
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 components/bt: Fix link error of Kconfig 2021-09-13 15:45:27 +08:00
sdkconfig.defaults.esp32c3 components/bt: Fix link error of Kconfig 2021-09-13 15:45:27 +08:00
sdkconfig.defaults.esp32s3 components/bt: Fix link error of Kconfig 2021-09-13 15:45:27 +08:00

Supported Targets ESP32 ESP32-C3

ESP-IDF Gatt Client Multi Connection Demo

This is the demo of APIs to create a GATT multi-connection client. It can be used to connect to three GATT servers at the same time.

To test this demo, please run gatt_server_demo to create three GATT server devices, namely ESP_GATTS_DEMO_a, ESP_GATTS_DEMO_b and ESP_GATTS_DEMO_c, Gatt_client_multi_connection_demo will connect to these three gatt server demos, and then exchange data.

The code can be modified to connect to more devices (up to 4 devices by default). If you need to connect to more devices (more than 4 devices), you need to change BT/BLE MAX ACL CONNECTIONS in menuconfig.

Please check the tutorial for more information about this example.