From 703704a005939a3d932120d06bf0e7da534d7f70 Mon Sep 17 00:00:00 2001 From: Rossen Georgiev Date: Sun, 18 Jan 2015 03:25:25 +0000 Subject: [PATCH] now able to parse object report format --- README.rst | 1 + aprslib/parse.py | 31 +++++++++++++++++++++++++------ 2 files changed, 26 insertions(+), 6 deletions(-) diff --git a/README.rst b/README.rst index 73c81c1..bb2d7a6 100644 --- a/README.rst +++ b/README.rst @@ -8,6 +8,7 @@ Parsing of packets is also possible, but the entire spec is not fully implemenet The following is supported: - normal/compressed position reports +- objects - mic-e position report - messages (inc. telemetry, bulletins, etc) - base91 comment telemetry extention diff --git a/aprslib/parse.py b/aprslib/parse.py index 43a5bf4..10371c4 100644 --- a/aprslib/parse.py +++ b/aprslib/parse.py @@ -119,7 +119,6 @@ def parse(packet): # , - invalid/test format # - - unused # . - reserved - # ; - object report # < - station capabilities # ? - general query format # T - telemetry report @@ -130,7 +129,7 @@ def parse(packet): # _ - positionless weather report # { - user defined # } - 3rd party traffic - if packet_type in '#$%)*,;