diff --git a/communication/message/apperrormessage.cpp b/communication/message/apperrormessage.cpp index 59e8f5a..038a389 100644 --- a/communication/message/apperrormessage.cpp +++ b/communication/message/apperrormessage.cpp @@ -130,6 +130,12 @@ std::string AppErrorMessage::getAppErrorString() { return "Device rebooted to recover from an unexpected error condition"; case AppErrorType::AppErrorPortKeyMistmatch: return std::string(netIDString) + ": Mismatch between key in manager and stored key"; + case AppErrorType::AppErrorBusFailure: + return std::string(netIDString) + ": Bus failure"; + case AppErrorType::AppErrorTapOverflow: + return std::string(netIDString) + ": Tap overflow"; + case AppErrorType::AppErrorEthTxNoLink: + return std::string(netIDString) + ": Attempted Ethernet transmit without link"; case AppErrorType::AppErrorErrorBufferOverflow: return "Device error buffer overflow"; case AppErrorType::AppNoError: diff --git a/include/icsneo/communication/message/apperrormessage.h b/include/icsneo/communication/message/apperrormessage.h index ba8ceef..8c81b54 100644 --- a/include/icsneo/communication/message/apperrormessage.h +++ b/include/icsneo/communication/message/apperrormessage.h @@ -57,6 +57,9 @@ enum class AppErrorType : uint16_t { AppErrorInvalidSetting = 42, AppErrorSystemFailureRequestedReset = 43, AppErrorPortKeyMistmatch = 45, + AppErrorBusFailure = 46, + AppErrorTapOverflow = 47, + AppErrorEthTxNoLink = 48, AppErrorErrorBufferOverflow = 254, AppNoError = 255 };