Author Topic: 3rd Party Integrations  (Read 39252 times)

Admin

3rd Party Integrations
« on: July 29, 2015, 09:14:54 pm »
First Posting

grvbc

Re: 3rd Party Integrations
« Reply #1 on: August 17, 2015, 06:14:30 pm »
One for Lee...

Is the ARF used on the default frequency of 868.3Mhz, or do you actually use 868Mhz?   and I presume the software also reconfigures the packet size to 24 bytes with no enc., and that you just use the ATAC command on power up rather than writing to flash with ATWR.  Any other gotchas?

Reason I'm asking is that I'm trying to log any received P3I packets on a ground station linux machine.

Ta
Tim

Admin

Re: 3rd Party Integrations
« Reply #2 on: August 17, 2015, 06:33:43 pm »
One for Lee...

Is the ARF used on the default frequency of 868.3Mhz, or do you actually use 868Mhz?   and I presume the software also reconfigures the packet size to 24 bytes with no enc., and that you just use the ATAC command on power up rather than writing to flash with ATWR.  Any other gotchas?

Reason I'm asking is that I'm trying to log any received P3I packets on a ground station linux machine.

Ta
Tim

Hi Tim,
that sounds impressive!
OK, the frequency is 869.4Mhz, this is because this is legal at 500mW
There is no encryption, and the packet size is 24 bytes

(apologies to the non-techies from this point onward)
We should probably take this offline (email me)
I have not yet published the header file for the packet structure as part of the Open-P3I format,
you will need this to decode correctly, I can let you have this as a side file.

Do you _really_ want to do this yourself ?
You sound pretty savvy, so you could just connect to the posix socket running on PilotAware
and then the messages will all be streamed to you - would that be better ?
You can then store them as you wish.

You can test this very easily by just telnet to the port which streams the messages to the navigation systems
So if you connect to the WiFi hotspot, (you type the bits in bold)

$ telnet 192.168.1.1 2000
telnet 192.168.0.100 2000
Trying 192.168.0.100...
Connected to 192.168.0.100.
Escape character is '^]'.
PASS?6000
AOK$GPGGA,163157,5223.529,N,00127.449,W,2,05,1.0,72.8,M,-34.0,M,,*42
$GPGSA,A,3,20,02,10,13,04,08,07,23,,,,,1.00,1.00,1.00*0A
$GPRMC,163157,A,5223.529,N,00127.449,W,0.000,344,170815,,,A*77
$PFLAA,0,-51564,11904,11204,1,1D82BE8,155,,214,,8*1C
$PFLAA,0,-27097,-21943,6000,1,1D83818,142,,0,,8*07
$PFLAA,0,-38374,-11732,9375,1,4CA9CF,169,,217,,8*4A
$PFLAA,0,-32490,20302,3813,1,B6E47280,142,,0,,8*6B
$PFLAA,0,-27191,24483,5063,1,4CA803,146,,155,,8*68
$PFLAA,0,98007,-35671,9680,1,4CA760,325,,226,,8*60
$PFLAA,0,-58033,13398,11204,1,B6E47280,154,,0,,8*51
$PFLAA,0,268,-15376,353,1,47875C,326,,78,,8*1F
$PFLAA,0,-33448,34636,11204,1,4BA919,121,,211,,8*5E
$PFLAA,0,-45891,27574,10252,1,40666C,140,,182,,8*2B
$PFLAA,0,4163,33910,2891,1,4CA2D6,342,,147,,8*04
$PFLAA,0,50217,4393,4034,1,4067F6,308,,174,,8*0C
$PFLAA,0,-34494,-13936,5489,1,4CA9DD,141,,188,,8*45
$PFLAA,0,-39459,24657,11197,1,3C6642,140,,214,,8*29
...


Thx
Lee
« Last Edit: August 17, 2015, 09:36:43 pm by Admin »

scsirob

Re: 3rd Party Integrations
« Reply #3 on: October 08, 2015, 01:19:13 pm »
Lee,

Is there any way to get the same connection through Ethernet? Reason I ask is that I use a built-in PC without WiFi in my plane and I'd love to use this with a direct Ethernet connection. I connected to 192.168.1.1 port 2000 on Ethernet and I can see that the RPi responds (ARP has RPi MAC address in it), but no messages appear

Admin

Re: 3rd Party Integrations
« Reply #4 on: October 08, 2015, 02:01:23 pm »
Lee,

Is there any way to get the same connection through Ethernet? Reason I ask is that I use a built-in PC without WiFi in my plane and I'd love to use this with a direct Ethernet connection. I connected to 192.168.1.1 port 2000 on Ethernet and I can see that the RPi responds (ARP has RPi MAC address in it), but no messages appear

Hi Rob,
not usually advertised, but yes, you can connect to
192.168.0.100:2000 on the Eth0 port
You maby need a crossover cable ?

Thx
Lee
« Last Edit: October 08, 2015, 02:08:54 pm by Admin »

dougblair

Re: 3rd Party Integrations
« Reply #5 on: October 12, 2015, 10:50:54 am »
Hi Lee,

would 192.168.0.100:2000 by Eth 0 allow monitoring via the web interface on a PC while the Android Sky Demon connection remains via wifi ?
I am presently trying to de bug why the connection to SD android drops out after a while. I am using a known good wifi dongle and the web interface appears to stay up. I am using a usb blox GPS dongle.
 Present efforts are to eliminate the power supply and understand the logging a little better but if it is power then the web interface should drop out...................

Best Regards
Doug

rg

Re: 3rd Party Integrations
« Reply #6 on: October 12, 2015, 01:22:53 pm »
I had lots of drop outs to SD on Android.  I've now purchased on iOS device (which is something I thought I'd never do) and my connection does not dropout. That at least confirmed it wasn't my PA device that was the problem.  I suspect Android was not allowing the CollisionAwareAndroid app to stay alive. It'd be interested to see what you find.

