CAN ...read the status or error-register
Posted: Thu Jan 16, 2020 6:15 pm
Hello
I use the Arduino-library for the ESP32-CAN controller, it works well for sending and receiving messages.
But how can I get the information whether a CAN-transmission was sent correctly?
Example: A CAN-message is not transmitted because the bus is not connected, or no other station is connected to the bus. The program should recognize the CAN-error and therefore should not stop.
Thanx for your help.
I use the Arduino-library for the ESP32-CAN controller, it works well for sending and receiving messages.
But how can I get the information whether a CAN-transmission was sent correctly?
Example: A CAN-message is not transmitted because the bus is not connected, or no other station is connected to the bus. The program should recognize the CAN-error and therefore should not stop.
Thanx for your help.