-
Notifications
You must be signed in to change notification settings - Fork 22
Open
Labels
Description
Based on comment from @JLPLabs we should consider adding support to aggregate multiple CAN frames into a single Ethernet frame.
Adriaan,
You'll see a 3rd commit on this PR.NOTE PLEASE LET ME KNOW:
a) if this is more than you want,
b) if there is a better / more idiomatic approach I should be taking.This last change can be summarized as:
LISTENER
- updated one line in
acf-can-listenerso that theacf_pdupointer is moved through the ethernet frame. (right now there is logic that seems to imply that was the desired behavior, but the pointer wasn't actually being updated).TALKER
- added a
--count COUNTflag to the command line. This allows the user to require COUNT number of CAN frames to be packed into one Ethernet frame.- used the variable that already existed,
num_acf_msgsfor handling the count logic.Originally posted by @JLPLabs in #18 (comment)