-
-
Notifications
You must be signed in to change notification settings - Fork 1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Vehicle metrics doesn't reconnect OBD Bluetooth #21257
Comments
We will implement that OBD will reconnect automatically once AA is connected again. Otherwise we don't want to continoulsy lookup connections |
I noticed that the Bluetooth connection is lost when I open another app for a while and osmand is in the background. When I foreground osmand again, it has lost the connection to the obd Bluetooth dongle and I have to manually reestablish it. |
I do not have AA, I am just using my phone. |
We've implemented after connection to Android Auto though we can't receive signal that device is connected by bluetooth. Suggested api doesn't work as it requires to manually connect to Bluetooth device or constant Bluetooth scanning which is very bad for battery. |
I see the dilemma, yeah. Would it be possible to have "reconnect obd Bluetooth" as a custom button action? |
Yes I think quick action should definitely ok, though I'm thinking we could try to discover on route recalculation |
That sounds like a good idea! There are likely a decent number of us with older vehicles that lack AA. |
To be implemented:
|
Cannot be tested - OsmAnd crashes if connected to simulated sensors and display widgets on the main screen
|
Not reproduced on last build |
Crash should be fixed here |
Considering the first point above, this behavior can only be tested with the actual presence of OBD sensors. However, if we consider the second point, this case can be tested by turning Bluetooth off and on (on the mobile device, as demonstrated in the video). Therefore, the issue is still present, as after “Turn off car ignition, Turn on car ignition” - “Turn off, Turn on Bluetooth module,” the Bluetooth connection does not automatically reconnect.
2024-11-28.12.32.11.mp4 |
I've tested with real device and real car and with AA it works as expected. Based on the code I see, once route is calculated (after restart or in old session) attempt to reconnect widgets will be made |
Description
Since updating to OsmAnd+ 4.9.3, Released: 2024-11-01, the OBD Bluetooth connection isn't automatically reestablished on relaunch of osmand, after having had the car ignition turned off and on.
Steps to reproduce
Connect obd Bluetooth
Turn off car ignition
Turn on car ignition
exit osmand
Start osmand
Actual result
The obd Bluetooth connection isn't automatically reestablished
Expected result
Connection should be reestablished.
Preferably without having to relaunch osmand but definitely on relaunch the connection should establish automatically, since it takes 11 touches to get it working again (when Osmand is already running in foreground)
Your Environment (required)
WARNING Crash-Logs MAY contain information you deem sensitive.
Review this CAREFULLY before posting your issue!
The text was updated successfully, but these errors were encountered: