anything
AirNav RadarBox
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
 


Author Topic: Missing <CALLSIGN></CALLSIGN>  (Read 6466 times)

0 Members and 1 Guest are viewing this topic.

Harry

  • Jr. Member
  • **
  • Posts: 98
Missing <CALLSIGN></CALLSIGN>
« 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

FFM

  • New Member
  • *
  • Posts: 44
Re: Missing <CALLSIGN></CALLSIGN>
« Reply #1 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

Harry

  • Jr. Member
  • **
  • Posts: 98
Re: Missing <CALLSIGN></CALLSIGN>
« Reply #2 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

AirNav Support

  • AirNav Systems
  • Hero Member
  • *****
  • Posts: 4124
Re: Missing <CALLSIGN></CALLSIGN>
« Reply #3 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.
Contact Customer/Technical support via:
http://www.airnavsystems.com/contact.html
[email protected]

Harry

  • Jr. Member
  • **
  • Posts: 98
Re: Missing <CALLSIGN></CALLSIGN>
« Reply #4 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.

FFM

  • New Member
  • *
  • Posts: 44
Re: Missing <CALLSIGN></CALLSIGN>
« Reply #5 on: September 02, 2007, 07:15:38 PM »
Hello Harry,

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

FFM