Network Broadcast Format?

  • I thought I heard once they were sending data in a format compatible with x-plane

    Devons rig

    Intel Core i7 8700K @ 5.0GHz / 32.0GB G.SKILL TridentZ Series Dual-Channel Ram / ZOTAC GAMING GeForce® RTX 2080 Ti Triple Fan / Sound Blaster Z / Oculus Rift VR Headset / Klipsch® Promedia 2.1 Computer Speakers / ASUS ROG SWIFT PG279Q ‑ 27" IPS LED Monitor ‑ QHD / 2x Samsung SSD 850 EVO 500GB / Windows 10 Pro 64-bit /Gigabyte Z370 AORUS Gaming 5 Motherboard

  • Yea Ive since had a response from IPACS that it is proprietary... so that puts a stop to me developing software.


    They add the feature that could allow developers to create software/add ons to interact with the sim but then keep it a secret... :thumbup:

  • I use Avare on my my android tablet ( https://apps4av.com/ ) along with the avare external I/O plugin which is used to listen for an X-Plane or Flightgear host machine.

    This works flawlessly (and for free) with FS-2. So indeed, FS-2 is spewing data out in X-plane/Flightgear format. What that schema is, I can't tell you ( I haven't tried to track it down).


    -- Rich


    edit:

    Actually I'm looking at the data streaming into the avare x-plane connector. Looks like a JSON string with 'type', 'longitude', 'latitude', 'speed', 'bearing', 'altitude', 'time' being the parameters streamed.

  • Thanks, my next step was to stick a packet sniffer on the broadcast and see what I can get.


    All I want is to get the position data out. Really didn’t think it would be this difficult...


    can you actually see the string? If so could you paste it in for me to see?


    Otherwise I’ll grab avare external I/O plugin and have a look, is x-plane required to see?


    Thanks

  • is x-plane required to see?

    No

    Devons rig

    Intel Core i7 8700K @ 5.0GHz / 32.0GB G.SKILL TridentZ Series Dual-Channel Ram / ZOTAC GAMING GeForce® RTX 2080 Ti Triple Fan / Sound Blaster Z / Oculus Rift VR Headset / Klipsch® Promedia 2.1 Computer Speakers / ASUS ROG SWIFT PG279Q ‑ 27" IPS LED Monitor ‑ QHD / 2x Samsung SSD 850 EVO 500GB / Windows 10 Pro 64-bit /Gigabyte Z370 AORUS Gaming 5 Motherboard

  • Install Avare and the I/O plugin on an android device.

    Join via wifi the same network that your FS2 machine is on.


    Start FS2 and go to settings. My network is a typical 192.168.1.xxx, FS2 defaults to 192.168.1.255 as the broadcast IP and port 49002. Don't change anything (unless of course the first three numbers of the dotted quad don't agree with your network).

    Enable the broadcast output. That's it.

    Set a location for a flight and start it idling on the runway. You should be streaming udp packets.



    Pick up your android device.

    Start the avare i/o plugin. You should see the android device's IP. Set the correct listening port number 49002. Press the 'Listen' checkbox. That's it.


    Watch the data flow. It's a simple JSON string {name:value, name:value}


    Next step get into your development suite open a socket, setup a listener, decode the JSON string... and do something spectacular.


    You might want to actually try out Avare as it is pretty great in itself.. also the price is right.. Free.


    Good Luck


    -- Rich