Saturday, October 15, 2011

PS UDP Falcon Server for Android 2.2 (v0.8)(Beta)


This application extracts the flight data from Open Falcon, Falcon AF and Falcon BMS flight simulators acting like a server and send this data to an android mobile device running the client application PS Gauges trough the TCP/UDP net protocol.

PS UDP Falcon supports 5 clients connected at the same time so you can use five different android devices. Three of them are used for flight data, one for the left MFD, one for the right MFD and one for the HUD.

PS Gauges client application needs Android 2.2

PS Gauges can display in your mobile device the following instruments: RPM, RWR, HSI, DED, PFL, ADI, VVI, AOA, ASI, ALT, CMPSS, CP, FFI, FI, ICP, LMFD, HUD and RMFD.

Download

Installation notes:
- Unrar the file
- Install PS UDP in your computer with PSUdpSetUp.exe
- Install PSGauges.apk in all your favorite android devices

Enjoy it!!!

Please post your comments and suggestions to keep improving the application.

Regards,
Shep

30 comments:

  1. Hi Shep.

    I install your app without any errors, and when I try to run it, i get an error message "Error starting Direct Input, please make sure you have DirectX installed. After the error, the program runs but the instrument on my indroid phone are not working.

    I'm running Falcon 4 BMS 4.32 over Windows 7 (DirectX 11)

    Plz if you can help me with this thing!!! I think that it is a great tool!!

    Thnxs four your work Shep!

    Greetings
    Gavilan

    ReplyDelete
  2. Try to copy the library dx7vb.dll in the PS Udp directory. Directinput is used to detect if you change the view of the simulator. If you are using BMS there is no need to do it so I think the problem is not the library.
    Check if you get any message when starting the server and if you have a fixed IP on the android device. TCP protocol needs that both the PC and the android device are in the same network. I do it across WIFI.
    Regards,
    Shep

    ReplyDelete
  3. Excellent and Thanks a lot.

    It's why lot of android 2.2+ tablet are sell for christmas ;-) Just a problem to view LMFD and RMFD with my android 2.3 tablet.

    Aigle-Badbirds

    ReplyDelete
  4. Hi Shep.

    It's seems I have a problem with my Win7. I installed your software in a computer with XP and there are no error related with DirectInput.

    Any other idea?

    Merry Christmas!

    ReplyDelete
  5. I installed the software on Win7 with no problem. Did you copy the dx7vb.dll library in the PS Udp directory?
    Regards and Merry Christmas to everybody.
    Shep

    ReplyDelete
  6. Hi shep!
    I don't know what did you do to get the dx7vb.dll library in Windows 7. I read out there that this library is no longer a part of the DirectX over Windows 7.

    So I just took this dll from a computer with XP SP3 and copyed it into the PS Udp directoy, and nothing, same error.

    May I have to register this dll... I don't know.

    How did you install these dll over Windows 7?

    Thnxs man! and Happy New Year for you and everybody!

    ReplyDelete
  7. Is this for only monitoring?

    ReplyDelete
  8. hi
    i have the same errors, can you help me?

    sorry for my english.

    bye

    ReplyDelete
    Replies
    1. Hi, try with the new Setup file.
      Regards,
      Shep

      Delete
  9. HI Shep.
    Tried out the app with my android 4.1.1, BMS 4.3.2 update 3, Windows 7 64 bit. Here's what i did.
    1. BMS, Hardware Settings, select 'cockpit display to external windows'.
    2. PSUdp server, LMFD local port 1005, client ip 192.168.1.2,client port 4444.
    3. on Tablet, server ip 192.168.1.55 (got this from wifi settings), LMFD server port 1005, timer 100, run checked.
    4. clicked 'connect', and msg came up 'LMFD's client connected.
    5. tablet, gauges page, selected 'LMFD', and ticked show gauge and show frame.
    6. back button twice, to display the LMFD, with fps showing.
    7. On pc started bms, and opened a te.
    Result
    Nothing on the tablet, only mfd frame and fps indicator.

    also pinged between 192.168.1.55 (server) and 192.168.1.2) client, and ping worked both ways.

    Only thing which looks questionable, is the local ip on the tablet which is displayed as an IP6 (fe80::5eff:fe22:c8c9%wlan0). But there seems no option to change this. Im not so familiar with iPv6, did try to use it as the client add ress in the server, but still same result. Also noted that i get the 'client connected' msg on the tablet even if the server is not running??.

    If anyone has any idea of what im doing wrong, please post. Cheers
    Fish. Am really keen to get this working for my ICP

    ReplyDelete
    Replies
    1. Hi Fish, you can't connect a iPv6 with a iPv4. Try to assign a fixed IP in your tablet. In the field local IP of the tablet you have to see a iPv4.
      Regards,
      Shep

      Delete
  10. I'm also having trouble connecting my CM9 tablet to PS UDP, and I think it's an ipv6 issue. When I run PS Guages, my "Local IP" is an ipv6. I tried setting a static IPv4, which worked according to android settings, but it still doesn't show here.

    Another (related?) weird thing: when I hit "Connect" it says "RMFD Client Connected" (or whatever the last checked item is, e.g. guages, LMFD) no matter what I have for the Server IP. I can put anything in there, and it will still say connected.

    ReplyDelete
  11. Hi,

    I got a Sylvania tablet model SYTAB10ST and I got 2 USB port and a network port and I want to get it work. Can you give me the entire procedure from the beginning. There's some informations missing here...

    Thank you for your help.

    ReplyDelete
  12. For those having the ipv6 issue, I found a fix that worked for me. Running CM9 (ICS) on an HP Touchpad.

    Run a shell, using a Terminal Emulator etc, and run these commands:

    su
    echo 1 > /proc/sys/net/ipv6/conf/wlan0/disable_ipv6

    The "su" was required to get the permissions for the actual command, the one below that.

    Unfortunately, you need to do this every time you connect to WiFi; it gets reset when WiFi is turned off or loses signal.

    To automate it, you can use the Tasker app from the market:

    new profile > state > net > wifi connected
    leave everything on the next screen blank

    new task > script > Run Shell

    command: echo 1 > /proc/sys/net/ipv6/conf/wlan0/disable_ipv6
    check "use root".

    Then every time you either turn off wifi, or go out of range, when it reconnects or you turn it back on, it fires that profile and disables ipv6.

    Good luck! (and many many thanks for the app, JShep!)

    ReplyDelete
    Replies
    1. Hi Grumbles,

      Thanks for your contribution.
      Hope it fix the ipv6 issue.

      Regards,
      Shep

      Delete
  13. Hi Shep,

    Is there a way or a procedure that we can display both MFD on the same tablet?

    Thanks!!!

    ReplyDelete
    Replies
    1. Yes of course, select both with the same ip and different ports.

      Delete
  14. I think a short configuration's guide for newbies would be very helpful and would save you some time answering comments.

    my 2 cents

    ReplyDelete
    Replies
    1. You are right!!. I'm actually engaged with other project, but I have planned to make the guide along with some minor modifications.
      Regards,
      Shep

      Delete
  15. Hi Shep,

    My problem is about IP6, but the main problem is that i don't have access to the LocalIP adress field. If I could erase and fill it with my own IP adress, maybe the problem could be solve.

    Could you look at this and make a update in this way !


    Thanks !

    SilverFox

    ReplyDelete
  16. ok, thanks Shep !

    Silverfox

    ReplyDelete
  17. Someone managed to put the MFDs on a Samsung Galaxy S phone. But I sure can't.
    Tried playing with the ports, IP, Server, Client to no use.
    I is connected but won't play anything on the screen.
    I even tried it on my Ainol Fire Tablet, same goes there.. no joy.

    Is there an exact procedure to follow which will make it work?
    Thanks Shep.

    ReplyDelete
  18. I'm going to rewrite some code to show messages in the MDF, write a decent help file and extract them from the share memory but I'm now busy in the RL so it will take me some weeks.
    Meanwhile,
    1. Check that you are accessing the WIFI in IP4 mode.
    2. Be sure to activate the external MFD windows in the BMS configuration (I'm wondering you are trying in BMS) with 256x256 resolution.
    3. Check the IPs and ports.
    4. Lower the resolution checking the JPG at 70%.

    Regards,
    Shep

    ReplyDelete
  19. Hi Shep,
    I just bought a Lenovo Ideatab and installed your softwre to use with Falcon BMS. I cant get the Local IP to change under the TCP/IP connection screen. Im not really sure what to do about it. I dont understand the IPv4 Vs. IPv6 issue you had mentioned before... I cant find a way to lock the tablet into a static IP. any help would be really appreciated. The App looks awesome!

    ReplyDelete
    Replies
    1. Hi,
      If you see the IP address in hexadecimal format (3FFE:FFFF:7654:FEDA:1245:BA98:3210:4562) then your IP is v6.
      IPv6 is not supported. In some devices the IPv6 can be disable. Look at the configuration to see if it is your case.
      Other thing to take in account is that the program works with WIFI, not 3G, so you need to have an access point to your computer network.
      Regards,
      Shep

      Delete
  20. Hi all
    Any option for ipv6 isue?
    Rooting needed is not "fun" at all

    Any solution without rooting tablet welcome...

    ReplyDelete
  21. Thankyou so much for this application Shep.
    I would really like to have something like this working for the raspberry pi or some similar, cheaper alternative to a full android device.

    ReplyDelete
  22. The MFDs are not working in 4.33 with using the shared memory function. The gauges work fine though.

    ReplyDelete
  23. In BMS the software only works with the Cockpit Display Extratcion.
    Anyway, I'm preparing a new versiĆ³n for Shared Memory Extraction.
    Regards,
    Shep

    ReplyDelete