Homepage GitHub

Yakut use serial 2 can

does yakut support SLCAN protocol ?
I found that yakut send data to mcu by usb cdc, data protocol is not like slcan.
here is I received:
0x00, 0x01, 0x03, 0x04, 0x2a, 0x05, 0xff, 0xff, 0x55, 0x1d, 0x01, 0x01, 0x01, 0x01…0xaa
and there is no char ‘\r’.

I found that pyuavcan has been changed protocol.
https://pyuavcan.readthedocs.io/en/stable/api/pyuavcan.transport.serial.html

The topic description suggests that you need UAVCAN/CAN, but the transport you referred to is UAVCAN/serial.

UAVCAN/CAN works on top of CAN (FD).

UAVCAN/serial works on top of UART, RS-4xx, USB CDC ACM, etc. It has nothing to do with CAN at all.

In order to use Yakut with SLCAN, you need to export UAVCAN__CAN__IFACE="slcan:/dev/ttyACM0" (replace the serial port name as necessary). More info: