Thats pretty damn cool..antus wrote:Jayme: yes you can on the AVT
*kicks ELM again*
Now up to 1400lines for the DPID routine. A tonne of checks have been added to prevent any significant problems arising. Also checks that the DPID setups were accepted.
So far.. this is only for the CAN setup. The VPW setup should hopefully be a tonne easier and most of the subfunctions can be applied.
Im still stuck on how many bytes each PID uses.. will need to work out what each are.. or somehow get the ECU to tell me. theres only 7bytes in the "spam" message from the ecu so Im thinking if I load up a DPID with a message that requires 8bytes to be returned the ecu will recognize this and will error back. Possibly load up known PIDs and then try a new one.. if it accepts it, its 1bytes in return size, if it returns an error, then the PID is 2bytes in return size. (well.. I hope that works!)
Also need to add a "PIDs supported" button or check. I think If I check each PID by applying it to a DPID.. any invalid PIDS will result in an invalid DPID setup message.