Working on a program now. Having problems with bluetooth connection to OBDMX module. I can send data, then everything freezes. I'm tried the Bluetooth and Serial example on this site, but both lock up.
Anyone else trying OBD via bluetooth?
Has anyone managed to get the OBD2 bluetooth going.
I used the example and the recieve timer tick sub is below, it returns a valid response when i send a PID and then hangs.
B4X:
Sub RecieveTimer_tick
Dim tempString As String
If Connected=True AND TextReader1.Ready=True Then
tempString = TextReader1.ReadLine
EditText1.Text = EditText1.Text & "<" & tempString & CRLF
Log("<<" & tempString)
End If
End Sub
Its as if there is nothing in the buffer but it still returns ready and then the app sits at the TextReader1.ReadLine statement.
Im still playing, but if anyone had any luck and would like to share please do
I have some ideas for an OBD-based app. However, how do you develop and test it, from a practical viewpoint? While I could sit with a laptop in the car, I'd very much prefer not to...
Are there some OBD emulators around that can fake a car on a PC? Other solutions?