/**
* Transmits all frames from the TX queue, receives up to one frame.
*/
void processTxRxOnce(SocketCANInstance* socketcan, int timeout_msec)
````
What it does:
1. Sends outgoing CAN frames (as much as possible)
2. Receives 1 incoming CAN frame (if any)
The question. What are the reasons for such design?
E.g. why not
1. Receive as much as possible 2. Send as much as possible
or at least..
1. Receive one frame 2. Send as much as possible
The question is connected to the following thoughts. When we receive frames, we might generate a outgoing frames.
In current design, those outgoing frames will be send on next cycle iteration (counting that processTxRxOnce called inside some cycle).
E.g. the response will have some constant delay.
That's why I need some clarifications on current design. Thank you very much in advance!