When sending both single- and multi-frame CanardTransfers, I’ve found that the value of payload_size on the receiving node differs from its value on the sending node. For example, here is an excerpt from my logger output on the receiving node. The parenthesized value is the value of CanardTransfer.payload_size on the sending node.
The reported size is always larger than the expected size, and the difference to the correct value appear to be consistent for a given length, but varies from 1 to 9.
Is this expected behavior?
One thing at a time. Besides, I’m not sure how to describe unformatted, variable-length binary data using DSDL. Not that I’ve had any time to look into it.