Open jlinear opened 6 years ago
Already working on it.
On Tue, Jun 5, 2018, 4:18 PM Jerry Yang notifications@github.com wrote:
It seems that the current connect() method can only maintain one connection at a time, to connect each device in a for loop is not the way to maintain multiple connections. Each connection will need a gatt to maintain, so that this connection will not collide with the rest. refer to : https://stackoverflow.com/questions/35392762/android-ble-connecting-to-multiple-devices-at-once
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/jlinear/DispatchApp/issues/4, or mute the thread https://github.com/notifications/unsubscribe-auth/AILTQIzIGY9BSmSGxrN-wTgZ3QBNTJzwks5t5ud5gaJpZM4UbfOk .
This is implemented, but connection establishment is unreliable and is only made worse by multiple devices trying to go through the discovery/connection process at the same time.
Open a new issue?
It seems that the current connect() method can only maintain one connection at a time, to connect each device in a for loop is not the way to maintain multiple connections. Each connection will need a gatt to maintain, so that this connection will not collide with the rest. refer to : https://stackoverflow.com/questions/35392762/android-ble-connecting-to-multiple-devices-at-once