Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The config file itself consists of two sections: ConnectionConfig and TrebuchetApps, which are the Radar Discovery Connection Details and the App Configuration respectively.

...

The first section of an appConfiguration.json file - ConnectionConfig, instructs the app how to listen for radar discovery data for the Radar Discovery section. For example:

DiscoveryIPAddress: The multicast address from which to expect the messages.

...

Above the App Parameters panel in Trebuchet is the Connection Details panel, which contains the Hostname Use fixed address for all apps option, IP Address and Port fields. These The fields have some special characteristics unique to themselves.

If an app takes in parameters named ipaddress/ip_address and port as either global parameters (i.e. a blank group name) or as part of a Radar Group, then they will be translated to Hostname IP Address and Port in the radar. In other words, the values of Hostname IP Address and Port will always represent the radar’s connection details.

If you enter ipaddress and port as global options and do not see those options appear in the side panel, you should check to see if Hostname IP Address and Port are enabled in the connection panel. If the app cannot find these parameters in the config under the blank or Radar Group names, then these options will be greyed out.

...

Code Block
{
    "ConnectionConfig": {
      "DiscoveryIPAddress": "239.69.69.69",
      "DiscoveryInterface": "0.0.0.0",
      "DiscoveryPublishPeriod": 5000,
      "Port": 6317
    },
    "TrebuchetApps": [
      {
        "Name": "Radar Utilities",
        "Description": "CLIManage to manage radars and onboard trackers",
        "LaunchCommand": "",
        "ExePath": "C:\\Local\\Tools\\RadarUtilities-1.2.0.88\\RadarUtilities.exe",
        "ParameterGroups": [
          {
            "GroupName": "radar",
            "Parameters": [
              {
                "ShortForm": "i",
                "LongForm": "ipaddress",
                "Required": true,
                "HasArguments": true,
                "DefaultValue": "192.168.0.180"
              }
            ]
          }
        ],
        "MutualExclusiveGroups": [
          {
            "GroupName": "versioninfo",
            "Parameters": [
              {
                "ShortForm": null,
                "LongForm": "versioninfo",
                "Required": true,
                "HasArguments": false,
                "DefaultValue": ""
              }
            ]
          },
          {
            "GroupName": "reboot",
            "Parameters": [
              {
                "ShortForm": null,
                "LongForm": "reboot",
                "Required": true,
                "HasArguments": false,
                "DefaultValue": ""
              }
            ]
          }
        ],
        "ExecutionEnv": null
      },
      {
        "Name": "Radar Utilities 2",
        "Description": "CLI to manageManage radars and onboard trackers",
        "LaunchCommand": "",
        "ExePath": "C:\\Local\\Tools\\RadarUtilities-1.2.0.88\\RadarUtilities.exe",
        "ParameterGroups": [
          {
            "GroupName": "radar",
            "Parameters": [
              {
                "ShortForm": "i",
                "LongForm": "ipaddress",
                "Required": true,
                "HasArguments": true,
                "DefaultValue": "10.77.5.233"
              }
            ]
          }
        ],
        "MutualExclusiveGroups": [
          {
            "GroupName": "versioninfo",
            "Parameters": [
              {
                "ShortForm": null,
                "LongForm": "versioninfo",
                "Required": true,
                "HasArguments": false,
                "DefaultValue": ""
              }
            ]
          },
          {
            "GroupName": "reboot",
            "Parameters": [
              {
                "ShortForm": null,
                "LongForm": "reboot",
                "Required": true,
                "HasArguments": false,
                "DefaultValue": ""
              }
            ]
          }
        ],
        "ExecutionEnv": null
      }
    ]
  }

...