HTTP Server

The GCS app has built-in HTTP server (listening on port 9280).

Server capabilities include:

  • Provide datalink stream to other GCS components;
  • Control any particular Mandala variable;
  • Execute JavaScript commands;
  • Reply requested Mandala variable value;
  • Google Earth real-time flight visualization and analysis of telemetry data;

To see the server welcome message - start the GCS and open this link in browser: http://127.0.0.1:9280

Multiple GCS operation

The GCS can connect remotely to another GCS datalink through TCP connection. Each GCS instance creates server and accepts external connections.

When GCS finds another server in local network, it appears under menu Preferences/Datalink/Remote servers and can be used for datalink connection. Moreover, the direct connection could be set-up with the Preferences/Datalink/Local Ports.

VPN Support

Datalink server has the capability to establish connection through internet with another GCS.

Two or more GCS interfaces could be connected to one or more datalink modems. the connection requires static ip, thus VPN connection is recommended.

To request for online support for tuning or troubleshooting, contact us to receive credentials to access our network.

Mandala control

The HTTP server will accept any request beginning with /mandala. The request parameters are following ? char, and are optional. Several request parameters can be combined in one request and separated by the & sign.

The following parameters are accepted:

  • <variable name> - will return it’s value, f.ex. ?ctr.str.brake;
  • <variable name>=<value> - will set the new value and send it to UAV;
  • descr - variables will be returned with their descriptions;
  • scr=<JS script> - will evaluate JS script in the application context;

For example, assuming you run GCS on the local machine, the following requests are valid:

Google Earth Visualization

Add the following link to Google Earth:

http://<IP address of GCS machine>:9280/kml

.. i.e. if you run both the GCS and GoogleEarth on the same machine, use:

http://127.0.0.1:9280/kml

GoogleEarth Visualization