Diagnose the CAN channel
Compare the project configuration with the actual device before changing code. Interface state, bitrate, and physical bus conditions are frequent causes.
Compare project configuration with the device
Open the project CAN configuration and note the interface or channel name. Make sure it is the channel connected to your bus and intended by the selected project profile.
List CAN interfaces
Confirm that the configured interface exists and is in the UP state.
ip -details link show type canCheck hardware and bus conditions
Check the adapter connection, channel selection, bitrate, wiring, and termination. A bus-off state usually points to a physical bus or bitrate mismatch rather than project code.
Read the project logs
Look for the interface name and the first CAN-related error in the `pyrbs` and `pyrbs_core` logs before restarting the project.
