This request returns a Command Context data structure for the specified command context. This structure contains detailed information about a command context.

The CC selector was originally designed for CS1 and therefore is restricted to fixed point fade times and only up to 512 bits of the select buffer. This selector is provided for compatibility only and is not recommended for use with CS2.

URL:

/get.cgi?req=cc

Response:

The following data structure will be returned by this request.

typedef struct CCResult {       // (80 bytes)
    uint8_t             curPlayback;            // Current Playback (1..32)
    uint8_t             reserved1;              // -
    uint8_t             curTarget;              // Current Target
    uint8_t             isDMXTarget;            // Is the target a Channel-based object?
    uint16_t            fadeDownTime;           // Fade down time in tenth-second increments
    uint16_t            fadeUpTime;             // Fade up time in tenth-second increments
    uint16_t            delayDownTime;          // Delay down time in tenth-second increments
    uint16_t            delayUpTime;            // Delay up time in tenth-second increments
    uint8_t             reserved2[4];           // -
    uint8_t             selectBuf[64];          // Selection buffer
} CCResult;

 
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 shared memory error occurred.
0xFE An internal memory error occurred.