Skip to content

aviaxsim/NMEASimConnect

Repository files navigation

License: MIT C++20

NMEASimConnect

NMEASimConnect is a TCP server that provides NMEA 0183 plane position sentences generated from data obtained from Flight Simulator (e.g. MSFS) via SimConnect.

It is useful for connecting applications like XC-Soar and LK8000 to a flight simulator.

Usage

  • Unzip the packaged to a folder on the PC running a simulator.
  • Optionally, edit NMEASimConnect.cfg.
  • Start NMEASimConnect.exe.
    • Allow connections to the program from the network if Windows prompts you, to enable devices to connect over the network.
    • The program will display the IP address and the TCP port it listens on for incoming connections.
  • Configure a device or application to use the provided IP address and TCP port. Multiple applications can be connected to the program.

NMEA sentences emulated

NMEA Sentence Data Unit Source
GPGGA UTC time of position fix HHMMSS.00 current system time
Latitude degrees PLANE LATITUDE
Longitude degrees PLANE LONGITUDE
Altitude above/below MSL meters PLANE ALTITUDE
GPRMC UTC time of position fix HHMMSS.00 current system time
Latitude degrees PLANE LATITUDE
Longitude degrees PLANE LONGITUDE
Speed over ground knots GROUND VELOCITY
True course degrees VELOCITY WORLD X, VELOCITY WORLD Z, PLANE HEADING DEGREES TRUE
Date ddmmyy current system date
Magnetic variation degrees GPS MAGVAR
PGRMZ QNE PRESSURE ALTITUDE meters PRESSURE ALTITUDE
GPGSA GNSS fix mode 1 | 3 1 - no data from SimConnect, 3 - data received
  • GPGGA, GPRMC, PGRMZ are transmitted when data is available from SimConnect.
  • GPGSA is transmitted periodically at all times.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published