Old 744 Forum

Archived posts

Foreflight Connection - Help Please

Page: 1

Author Post
Member
Registered: Jan 2012
Posts: 75
Location: EGNJ
I cannot get this to work with PSX.
Can someone explain the process please?

Thanks
Malcolm
Member
Registered: May 2009
Posts: 91
Location: Centennial, Colorado USA
You might try AdaptPSX: http://aerowinx.com/forum/topic.php?id=1761
Member
Registered: Jan 2012
Posts: 75
Location: EGNJ
Perhaps I ought to explain my problem.

I have downloaded the Foreflight connector app by Balt. I run PSX, start the network server, run the connector app and connect. All looks good as PSX looks to be sending the connector data.

I open foreflight on my iPad, but my PC is not recognised under the Devices option.

I do know that my PC and iPad have different IP addresses, but I am not sure if this is the cause. They are both connected to the same network.

Thanks
Member
Registered: Jun 2009
Posts: 87
Location: KMEM
Make sure the PSX is on the network as a Server.

I haven't flown in a month (too busy) but that worked for me...
Member
Registered: Jan 2012
Posts: 75
Location: EGNJ
Still not working. Can somebody help please??!!

Some technical info:
PC running Windows 8.1
Java Runtime version: 1.7.0_67
IP Address of PC running PSX and FF Connector: 192.168.0.21
IP Address of iPad: 192.168.0.6

PSX and the FF Connector appear to be running together properly, and the connector is receiving data from PSX.

I simply cannot connect to the iPad. Nothing in the Devices tab in Foreflight.
Member
Registered: Aug 2014
Posts: 14
Location: EHAM
Check your firewall settings on Windows and look if it's allowing traffic from 192.168.0.6 to your PSX server and back on port 10747 and/or 10748.
_______________
Rgrds,

Edwin
Member
Registered: Jan 2012
Posts: 75
Location: EGNJ
Thank you for the advice, but i wouldnt know where to start to do that!
:'(
Member
Registered: Jan 2013
Posts: 318
Location: YSSY
Hi Malcolm,

sorry for not seeing your post earlier. My email address is on the settings dialog so you could have just emailed me for support... :-)

Can you confirm that you see messages inside the "Foreflight messages sent" box, similar to this screenshot:
User posted image

Further things to check;

- Does the checkbox "Server Connection" stay on when you click it? If not, that indicates PSX cannot be contacted. That could be because a) your IP address for PSX is wrong, or b) the computer running PSX does not allow TCP connections to port 10747 due to e.g. a firewall blocking it.

- You can also start the foreflight connector in debug mode and send me the output from the terminal. Open a terminal (or DOS box in Windows) and navigate to the directory where Ffc2.jar is located, then enter the following command:

java -jar Ffc2.jar debug


This will print some debug information and usually helps with resolving such problems. Copy/paste the output in the terminal into an email (or into a message here).

Cheers

- Balt
« Last edit by Balt on Sat, 04 Apr 2015 23:54:09 +0000. »
Member
Registered: Jan 2012
Posts: 75
Location: EGNJ
Hi Balt

Yes, I get a similar screenshot.

The Server connection check box stays on always, and messages sent change as the aircraft moves.

I entered the line as given at the command line prompt. FFC did not run and I got the message:
'java' is not recognised as an internal or external command, operable program or batch file.

I tried typing "FFc2.jar debug" and FFC starts as normal, but I get no other information on screen.

Thanks
Malcolm
Member
Registered: Jan 2013
Posts: 318
Location: YSSY
Check the terminal where you started the jar file from. that's where the debug output is written to.

looks like maybe the machine ffc2.jar is running on might not like to broadcast or has multiple network interfaces and it is broadcasting on the wrong one.

Cheers

- Balt
Member
Registered: Jan 2012
Posts: 75
Location: EGNJ
Member
Registered: Jan 2013
Posts: 318
Location: YSSY
We'll figure it out in the end, don't worry... :-)

Let me know when you can get that debug output to me.

Cheers

- Balt
Member
Registered: Jan 2012
Posts: 75
Location: EGNJ
Balt

OK thanks for your continued support with this. Much appreciated.

May I suggest I try and get the debug working first?

I have entered the following line in a Windows command line prompt, as you suggested:

java -jar Ffc2.jar debug

I get the following response:

'java' is not recognised as an internal or external command, operable program or batch file.

This suggests to me that the neither Ffc2 or debug has launched.

So, what now please?

Malcolm
Member
Registered: Jan 2013
Posts: 318
Location: YSSY
Hi Malcolm,

if just typing "java" in the command window doesn't find the java executable, try to use the following command line (including the quotes, and XXX is the java runtime environment version, easiest to just type everything to and include jre and then hit the tab key so it autocompletes the full version path, then add the rest):

"C:\Program Files (x86)\Java\jreXXXX\bin\java.exe" -jar Ffc2.jar debug

Then send me the output of what you find in the terminal: click on the top left corner of the command window, select "edit->select all" in the menu and hit the enter key to copy it to the clipboard. Then email or post the contents of that here.

While you're at it, exit the Ffc2.jar app, and in the command window type:

ipconfig /all

and copy/paste the output of that command into an email to me as well please.

Cheers

- Balt
Member
Registered: Jan 2012
Posts: 75
Location: EGNJ
Good evening Balt
(at least it is here in the UK)!

I have had success with the debug and ipconfig files.

I have emailed them to your @inside.net addy.

Thanks
Malcolm
Member
Registered: Jan 2013
Posts: 318
Location: YSSY
For information: I'll shortly be releasing an update which addresses this issue by allowing to manually specify a broadcast address. Details will be on http://www.inside.net/ss/foreflight-connector-for-psx/

Cheers

- Balt
Member
Registered: Jan 2012
Posts: 75
Location: EGNJ
Hi Balt

Thank you for your support for solving my problem off-line.

The Foreflight connector is a great addon and I would recommend it to all!

Cheers :D

Malcolm

Page: 1

Old 744 Forum is powered by UseBB 1 Forum Software