rossengeorgiev / aprs-python

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

so many format errors #68

Open woehrer12 opened 2 years ago

woehrer12 commented 2 years ago

I'm very happy to see your aprslib and it works very fine, but i have so many raise Exceptions. Its like 50% What can i do for parse this messages?

F5ZEE>APRS,DB0TFM-1*:}DB0NRP-10>APK102,TCPIP,F5ZEE*::DK0WUE-10:rej1
format is not supported

DL1ZM>UP1PV5,DB0KT-2*,WIDE1*,DB0TFM-1*:'ßBDn+>>/]"5?}Op.Zeljko QRV 145.500 MHz
invalid data format

DB0HU>APU25N,DB0MI*,WIDE1*,DB0ODE-10*,WIDE2-1:<IGATE,MSG_CNT=0,LOC_CNT=10
format is not supported

DL1IFW-7>4XUSS6,DL1IFW-1*,WIDE1*,DB0RO*,DB0ODE-10*,WIDE2*:`ßCn>|>/`"6l}9A pasman....  ._ 
invalid data format

DB0BL>APMI06,DB0ODE-10*,WIDE2*:}DB1NTO-2>RFONLY,TCPIP,DB0BL*::DG2NGO-7 :Firmware update 020 available! Look at www.db1nto.de{737
format is not supported

DL1IFW-7>4XUSR0,DL1IFW-1*,WIDE1*,DB0RO*,DB0ODE-10*,WIDE2*:`ßD6n{6>/`"6e}9A pasman....  ._ 
invalid data format

DK3UO-9>TY0YX0,DB0RO*,DB0ODE-10*,WIDE1*:`ß-en^$k/`"5"}439.125MHz T067 -760_1
invalid data format

DL1IFW-7>4XUSS1,DL1IFW-1*,WIDE1*,DB0RO*,DB0ODE-10*,WIDE2*:`ßDWoH?>/`"6f}9A pasman....  ._ 
invalid data format
rossengeorgiev commented 2 years ago

APRS full feeds is full of invalid messages, so it is not unusual to see parse errors. It possible that some of them are bugs in library, that needs to be addressed, generally it good smell test is to check if https://aprs.fi has successfully decoded the message in question.

For format not support, simply adding support. That can be straightforward or complicated.