AirNav Systems Forum

AirNav RadarBox and RadarBox24.com => AirNav RadarBox and RadarBox24.com Discussion => Topic started by: Harry on August 31, 2007, 06:42:28 AM

Title: Missing <CALLSIGN></CALLSIGN>
Post by: Harry on August 31, 2007, 06:42:28 AM
Hi,

I'm writing a script that captures the output of the RB port and send the content to my website.

Normally the output looks like:
<MODESMESSAGE><DATETIME>20070830211432</DATETIME><MODES>400925</MODES><CALLSIGN>VIR400</CALLSIGN><ALTITUDE>37000</ALTITUDE><GROUNDSPEED>472</GROUNDSPEED><TRACK>107</TRACK><VRATE>0</VRATE><LATITUDE>50.7101</LATITUDE><LONGITUDE>4.9734</LONGITUDE></MODESMESSAGE>

Some messages do not have <CALLSIGN></CALLSIGN>:
<MODESMESSAGE><DATETIME>20070831032706</DATETIME><MODES>4841DB</MODES><ALTITUDE>1225</ALTITUDE><VRATE>0</VRATE><LATITUDE>52.2816</LATITUDE><LONGITUDE>4.7187</LONGITUDE></MODESMESSAGE>

Is this normal?

Harry
Title: Re: Missing <CALLSIGN></CALLSIGN>
Post by: FFM on August 31, 2007, 08:26:24 AM
Hello Harry,

Do you write the script in ASP or .net? If yes, I also would be interested in the script...

Regards,
FFM
Title: Re: Missing <CALLSIGN></CALLSIGN>
Post by: Harry on August 31, 2007, 09:18:28 AM
Hello FFM,

I run a little site (http://www.live-military-mode-s.eu/) where people can share their call signs and hex code.  Right now I'm working on a php script. very basic. The reason for php is that I'm not a real programmer.

Are you still interested in the php script?

Harry
Title: Re: Missing <CALLSIGN></CALLSIGN>
Post by: AirNav Support on August 31, 2007, 12:56:07 PM
The XML is correct. If certain fields are not contained they are not sent in the XML to save in terms of text sent.

Hope that helps.
Title: Re: Missing <CALLSIGN></CALLSIGN>
Post by: Harry on September 02, 2007, 08:08:47 AM
Thanks!

Harry

The XML is correct. If certain fields are not contained they are not sent in the XML to save in terms of text sent.

Hope that helps.
Title: Re: Missing <CALLSIGN></CALLSIGN>
Post by: FFM on September 02, 2007, 07:15:38 PM
Hello Harry,

I was looking for an ASP / .net script. But thanks for your offer.

FFM