I am trying to to write an app which advises the driver to change gears and do some other driving quality assessments. For this purpose I need to determine the RPM and currently active gear in a manual transmission vehicle. I am working on a Ford Fiesta 1.6 Petrol and reading the information from OBD2 using CAN and I can read the RPM but there is no standard PID for gear. Does anyone know how to determine the currently engaged gear for a MT vehicle from OBD2 at least for Ford Fiesta if not generally.
Also I wanted to know if I can use the engine load value (PID 4, Mode 1) to determine of the engine is going to stall?