Android Question How to Know Which Device Disconnected in a BLE Manager with Multiple Connections

Lucag7

New Member
Hello everyone, I was wondering how I can tell which device got disconnected from my manager when multiple devices are connected.
In my case, I’ll only have two devices connected, so I can handle the issue using two BLE managers, but I’m not sure if that’s the optimal solution.
 

Lucag7

New Member
The best approach for this is to implement a class that manages a single connection with its own manager. This way, everything related to the connection will happen in its class instance.
Got it, thanks for the clear explanation!
 
Upvote 0
Top