Commit graph

5 commits

Author SHA1 Message Date
Robert Sammelson 4d08a680d1
Add get_dtc_info 2023-05-13 20:04:37 -04:00
Robert Sammelson 4139dcea60
Add get_dtcs
- Required new function obd_mode_command for commands without PIDs
- Required new reading function for single line responses
- Multiple devices can respond to get_dtcs, so the responses are now
  vectors of the previous type - vectors of u8
2023-05-13 20:04:35 -04:00
Robert Sammelson 5231c3c9b7
Create general-purpose command functions
This will allow additional commands to be implemented more easily
2023-05-13 20:04:24 -04:00
Robert Sammelson 75acc9d4b3
Various improvements
- Remove line endings in get_line
- Check the echoed value in send_serial_cmd, instead of returning it
- Add flush function
2023-05-13 20:03:57 -04:00
Robert Sammelson 273c4159be
Initial commit 2023-05-12 19:07:59 -04:00