Closed wsmitchell3 closed 2 years ago
Okay, let's put this one on hold until the other gets resolved. We'll need to be changing the unsupported packet types to allow this one to work.
This feature will be much more successful if we allow partial packet decodes, otherwise malformed or unsupported sub-packets will cause it to fail, even if the third-party packet is itself well-formed.
Superseded by #45, which was merged.
Added support for third-party packets, where the body is itself a packet.
The sub-packet is parsed, and its dictionary is returned as the 'subpacket' value of the main packet. Unsupported third-party packets are parsed to the extent possible. Error handling could probably be improved, particularly for parse errors.