Files
qt5-legatus-legacy/Lts/Proxies/TrainingAreaBase/Plugins/ApacheHlaJson/ICD_apache_hla_telegrams.md
T
2026-08-13 18:33:10 +02:00

2.2 KiB
Executable File

All Telegrams only defined for communication between TAB-Plugin and Apache Virtual Machine

AddParticipant Telegram(Sending updated or added participant to Apache)

Example Telegram:


 {
  typeId:8000,
  type: ApacheHlaAddParticipant,
  data:
       {
       header: {
                equipmentNumber: 42,
                timeStamp: MsecsSinceEpoch
               },
       status: 11,
       forceIdentifier: 42,
       ets: "2.0.0.0.0.0.1",
       GeoPosition: {
                    lon: 15.145274,
                    lat: 24.5554556,
                    z: 55.000124
                    }
       }
 }

RemoveParticipant Telegram(Sending deleted participant to Apache)

Example Telegram:


 {
 typeId:8001,
 type: ApacheHlaRemoveParticipant,
 data:
       {
       header: {
                equipmentNumber: 42,
                timeStamp: MsecsSinceEpoch
               }
       }
 }

Change Position Telegram( Send new Position of participant to Apache)

Example Telegram:


  {
  typeId:8002,
  type: ApacheHlaPositionChanged,
  data:
       {
       header: {
                equipmentNumber: 42,
                timeStamp: MsecsSinceEpoch
               },
       lon: 15.275884,
       lat: 37.854856,
       z: 42.255278
       }
  }

Change VulnerabilityState Telegram(Sending updated VulnerabilityState to Apache)

Example Telegram:


  {
  typeId:8003,
  type: ApacheHlaVulnerabilityStateChanged,
  data:
       {
       header: {
                equipmentNumber: 42,
                timeStamp: MsecsSinceEpoch
               },
       status: 11
       }
  }

AllChargeTypes Telegram(Sending all Charge Types at the beginning of an exercise to Apache)

Example Telegram:


  {
  typeId:8005,
  type: ApacheHlaSendChargeTypes,
  data:
       [
        {
         id: 420,
         name: 42mm,
         entityTypeStruct: TestTest,
         primaryGearTasCode: 11,
         radius: 7
        },
        {
         id: 777,
         name: 77mm,
         entityTypeStruct: TestTest,
         primaryGearTasCode: 77,
         radius: 77
        },
        {
         ...
        }
       ]
  }