Skip to content
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

Can't connect to Carly OBDII Adapter #21441

Open
derkrasseleo opened this issue Nov 25, 2024 · 9 comments
Open

Can't connect to Carly OBDII Adapter #21441

derkrasseleo opened this issue Nov 25, 2024 · 9 comments
Assignees
Labels
Milestone

Comments

@derkrasseleo
Copy link
Contributor

derkrasseleo commented Nov 25, 2024

Description

I can't connect my Carly OBDII Adapter. It works in KartaView and CarScanner.

Steps to reproduce

  • Go to vehicle metrics settings
  • Click on connect
  • Try to select a BLE device

Actual result

The connect button does nothing when I click on it.

Expected result

Should connect and show data.

Your Environment (required)

OsmAnd Version: 4.9.7
Android/iOS version: Android 13 (GrapheneOS)
Device model: Pixel 4a
Crash-Logs: -
@vshcherb
Copy link
Member

Did you try to pair device in Bluetooth Settings first? We would need to have logs to see what's going on (Help -> Logs), you can attach here as zip file

@derkrasseleo
Copy link
Contributor Author

Did you try to pair device in Bluetooth Settings first? We would need to have logs to see what's going on (Help -> Logs), you can attach here as zip file

Yes, and it doesn't, but I think the problem is that BLE devices generally don't pair like normal Bluetooth devices do..

@dmpr0
Copy link
Contributor

dmpr0 commented Nov 26, 2024

The issue is likely that the scanner is specifically designed to work only with the Carly app. We are aware of a similar issue with OBDeleven.

@derkrasseleo
Copy link
Contributor Author

The issue is likely that the scanner is specifically designed to work only with the Carly app. We are aware of a similar issue with OBDeleven.

As I said, it works with KartaView and CarScanner..

@derkrasseleo
Copy link
Contributor Author

derkrasseleo commented Nov 26, 2024

Did you try to pair device in Bluetooth Settings first? We would need to have logs to see what's going on (Help -> Logs), you can attach here as zip file

Here's the log file, I can't find anything related to the plugin:
logcat(2).log

I also noticed that I can't see the other buttons (settings, rename, forget) when trying to connect to the device
image

@vshcherb vshcherb added this to the 4.9-android milestone Nov 27, 2024
@vshcherb
Copy link
Member

Expensive devices usually have own protocol or custom way to communicate. So far we support simple Bluetooth devices, these devices usually needs to be paired first as Bluetooth device.

We will add more logs to understand what went wrong and how it could be implemented. Unfortunately CarScanner is not opensource to understand what's specific Carly has.

@derkrasseleo
Copy link
Contributor Author

Thanks, let me know if I can provide more logs.

@vshcherb vshcherb changed the title Can't connect to Carly OBDII Adapter OBDII BLE not supported - Can't connect to Carly OBDII Nov 28, 2024
@vshcherb vshcherb modified the milestones: 4.9-android, 5.0-android Nov 28, 2024
@vshcherb vshcherb changed the title OBDII BLE not supported - Can't connect to Carly OBDII Can't connect to Carly OBDII Adapter Nov 28, 2024
@vshcherb
Copy link
Member

Yes looks like we need to get BLE-device for testing purposes and implement it cause Bluetooth differs from BLE.

@derkrasseleo
Copy link
Contributor Author

Yes looks like we need to get BLE-device for testing purposes and implement it cause Bluetooth differs from BLE.

That's what I suspected, maybe the implementation of BLE in KartaView helps:
https://github.com/kartaview/android/blob/master/app/src/main/java/com/telenav/osv/obd/BLEConnection.java

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

5 participants