Is there a list of simvars with their data types? I’m building a client that
talks with the embedded web server in FSUIIPC It asks for data type when
declaring a simvar to listen to .
// create the request object
var request = {
command: 'offsets.declare',
name: 'myOffsets',
offsets: [
{
name: 'altitude', address: 0x0570, type: 'int', size: 8 },
{
name: 'avionicsMaster', address: 0x2E80, type: 'uint', size: 4 },
{
name: 'heading', address: 0x0580, type: 'uint', size: 4 },
{
name: 'aircraftName', address: 0x3D00, type: 'string', size: 256 },
]
}
// send to the server as a JSON string
if (ws) {
ws.send(JSON.stringify(request));
}