[Xastir] Server Port vs. Internet Server?
Curt Mills
archer at eskimo.com
Sat Nov 27 21:44:21 EST 2004
On Sat, 27 Nov 2004, Curt Mills wrote:
> On Sat, 27 Nov 2004, Kevin Ratcliff wrote:
>
> > After comparing the outputs of an APRS Internet server and the Xastir
> > server port I think you are right; Dmapper is looking for a different
> > line-end. I can email the author of Dmapper to see if he will consider
> > modifying his code, or is this something that should be changed at the
> > Xastir end?
>
> It depends on whether the way Xastir is doing it is "correct" per
> the non-existent APRS-IS spec, hi hi.
>
> What are the details? I can easily tweak Xastir to do the same
> line-ends on the Xastir server port. Just have to make sure it's
> the right thing to do in this case.
According to our code in interface.c, we add a newline ('\n') if
it's a network connection, so I assume the internet servers do the
same.
Local connection: Send '\r' at end of line.
Internet connection: Send "\r\n" at end of line.
Checkng what the x-spider code (server port) is doing: It is
getting the '\r' data from the transmit routines and sending it out
verbatim. I'm adding a bit of code to add a '\n' to the end of the
line in x_spider.c. Let me know tomorrow if it fixes the problem
for you.
--
Curt, WE7U. archer at eskimo dot com
http://www.eskimo.com/~archer
Lotto: A tax on people who are bad at math. - unknown
Windows: Microsoft's tax on computer illiterates. - WE7U.
The world DOES revolve around me: I picked the coordinate system!"
More information about the Xastir
mailing list