Skip to content

Telemetry Parser #29

@EA5AER

Description

@EA5AER

Hi:

I've seen that the packets of telemetry are still not supported for parse. For any reason? I say that because telemetry.py has already parse_comment_telemetry that will do more or less the job.

If a force parse_comment_telemetry for this beacon:
DEBUG:aprslib.parsing:Parsing: ED5YAM>APTT4,EA5RCD-15,WIDE1,WIDE2-1:T#790,551,564,999,085,716,11000000*
DEBUG:aprslib.parsing:Parsed ok.

i will obtain this:
{'raw': u'ED5YAM>APTT4,EA5RCD-15,WIDE1,WIDE2-1:T#790,551,564,999,085,716,11000000', 'via': '', 'from': u'ED5YAM', 'to': u'APTT4', 'path': [u'EA5RCD-15', u'WIDE1', u'WIDE2-1'], 'format': 'beacon', 'text': u'T#790,551,564,999,085,716,11000000'}**

This is better than obtain:
Mar 15 14:42:54 MonitorAPRS sh[563]: File "/usr/local/lib/python2.7/dist-packages/aprslib/parsing/init.py", line 162, in _try_toparse_body
Mar 15 14:42:54 MonitorAPRS sh[563]: raise UnknownFormat("format is not supported")

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions