Skip to content

SYSTEC: sending remote frame does not respect dlc value #1755

@dbristow-otc

Description

@dbristow-otc

SYSTEC interface: send() with is_remote_frame=True does not respect dlc value:

import can
import time

bus = can.interface.Bus(bustype='systec', channel=0, bitrate=1000000 )

while True:
	msg = bus.recv(timeout=0.5)

	if msg is None:
		bus.send(can.Message(arbitration_id=0x200, is_remote_frame=True, is_extended_id=False, dlc=8, check=True))
	else:
		print(msg)

image

Expected a remote frame with dlc=8, not zero

OS and version: Windows 10 Pro Version 10.0.19045 Build 19045
Python version: 3.12.1
python-can version: 4.3.1
python-can interface/s (if applicable): sysWORXX USB CAN module2

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions