Skip to content

Commit

Permalink
Merge pull request #144 from chrisoro/chrisoro-patch-1
Browse files Browse the repository at this point in the history
Handle ERR_CMD_UNKNOWN in GET_COMM_MODE_INFO
  • Loading branch information
christoph2 committed Sep 15, 2023
2 parents d58a0a2 + 1bc67fd commit 2e400aa
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pyxcp/errormatrix.py
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,7 @@ class Severity(enum.IntEnum):
Command.GET_COMM_MODE_INFO: {
XcpError.ERR_TIMEOUT: ((PreAction.SYNCH,), Action.REPEAT_2_TIMES),
XcpError.ERR_CMD_BUSY: ((PreAction.WAIT_T7), Action.REPEAT_INF_TIMES),
XcpError.ERR_CMD_UNKNOWN: ((PreAction.NONE), Action.DISPLAY_ERROR),
XcpError.ERR_CMD_SYNTAX: ((PreAction.NONE), Action.RETRY_SYNTAX),
XcpError.ERR_RESOURCE_TEMPORARY_NOT_ACCESSIBLE: (PreAction.NONE, Action.SKIP),
},
Expand Down

0 comments on commit 2e400aa

Please sign in to comment.