While trying a cheap chinese ELM327 cable, I got: "Failed to get rpm Expected at least 3 OBD literals: SEARCHING..."
This is happens because parseOBDResponse on device.go is receiving 2 arguments, the first is "SEARCHING..." and the other are the OBD literals. So, when it calls NewResult(payload), it passes only the first argument wich, in this case, is "SEARCHING...".
This is the call sequence I got while testing in a car:
While trying a cheap chinese ELM327 cable, I got: "Failed to get rpm Expected at least 3 OBD literals: SEARCHING..."
This is happens because parseOBDResponse on device.go is receiving 2 arguments, the first is "SEARCHING..." and the other are the OBD literals. So, when it calls NewResult(payload), it passes only the first argument wich, in this case, is "SEARCHING...".
This is the call sequence I got while testing in a car:
runs command to get engine RPM
I made a pull request (b6e3ddf) with a workaround that solved my problem