Replies: 1 comment 2 replies
-
LNM uses SimConnect to connect to MSFS, FSX and P3D (code is here: https://github.com/albar965/atools/tree/release/4.0/src/fs/sc). This is more or less bi-directional if you consider weather requests. I suppose this is not usable to adapt to other sims. X-Plane needs a plugin to connect to Little Navmap: https://github.com/albar965/littlexpconnect/tree/release/1.2 Little Navconnect connects to the simulators the same as LNM but provides the data across a plain TCP/IP connection. Have plans to replace this with RestAPI. In all of the above cases the class SimConnectData (https://github.com/albar965/atools/blob/release/4.0/src/fs/sc/simconnectdata.h) and its aggregated are used to transfer the data. The content of objects is directly serialized into and from a binary stream using Qt streams. The stream data is platform independent. Additionally there is a web API: https://www.littlenavmap.org/manuals/littlenavmap/release/latest/en/WEBSERVER.html#webapi No, I don't use DIS (supposedly this one https://open-dis.org/ ?). Alex |
Beta Was this translation helpful? Give feedback.
-
Hello,
I'm trying to judge the amount of work needed to add a connection to a different simulator. What is the connection mechanism/protocol for connecting to simulators? Is this a one-way connection, or two-way? Does littlenavmap use DIS? I'm trying to understand if I might use this software with something like AFSIM. Thank you for your time.
Beta Was this translation helpful? Give feedback.
All reactions