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

Add packet_type into the dict returned by parse. #41

Closed wgaylord closed 6 years ago

wgaylord commented 6 years ago

It would be useful to add a way to know right away what type a packet is after it can back from parse with out having to just see if it has a specific key in it. (For example currently you can tell a weather packet by looking for the key 'weather')

wsmitchell3 commented 6 years ago

The 'format' key might be what you are looking for.

wgaylord commented 6 years ago

Oddly it's not returned for all types. (That I could find.) I will look again in the morning and see if I missed it.

On Mar 2, 2018, at 12:08 AM, wsmitchell3 notifications@github.com wrote:

The 'format' key might be what you are looking for.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.