enum Jtagice3DiscoveryCommands {
    CMD_QUERY                       = 0x00, //! Capability discovery 
};

enum Jtagice3DiscoveryResponses {
    RSP_DISCOVERY_LIST              = 0x81, //! List of items returned
    RSP_DISCOVERY_FAILED            = 0xA0, //! Command failed to execute
};

// Generic failure codes
enum Jtagice3FailureCodes {
    FAILURE_OK                      = 0x00, //! No error
    FAILURE_USB_PREVIOUS_UNDERRUN   = 0xE0, //! Previous command had too few bytes
    FAILURE_UNKNOWN                 = 0xFF  //! Unknown failure
};

enum Jtagice3Discovery {
    DISCOVERY_COMMAND_HANDLERS      = 0x00, //! List available command handlers
    DISCOVERY_TOOL_NAME             = 0x80, //! Query tool name
    DISCOVERY_SERIAL_NUMBER         = 0x81, //! Query tool serial number
    DISCOVERY_MNF_DATE              = 0x82  //! Query tool manufacturing date
};

enum Jtagice3DiscoveryFailureCodes {
    DISCOVERY_FAILED_NOT_SUPPORTED  = 0x10  //! Unsupported function
};