OVMS3-idf/examples/bluetooth/bluedroid/ble/gattc_multi_connect
Hrishikesh Dhayagude cba69dd088 Bluetooth examples restructuring
The existing Bluetooth examples are split as:

1. examples/bluetooth/bluedroid - Bluedroid Host (BT + BLE) examples
   a. examples/bluetooth/bluedroid/classic_bt - Classic BT examples
   b. examples/bluetooth/bluedroid/ble - BLE examples
   c. examples/bluetooth/bluedroid/coex - Classic BT and BLE coex examples
   d. examples/bluetooth/bluedroid/hci - VHCI and HCI UART examples
      i. Rename ble_adv to controller_vhci_ble_adv and move it in hci folder
2. examples/bluetooth/nimble - NimBLE BLE Host + NimBLE Mesh examples
3. examples/bluetooth/esp_ble_mesh - ESP BLE Mesh examples
4. Update documentation references
2019-07-01 19:21:57 +08:00
..
main Bluetooth examples restructuring 2019-07-01 19:21:57 +08:00
tutorial Bluetooth examples restructuring 2019-07-01 19:21:57 +08:00
CMakeLists.txt Bluetooth examples restructuring 2019-07-01 19:21:57 +08:00
Makefile Bluetooth examples restructuring 2019-07-01 19:21:57 +08:00
README.md Bluetooth examples restructuring 2019-07-01 19:21:57 +08:00
sdkconfig.defaults Bluetooth examples restructuring 2019-07-01 19:21:57 +08:00

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.