Closed lydia-at-amazon closed 11 months ago
Does this have both positive and negative tests? It's hard to tell in the diff.
Does this have both positive and negative tests? It's hard to tell in the diff.
By negative tests, do you mean where we check if the transport index does not equal the RX session transport index?
Here is the unit test for that: https://github.com/OpenCyphal-Garage/libudpard/blob/main/tests/test_private_rx.cpp#L492
This is outdated in the light of our new work on main2.
While updating the out-of-order multiframe bug, another bug was found related to using redundant transports. We were updating the RX session for multiframe transfers without verifying that the transport index passed into udpardRxAccept matched the index saved for the RX session.