Is phone connection status exposed anywhere in karoo-ext?
I'm building a small extension (data field) that shows whether the rider's paired phone is currently connected to Karoo. I went through karoo-ext (v1.1.9) looking for an event for this: DeviceEvent/OnConnectionStatus only covers sensors the extension itself scans for via startScan/connectDevice, and KarooInfo only has serial/hardwareType. No event seems to cover the Karoo-OS-to-companion-app link itself.
I also checked whether this is visible through standard Android Bluetooth APIs (since Karoo runs Android) and it isn't. dumpsys bluetooth_manager shows the classic Bluetooth radio is off except when io.hammerhead.sensorservice toggles it on/off for ANT+/BLE sensor scanning.
The actual phone link state (I can see internally it's modeled as something like PhoneServiceModel with radioStatus/hasConnected) appears to live entirely in Hammerhead's own internal app/service, invisible to the standard adapter and to karoo-ext. Is there a supported way to read this today that I'm missing? If not, would you consider adding something like an OnPhoneConnectionStatus event to karoo-ext? Happy to test against a Karoo 3 if there's something in progress.
Please sign in to leave a comment.
Comments
0 comments