SHOW — Management and execution of drone shows

TODO: document this

SHOW-CFG - Retrieve the current configuration of the drone show

TODO: document me!

Example request

{
    "type": "SHOW-CFG"
}

Example response

{
    "type": "SHOW-CFG",
    "configuration": {
        "start": {
            "authorized": false,
            "time": 1581881192,
            "method": "auto",
            "uavIds": ["01", "42"]
        },
        "mapping": ["01", "02", null, "05", "42"]
    }
}

TODO: document this

SHOW-LIGHTS - Retrieve the current configuration of the behaviour of the LED lights on the show drones

TODO: document me!

Example request

{
    "type": "SHOW-LIGHTS"
}

Example response

{
    "type": "SHOW-LIGHTS",
    "configuration": {
        "color": [0, 128, 255],
        "effect": "solid"
    }
}

SHOW-SETCFG - Set the current configuration of the drone show

TODO: document me!

Example request

{
    "type": "SHOW-SETCFG",
    "configuration": {
        "start": {
            "time": 1581881192,
            "method": "auto",
            "uavIds": ["01", "42"]
        },
        "mapping": ["01", "02", null, "05", "42"]
    }
}

Example response

{
    "type": "ACK-ACK"
}

SHOW-SETLIGHTS - Set the behaviour of the LED lights on the show drones

TODO: document me!

Example request

{
    "type": "SHOW-SETLIGHTS",
    "configuration": {
        "color": [255, 128, 0],
        "effect": "solid"
    }
}

Example response

{
    "type": "ACK-ACK"
}