[Question]: BLE server/peripheral support of multiple concurrent client connections?
Posted: Fri Dec 22, 2017 6:52 pm
I have a user who is attempting to connect multiple BLE clients (centrals) to the same single BLE server (peripheral) hosted on the ESP32. What we find is that the first client connects correctly but when we attempt to connect the second client "nothing happens". What I mean by this is that there are no signs of any events arriving at the ESP32 ... it is as though the ESP32 is no longer responding to connect requests.
This Stack Exchange post says that multiple clients should be able to connect to a single server:
https://stackoverflow.com/questions/371 ... att-server
while this Adafruit article:
https://learn.adafruit.com/introduction ... nergy/gatt
says:
"The most important thing to keep in mind with GATT and connections is that connections are exclusive. What is meant by that is that a BLE peripheral can only be connected to one central device (a mobile phone, etc.) at a time!"
The net of this post is:
1) Does the BLE specification allow multiple concurrent connections into a BLE server from multiple BLE clients?
2) If yes to #1, does the ESP32 BLE stack support this concept?
This Stack Exchange post says that multiple clients should be able to connect to a single server:
https://stackoverflow.com/questions/371 ... att-server
while this Adafruit article:
https://learn.adafruit.com/introduction ... nergy/gatt
says:
"The most important thing to keep in mind with GATT and connections is that connections are exclusive. What is meant by that is that a BLE peripheral can only be connected to one central device (a mobile phone, etc.) at a time!"
The net of this post is:
1) Does the BLE specification allow multiple concurrent connections into a BLE server from multiple BLE clients?
2) If yes to #1, does the ESP32 BLE stack support this concept?