collin80/esp32_can

DTC Error Codes

Opened this issue · 2 comments

Hi, I want to thank you for your incredible work.
I'm building an OBD reader with esp32 and sn65hv230 transceiver and I can read all the values I need.
Is also possibile, with this library, to reset error codes?

Thanks in advance!

All you need to do is use the OBD Service $04 and use the library to send CAN bus messages.
(In this case something like 7E0 01 04)
Just like the OBD Service $01 that you are using to read live data.

Great, thank you!