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.
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.
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.