Page 1 of 1

xRange from Airnav

Posted: Fri Mar 09, 2018 9:46 am
by nzradar

I have one of these boxes that sends ADS-b and Mode-S messages to the Airnav server, however I have yet to find a port that sends any recognisable format......yet! But I have located the JSON formatted data and the port it transmits on but while VRS can connect and the data count increments, no flights are detected which I presume means that the JSON format is not exactly a standard format. This is the format, just a couple of flights at the moment:

Code: Select all

{ "now" : 1520588575.1,
  "messages" : 39530,
  "aircraft" : [
    {"hex":"c87f00","squawk":"6554","flight":"KIW895  ","altitude":23325,"category":"A0","mlat":[],"tisb":[],"messages":5551,"seen":0.0,"rssi":-10.0},
    {"hex":"c822ea","squawk":"5531","flight":"APK75   ","lat":-41.295745,"lon":173.219750,"nucp":7,"seen_pos":0.4,"altitude":34000,"vert_rate":128,"track":199,"speed":412,"category":"A0","mlat":[],"tisb":[],"messages":13171,"seen":0.3,"rssi":-12.9}
I'm no expert but maybe someone can decipher JSON formats. Could this be applied for these boxes to the VRS?

If you have an xRange receiver try this to see your JSON data:



Re: xRange from Airnav

Posted: Fri Mar 09, 2018 10:06 am
by Skibox
You need to convert the JSON structure into the fields and formats VRS expects.

I have done that for another data source using jq, in a bash script running on a Raspberry.

The principle is

nc | jq | nc


Re: xRange from Airnav

Posted: Fri Mar 09, 2018 11:54 pm
by nzradar
Thanks for that but to this layman it's gobbedegook as I have no coding skills, don't get the coding concept or understand what I would do to solve my problem, but hey, that's OK I appreciate your effort to help.

Re: xRange from Airnav

Posted: Mon Mar 19, 2018 12:08 am
by agw
I can add support if this is something that's enabled straight out of the box. I'll send you a PM about it.

Re: xRange from Airnav

Posted: Tue Mar 20, 2018 6:57 pm
by nzradar
I've PM'ed you two messages but my profile says theses messages are still in my outbox, have you actually received them?

Re: xRange from Airnav

Posted: Sat Mar 24, 2018 9:32 pm
by agw
I did, yes. I think phpBB shows them in the outbox until they're read.

I've added support for Airnav xRange, it'll appear in the next preview. Thanks to both you and UA4WIY for the sample feeds :)