British Forum > General Discussion

3rd Party Integrations

(1/4) > >>

Admin:
First Posting

grvbc:
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:

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

--- End quote ---

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

scsirob:
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:

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

--- End quote ---

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

Navigation

[0] Message Index

[#] Next page

Go to full version