Connection Callback
Connection- and GATT-related callbacks exposed by BLEManager.
This callback extends ScanCallback, so it also receives scan lifecycle events.
Threading contract:
Methods may be invoked either from Android BLE callback paths or from the manager's background coroutine scope.
No method in this callback is guaranteed to run on the Android main thread.
Recommended usage:
Perform non-UI work directly here if needed.
For UI updates, switch explicitly to
Dispatchers.Main,runOnUiThread, or publish the event into a UI-observed state holder.