OVMS3-idf/examples/bluetooth/gattc_multi_connect
Jiang Jiang Jian 00ef8bf726 Merge branch 'feature/decrease_bt_contrller_memory_with_new_mem_reserved' into 'master'
decrease bt contrller memory with new mem reserved

See merge request idf/esp-idf!2791
2018-08-16 19:12:44 +08:00
..
main Merge branch 'bugfix/bt_fix_incorrect_handle_print' into 'master' 2018-08-14 14:16:53 +08:00
tutorial component/bt: Update BLE examples tutorials and ReadMe files 2018-01-25 16:59:40 +08:00
Makefile t # This is a combination of 2 commits. 2017-08-08 20:15:38 +08:00
README.md component/bt: Update BLE examples tutorials and ReadMe files 2018-01-25 16:59:40 +08:00
sdkconfig.defaults component/bt : decrease memory consumption by conn number 2018-08-14 02:29:17 +00: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.