enableFd property

bool enableFd
final

When true, configure the socket via setsockopt(SOL_CAN_RAW, CAN_RAW_FD_FRAMES, 1) so the kernel exchanges 72-byte struct canfd_frame. Outbound CanFrame instances with fd: true are encoded via CanFrame.encodeFd; inbound buffers are sized for the FD frame.

The host must put the underlying interface in CAN-FD mode (ip link set up can0 type can bitrate 500000 dbitrate 2000000 fd on) before opening this transport.

Implementation

final bool enableFd;