g4klx/ircDDBGateway

Wrong tag order for APRS packets with altitude and range

sp5lg opened this issue · 2 comments

sp5lg commented

Current APRS packet sending altitude (/A=) and range (RNG) is wrong resulting in data misinterpretation showing RNG tag as comment. This is a result of wrong tag order.
According to APRS spec http://www.aprs.org/doc/APRS101.PDF chapter 7 and 8, RNG is a special tag for range and is supposed to be sent before comment while /A= tag is a comment tag.

Packet
SP5LG-B>APDG02,TCPIP*,qAC,SP5LG-BS:!5215.03ND02101.33E&/A=000000RNG0000 440 Voice 439.90000MHz -9.5000MHz
Result as seen on aprsdirect.com
wrong

sp5lg commented

I've already placed a fix for this here
#42

g4klx commented