You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Given a PacketRef obtained from a parser iterator, how do you get the packet's original encoded length? There's a class_and_msg_id() method on PacketRef, but I don't see anything similar for length (bytes at offsets 4 and 5).
The text was updated successfully, but these errors were encountered:
We have no means to expose such information in the current state, when dealing with complex packets whose size may vary.
With simplistic packets, you have UbxPacketMeta::FIXED_PAYLOAD_LEN.
To answer that requirement, pack_lenhere should be saved in the packet being constructed
Given a
PacketRef
obtained from a parser iterator, how do you get the packet's original encoded length? There's aclass_and_msg_id()
method on PacketRef, but I don't see anything similar for length (bytes at offsets 4 and 5).The text was updated successfully, but these errors were encountered: