From 0dd8dbfb64d950765498e12292bef9a60037e68e Mon Sep 17 00:00:00 2001 From: Thomas Stoddard Date: Wed, 8 Jul 2026 01:47:52 +0000 Subject: [PATCH] Communication: Command: Add Main51 errors --- include/icsneo/communication/command.h | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/include/icsneo/communication/command.h b/include/icsneo/communication/command.h index 21e93df..6274b02 100644 --- a/include/icsneo/communication/command.h +++ b/include/icsneo/communication/command.h @@ -6,6 +6,22 @@ namespace icsneo { enum class Command : uint8_t { + // Device-originated Main51 event/error notifications (device -> host) + Main51RxBufferOverflow = 0x01, + Main51StartCmd = 0x02, + Main51TxFifoOverflow = 0x03, + Main51BulkInNoData = 0x04, + Main51SetModeComplete = 0x05, + Main51ReadEeprom = 0x06, + // 0x07, 0x08, 0x09 reserved for host->device commands below + Main51CmdDone = 0x0A, + Main51ErrStatus = 0x0B, + Main51ReadSectorBuff = 0x0C, + Main51WriteSectorBuff = 0x0D, + Main51MmcProcessDone = 0x0E, + Main51ReInitDone = 0x0F, + + // Host-originated commands (host -> device) EnableNetworkCommunication = 0x07, EnableNetworkCommunicationEx = 0x08, KeepAlive = 0x09,