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

Library not working with Bluetooth OBDs? #278

Open
simply-Gamic opened this issue May 6, 2024 · 0 comments
Open

Library not working with Bluetooth OBDs? #278

simply-Gamic opened this issue May 6, 2024 · 0 comments

Comments

@simply-Gamic
Copy link

I've been trying to get the library working the past few days but for some reason it just won't work.

I have an ELM327 Bluetooth adapter, which works perfectly with an app on my phone. But when trying to connect to it via my laptop (win11) it won't work.

The first weird thing is that I get two instances of the obd2 when trying to connect to it via Bluetooth. One is shown as a Bluetooth LE device (so Bluetooth 4.0+) and one needs a pin and then gets connected as two virtual com ports (one outgoing, one going in)

First problem I encountered was that the port naming of the library is different to win11s naming scheme, so I had to adjust it inside the utils.py to just "COMx" where x is the port number.
Now it auto detects both com ports properly and also identifies that port 9 (the incoming) is the only viable one. But it never connects fully, just freezes at the initialization process.

When using the pyserial library standalone, I can successfully connect to the port and receive blank data. But when I try to write to it, to get an answer, it freezes as well for some reason.

I've downloaded another program, that's also for obd2 and inside that the Bluetooth option straight up doesn't work and trying to connect via the com port, results in it saying the baudrate can't be detected. (Even if I manually adjust it to the correct one)

Through a c# library I managed to connect to the obd via the com9 port but it also freezes in the initialization.

So what's the issue here? Help would be much appreciated :))

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

No branches or pull requests

1 participant