Admin

Re: 3rd Party Integrations
« Reply #7 on: October 13, 2015, 11:26:30 am »
Hi Lee,

would 192.168.0.100:2000 by Eth 0 allow monitoring via the web interface on a PC while the Android Sky Demon connection remains via wifi ?
I am presently trying to de bug why the connection to SD android drops out after a while. I am using a known good wifi dongle and the web interface appears to stay up. I am using a usb blox GPS dongle.
 Present efforts are to eliminate the power supply and understand the logging a little better but if it is power then the web interface should drop out...................

Best Regards
Doug

Hi Doug,

The WiFi can be accessed from any device.
The socket 2000, which is used by the Navigation device, currently only supports a single connection.
This may be enhanced in the future to multiple connections.

Thx
Lee

Admin

Re: 3rd Party Integrations
« Reply #8 on: October 13, 2015, 11:29:38 am »
Lee,

Is there any way to get the same connection through Ethernet? Reason I ask is that I use a built-in PC without WiFi in my plane and I'd love to use this with a direct Ethernet connection. I connected to 192.168.1.1 port 2000 on Ethernet and I can see that the RPi responds (ARP has RPi MAC address in it), but no messages appear

Hi Rob,
This should work.
I am sure in the past I have connected putty or telnet to this port.
the issue could be the connection is waiting for the connect pin to be provided.
try sending '6000' as ASCII once connected to the socket
Thx
Lee

chrismills

Re: 3rd Party Integrations
« Reply #9 on: October 20, 2015, 11:03:07 pm »
Can anyone advise on how I get SkyDemon to display callsign of traffic contacts, instead of 6 digit code.
Chris

Admin

Re: 3rd Party Integrations
« Reply #10 on: October 21, 2015, 11:41:59 am »
Can anyone advise on how I get SkyDemon to display callsign of traffic contacts, instead of 6 digit code.
Chris

Hi Chris,
which version are you running ?
This is actually nothing to do with PAW.
if PAW receives ADS-B with flightID info, it is annotated in the display, otherwise it will use the ICAO code

lmoon

Re: 3rd Party Integrations
« Reply #11 on: January 12, 2016, 10:41:57 pm »
Hi I hope this is the correct place to post this but as it entails an "add on" I hope it is OK.  I am working on adding a speech output to the PilotAware system as I would prefer to be looking out rather than down at my SkyDemon display which has to rest on my lap. - no space to nail it on the instrument panel in a Jodel 1050!  I see in a reply to grvbc above that you show some of the NMEA sentences. My question is does the unit also output the PFLAU sentence, as I should like to use it as my primary data. 
Regards

Lionel

scsirob

Re: 3rd Party Integrations
« Reply #12 on: January 13, 2016, 10:05:40 am »
Yes it does

$PFLAU,0,1,1,1,0,,0,,*63
$GPGGA,100420,5210.269,N,00527.608,E,2,05,1.0,0.0,M,-34.0,M,,*6D
$GPGSA,A,3,20,02,10,13,04,08,07,23,,,,,1.00,1.00,1.00*0A
$GPRMC,100420,A,5210.269,N,00527.608,E,0.000,0,130116,,,A*68
$PFLAA,0,-3227,10555,12182,1,E48FD5!PRCGI,311,,214,,8*7E
$PFLAA,0,-19234,22127,9256,1,A0F4B5!N1605,129,,247,,8*71
$PFLAA,0,-15747,-33770,11877,1,C051E4!C-GFAH,118,,264,,8*3E
$PFLAA,0,-36928,-14175,10361,1,4AC8D8!SE-RFX,211,,221,,8*5D
$PFLAA,0,20564,-34225,12494,1,4CA376!EI-FIE,79,,252,,8*2A
$PFLAA,0,-4904,39943,12182,1,8005EC!VT-ANB,263,,220,,8*28
$PFLAA,0,-52353,-48820,11588,1,495283!CS-TTC,43,,239,,8*1F
$PFLAA,0,80286,0,13096,1,4D20D9!4D20D9,237,,204,,8*57
$PFLAA,0,-69561,41796,11580,1,3C5464!D-AECD,318,,202,,8*6D
$PFLAU,0,1,1,1,0,,0,,*63


Admin

Re: 3rd Party Integrations
« Reply #13 on: January 13, 2016, 10:38:45 am »
Hi I hope this is the correct place to post this but as it entails an "add on" I hope it is OK.  I am working on adding a speech output to the PilotAware system as I would prefer to be looking out rather than down at my SkyDemon display which has to rest on my lap. - no space to nail it on the instrument panel in a Jodel 1050!  I see in a reply to grvbc above that you show some of the NMEA sentences. My question is does the unit also output the PFLAU sentence, as I should like to use it as my primary data. 
Regards
Lionel

Hi Lionel,
As Rob already answered, yes it does produce the PFLAU messages.
I am intrigued how you intend to add the speech output ?
The reason I ask is because PilotAware is a closed system.
I believe we could investigate adding speech out directly using the on-board Audio output, this has been discussed in the past.
I would be interested on your thoughts.
By the way, the best place to continue this is probably under the Enhancements heading, here
http://forum.pilotaware.com/index.php/topic,4.0.html

Thx
Lee

Dave W

Re: 3rd Party Integrations
« Reply #14 on: January 13, 2016, 01:30:26 pm »
... at my SkyDemon display which has to rest on my lap. - no space to nail it on the instrument panel in a Jodel 1050!

Oh, I dunno. :)



(Well, it's a 1051 but no real difference)
« Last Edit: January 13, 2016, 01:33:24 pm by Dave W »