This request returns the DMX Input data that is present on only the Hardwired DMX input ports.
URL:
/get.cgi?req=hdi
Response:
The following variable-length data structure will be returned by this request.
typedef struct DMXInputUniverse {
uint8_t universeIndex; // Index of universe
uint16_t channels; // Number of channels in this universe
uint8_t values[]; // Variable-length array of channel values
} DMXInputUniverse;
typedef struct DMXInput {
uint8_t universeCount; // Number of universes received
DMXInputUniverse universe[]; // Structure repeated for each universe
} DMXInput;
Errors:
If an error occurs during the processing of the request, only a single byte will be returned by this URL. The value of the returned byte is explained in the following table:
| Error Value | Description |
|---|---|
0xFF |
An internal memory error occurred. |

