albar965 / littlenavmap

Little Navmap is a free flight planner, navigation tool, moving map, airport search and airport information system for Flight Simulator X, Microsoft Flight Simulator 2020, Prepar3D and X-Plane.
https://albar965.github.io/littlenavmap.html
GNU General Public License v3.0
1.27k stars 163 forks source link

NavConnect: Expose SimConnect data through gRPC interface #390

Open theckman opened 5 years ago

theckman commented 5 years ago

I'm not much of a Windows programmer these days, but would love to be able to query my FSX instance through the SimConnect SDK itself. Unfortunately, I'd need to jump through some hoops to be able to work with the SimConnect SDK in the language of my choosing (Go). Little NavConnect works great for running Little NavMap remotely, but I'd really love to be able to query it myself for positional data and weather details.

Might you consider exposing the NavConnect data through a gRPC interface so that anyone can easily work with it?

albar965 commented 5 years ago

Hi Tim,

gRPC looks interesting. It could be an alternative to the own binary protocol I'm using now. But currently I see no need to change it.

The problem is that this is a lot of work to implement and support.

If I would do it it would be based on FSX/P3D and X-Plane and all supported OS. SimConnect only is not an option and would require to expose/create too many functions. That would also mean limited functionality.

Have to see what can be done but I'd rather say it's unlikely to be implemented soon.

Alex