Well I am stuck in Kiev again, this time in a shitty hotel right on Independence square.
Great for beggars and prostitutes, but not what I am after. So I have hibernated in my hotel room and wrote some code.
I have written a test host for connecting external devices to the game.
At the moment I just have a F16 early block US threat warn prime panel emulated, but I still need the test host to test that.
You setup a world in the test host with a few clicks.
This is a complex threat situation with a couple of fighters in front of you, some ships to port, a helicopter to starboard. SAM and AAA around as well. Also a transport.
Then you start up the server and run up the RWR.
The RWR registers which data streams it wants. In this case RWR data with a max of 16 data entries and missile launch data.
The test host then send the data whenever something changes.
The RWR emulator is written in SDL (c++) so it can be compiled to run on Rasberry Pi's and just talks to the game (or test app) over UDP on the local network.
The buttons all work like they should do, for example hitting target sep gives you this.
When I get back to UK I will run it up on the Raspberry Pi with a 5" touch screen so you can see it live.