I am trying to use the Babel module with Ubuntu 20.04.4 LTS in a C++ program.
The module is connected through an USB interface, and via CAN bus to a µC that only sends heartbeat messages.
Using “uavcan_gui_tool” this heartbeat message is displayed and updated.
In my C++ program I am using the socketcan.h/cpp and libcanard libraries.
After launching
[5] attached TTY /dev/serial/by-id/usb-Zubax_Robotics_Zubax_Babel_320042000757424E3430302000000000-if00 to netdevice slcan0
in the C++ program the socketcanInit (&ifCAN, “slcan0”) returns 0, the ioctl() with SIOCGIFFLAGS returns IFF_RUNNING, but the write() in socketcanTransmit() returns with errno==ENETDOWN…