Missing <CALLSIGN></CALLSIGN>

Started by Harry, August 31, 2007, 06:42:28 AM

Previous topic - Next topic

0 Members and 3 Guests are viewing this topic.

Harry

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

FFM

Hello Harry,

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

Regards,
FFM

Harry

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

AirNav Support

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.
Contact Customer/Technical support via:
http://www.airnavsystems.com/contact.html
[email protected]

Harry

Thanks!

Harry

Quote from: 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.

FFM

Hello Harry,

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

FFM