[aprssig] Escaping \r\n in packets for APRS-IS
Robert Bruninga
bruninga at usna.edu
Fri May 8 10:28:01 EDT 2020
When montoring packets with a terminal, I like to see packets on their own
line.
Its been so long now, I cannot remember what TNC's do with end oof line
But it is frustrating to have to add LF-on-CR setting in the terminal
program and then have half the lines double spaced, and half of them
appear correctly.
Without the added lf-on-CR, then some lines overwrite and that is
frustrating.
I used to have a feel for this, but ith so many implementations, I now
don't remember the details. I don't even remember what were the defaults
for LFADD and AUTOLF in most TNC's...
bob
-----Original Message-----
From: aprssig <aprssig-bounces at lists.tapr.org> On Behalf Of Lynn W
Deffenbaugh (Mr)
Sent: Friday, May 8, 2020 8:37 AM
To: Iain R. Learmonth <irl at hambsd.org>; aprssig at lists.tapr.org
Subject: Re: [aprssig] Escaping \r\n in packets for APRS-IS
Are you sure it is your radio adding the <CR> to the packet and not the
IGate that is receiving it? Or where do you actually see this character
since, as you say, it is dropped by the TNC2 format required by the
APRS-IS interface.
And further, what is the use case for needing a trailing <CR> on an APRS
packet?
Lynn (D) - KJ4ERJ - Author of APRSISCE for Windows Mobile and Win32
On 5/8/2020 8:04 AM, Iain R. Learmonth wrote:
> Hi,
>
> I recently noticed that my Yaesu VX-8DE has been appending a 0x0d
> (carriage return) to the end of packets it sends.
>
> When I upload these packets to APRS-IS the 0x0d gets stripped because
> the server software is interpreting that as the end of line. aprsc
> will take \r, \n or \r\n quite happily and in this case it's getting
> \r\r\n at the end of the line.
>
> Was there ever a system to escape the \r and \n characters where they
> appear in the information field? Should IGates drop these, or is
> truncation the correct thing to do?
>
> Thanks,
> Iain MM0ROR.
>
_______________________________________________
aprssig mailing list
aprssig at lists.tapr.org
http://lists.tapr.org/mailman/listinfo/aprssig_lists.tapr.org
More information about the aprssig
mailing list