enum io.HwcMsgCode

enum HwcMsgCode: uint8_t {
    Success                    = 0,
    ErrorString                = 1,
    Error                      = 32,
    Progress                   = 26,
    Tx                         = 2,
    Rx                         = 3,
    SerialLineError            = 33,
    SerialCtsDsr               = 34,
    SerialSetDtr               = 36,
    SerialSetRts               = 37,
    SerialSetBreak             = 38,
    SerialSetConfig            = 39,
    SerialTransmit             = 40,
    SerialTapRtsDtr            = 4,
    SerialTapCtsDsr            = 5,
    SerialTapSetConfig         = 6,
    FpgaBufferOverflow         = 7,
    FpgaUnexpectedCode         = 8,
    FpgaIncompleteByte         = 9,
    I2cTapStart                = 10,
    I2cTapFinalizeStart7Bit    = 11,
    I2cTapFinalizeStart10Bit   = 12,
    I2cTapStop                 = 13,
    I2cTapStopOutOfTransaction = 14,
    I2cTapTxNack               = 15,
    I2cTapRxNack               = 16,
    I2cTapUploadFirmware       = 17,
    I2cTapStartCapture         = 18,
    I2cTapStopCapture          = 19,
    SpiTapStart                = 20,
    SpiTapStop                 = 21,
    SpiTapTxRx                 = 22,
    SpiTapUploadFirmware       = 23,
    SpiTapStartCapture         = 24,
    SpiTapStopCapture          = 25,
    EthernetTapPacket_ch1      = 27,
    EthernetTapPacket_ch2      = 28,
    EthernetTapUploadFirmware  = 29,
    EthernetTapStartCapture    = 30,
    EthernetTapStopCapture     = 31,
};