glidernet / python-ogn-client

A python3 module for the Open Glider Network (OGN)
http://wiki.glidernet.org/
GNU Affero General Public License v3.0
32 stars 21 forks source link

Error when no bit errors reporting, the 0e indicator #78

Closed acasadoalonso closed 4 years ago

acasadoalonso commented 4 years ago

The following APRS message reports parser error. Parser error: FLRDDE9EF>OGFLR,qAS,LEGY:/161449h4149.71N/00228.15W'266/056/A=005316 !W32! id06DDE9EF +614fpm -0.3rot 10.0dB -7.4kHz gps4x7 Parser error: ICAEFFFED>OGFLR,qAS,LEGY:/160203h4149.48N/00229.45W'281/066/A=006143 !W12! id05EFFFED +396fpm +0.0rot 3.8dB +1.3kHz gps1x2

adding 0e after the dB is OK

The station is: LEGY>OGNSDR,TCPIP,qAC,GLIDERN4:/164546h4149.28NI00228.59W&/A=003360 LEGY>OGNSDR,TCPIP,qAC,GLIDERN4:>164546h v0.2.7.RPI-GPU CPU:0.3 RAM:516.0/971.1MB NTP:0.5ms/-0.9ppm +81.7C 2/2Acfts[1h] RF:+20+1.5ppm/-0.59dB/+7.1dB@10km[128855]/+9.4dB@10km[3/6]

snip commented 4 years ago

All additional fields are optional. Parser should not complain if one is missing.

acasadoalonso commented 4 years ago

The absence of 0e should means no errors ...

pjalocha commented 4 years ago

Please make the parser tolerant to the absence of the "0e" and when absent assume error count is zero.

Meisterschueler commented 4 years ago

Duplicate of #67, solved with #68. Please update your software.