The function trdp_checkSequenceCounter returns 0 (sequence counter valid), even if the new sequence counter is older than the last received.
According to the comment in trdp_pdReceive, where trdp_checkSequenceCounter is called, the sequence counter is valid if it is at least 1 higher than the previous one.
What is the intended behaviour? The one described in the comment or the implemented one?
The packet should only be accepted if the sequence counter is greater than the former one.