-
Notifications
You must be signed in to change notification settings - Fork 4
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
How to use other adapter than Lelink2 BLE #1
Comments
You need to find out what UUIDs your BLE adapter is using. Once you know the service UUID, go and change it in here:
and here:
You will also need to find out the characteristic UUID used for command/response, and put this here:
Other BLE devices might use a separate UUID for reading vs writing (just guessing). You would need to extent bleserial.py to handle a separate UUID for read and write. |
Thanks for explanations. Your guess was correct, my 2 OBD adapters have separate UUID's for reading and writing. |
As LeLink is not so easy to aquire where I live I ordered Vgate that as well has 2 separate characteristic UUID. I modified the code to account for that. #2 I am not 100% positive that my solution is enough. It seems to partially work, but the sensors become unavailable very often, some parameters are read OK, but for example for SoC I didn't get any read while the Leaf was charging and when I turned the "ignition" on as 1074%, 1159% and then 1592%. I will take take a look at it tommorow. @pb-asbuilt which Nissan Leaf are you using? Maybe different Leafs have slightly different commands or responses? |
"You will also need to find out the characteristic UUID used for command/response, and put this here:" |
Sorry been a bit distracted - thought I had better get back to responding! |
Technically, this should be possible. Although I just tried it on my iPhone, and it only reports the first 4 digits of the UUID for some reason. Try it anyway (using nRF Connect) and paste screenshots of what you get back here. |
Thanks for the offer of help. I actually returned my obd ble and bought the exact one you have so it connects now, but it usually just errors out. |
Yeah, I was hoping to get SOC while it is charging so I can shut it off when the car is around 80%. But I can't read it even when charging if the car is off. Very disappointing. |
Yeah, Nissan really has made it difficult for us. |
Hello,
Thanks for sharing this project.
Is it possible to use other BLE adapter than LeLink?
What should I change in the code to adopt it to the different OBD BLE adapter?
The text was updated successfully, but these errors were encountered: