stanleyhuangyc / Freematics

Official source code repository for Freematics
https://freematics.com
436 stars 352 forks source link

Implement support PID #49

Open jugendhacker opened 6 years ago

jugendhacker commented 6 years ago

Is there a way that you could implement the 0x00 PID so it will be possible to request wich pids are supported by the car?

alexandrehsd commented 5 years ago

Hello @jugendhacker, did you get any feedback from Stanley on your request?

I am also interested in this functionality. @stanleyhuangyc is there an alternative to get the PIDs supported by the car just adding a few line of codes to the telelloger.ino file?

jugendhacker commented 5 years ago

@alexandrehsd as you can see he isn't responding to any of the Issues nor PRs... I also wrote him an email but he never responded, sorry!

alexandrehsd commented 5 years ago

That's a pity... So how did you solve this problem, @jugendhacker? did you implemented something in order to get the supported PIDs?

jugendhacker commented 5 years ago

I just bought an ELM 327 and a NanoPI and now building it from scratch myself...

alexandrehsd commented 5 years ago

Oh, I got it. Good luck! I'll try another approach and if I succeed I'll tell you here

AndreaBorgia-Abo commented 5 years ago

Reading libraries/FreematicsPlus/FreematicsOBD.cpp at stage 3 gives me the idea that the init function will try all PIDs and take stock of what is supported and what isn't, rather than ask. Have you tried printing the values from pidmap?