Ok, I did some code changes and now on car restart, the OBDuino will resume communications. I simply watch the data size of RPM pid request, when I get no data back (not even a 0 RPM), I know the ECU if off. I then try to communicate (and try and try and try...) This works, but operation is less then ideal (some work is needed to make it useable in everyday use.)
According to ISO 9141 after 5 seconds of no communication, the ECU should require a new init process. Therefore, when a car is turned off and back on, we can not assume the ECU will pay attention to us at 10400 baud. If we don't get a response, we should say hello.
|