ANDROID ELM327/OBD2 PROTOCOL

toto picture toto · Feb 27, 2013 · Viewed 27.2k times · Source

I am trying to send command from ANDROID to ELM327/OBD2 protocol (WIFI Diagnostic troubles). I downloaded an api or library from: https://github.com/pires/android-obd-reader The problem that this api not have any documentation. We need help about the command and protocol to exchange data. Thanks!

Answer

Eric Smekens picture Eric Smekens · Mar 28, 2013

What do you really want to know?

With the ELM327 the protocol is fairly easy. You just send a PID in ASCII, and you will receive an answer in ASCII. It's based on polling. So you will receive 1 answer for 1 request. As long as you don't send, you don't receive.

For converting and what commands to send, check the links I provided.

Some more links:

AT Commands
OBD-II Commands