Page 1 of 1
Can the PE plugin broadcast traffic to an entire subnet?
Posted: Sun Oct 25, 2015 7:07 am
by mikec
X-Plane can broadcast simulated AHRS data to an entire subnet, so that everybody on that subnet can view your aircraft's simulated position. Can the PE client be set up to do the same for traffic, so all the iPads on the subnet can see PE's traffic on ForeFlight?
Thanks,
Mike
Re: Can the PE plugin broadcast traffic to an entire subnet?
Posted: Sun Oct 25, 2015 8:01 am
by stealthbob
Just to be clear about what you are asking...
PE does export the AHRS to iPad on the same network of your XPlane setup:
http://www.pilotedge.net/pages/download-software-xplane
Configuring traffic for ForeFlight
Note: this is available for Mac/Windows only and assumes that X-Plane is already configured to send GPS location data to ForeFlight
Navigate to the * plane/Resources/plugins/PilotEdge/VSPro Resources* folder
rename the VSProTrafficRelay.bak file to VSProTrafficRelay.ini
open the VSProTrafficRelay.ini file and insert the IP address of your iPad (ie, 192.168.1.10)
Connect to PilotEdge and enable Traffic within ForeFlight
You will now see all of the traffic within a 20nm radius of your location.
Re: Can the PE plugin broadcast traffic to an entire subnet?
Posted: Sun Oct 25, 2015 5:59 pm
by mikec
No, that's not exactly what I'm asking.
X-Plane has two modes for transmitting AHRS data:
1. Transmit directly to a single iPad via that device's IP address, or
2. Transmit to all iPads on a given subnet.
Based on the configuration page you referenced, the PE client definitely supports transmitting to a single iPad given its IP address, but I'm wondering whether it has a mode (similar to X-Plane) where it can broadcast traffic to all iPads on the subnet. I'm wondering this because I'm giving a demo of PilotEdge this Wednesday and I thought it would be cool if everybody in the audience could see the traffic on their iPads.
Mike
Re: Can the PE plugin broadcast traffic to an entire subnet?
Posted: Sun Oct 25, 2015 6:44 pm
by stealthbob
Keith would be the best to answer this but I would think this part may unfortunately be the your answer:
open the VSProTrafficRelay.ini file and insert the IP address of your iPad (ie, 192.168.1.10)
So maybe not necessarily an XPlane limitation but one from the PE plugin.
Re: Can the PE plugin broadcast traffic to an entire subnet?
Posted: Mon Oct 26, 2015 2:27 am
by kullery
It has been a while since I have used this but I checked my notes from when I tested this for Keith:
I tried it with a designated IP and also using “generic” 192.168.0.255 which also works. That sends it to the entire network which allows me to simultaneously see traffic on ipad and iphone (I have no reason to do this, but it works).
Re: Can the PE plugin broadcast traffic to an entire subnet?
Posted: Tue Oct 27, 2015 9:30 am
by stevekirks
kullery wrote:It has been a while since I have used this but I checked my notes from when I tested this for Keith:
I tried it with a designated IP and also using “generic” 192.168.0.255 which also works. That sends it to the entire network which allows me to simultaneously see traffic on ipad and iphone (I have no reason to do this, but it works).
the ".255" is the broadcast address of a subnet on an IP network, meaning if your software knows how to check it, it will read and use any packets from there. Things like DHCP use the broadcast address during the assignment process, checking the broadcast address for a UDP packet with info about how a client can find a DHCP server.
Re: Can the PE plugin broadcast traffic to an entire subnet?
Posted: Wed Oct 28, 2015 11:08 am
by Keith Smith
Using the broadcast address should work. The packet will arrive at the iPad and foreflight should read it.
Re: Can the PE plugin broadcast traffic to an entire subnet?
Posted: Wed Oct 28, 2015 9:04 pm
by mikec
I can verify I just tried this and it does indeed work.
Re: Can the PE plugin broadcast traffic to an entire subnet?
Posted: Thu Oct 29, 2015 4:25 am
by stealthbob
Just learned a new networking technique...always something new here and not always aeronautical.