rossengeorgiev / aprs-python

📡 Python module for working with APRS
http://aprs-python.readthedocs.io/en/latest/
GNU General Public License v2.0
114 stars 37 forks source link

Third party packet support #44

Closed wsmitchell3 closed 2 years ago

wsmitchell3 commented 6 years ago

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.

wsmitchell3 commented 6 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.

rossengeorgiev commented 2 years ago

Superseded by #45, which was merged.