linklayer / cantact

Drivers and Command Line Interface for CANtact tools
http://cantact.io
MIT License
46 stars 11 forks source link

Fixed Interface::send not working with candleLight devices #23

Closed AgentRev closed 3 weeks ago

AgentRev commented 1 year ago

candleLight devices only accept 8 bytes of data, and sending them 64 bytes completely stalls any transmission until power cycled. This fix slices data down to the first 8 bytes unless the FD flag is present or the DLC is greater than 8.