summaryrefslogtreecommitdiffstats
path: root/RedirectionConstants.h
diff options
context:
space:
mode:
authorHannes Reinecke <hare@suse.de>2022-04-11 16:19:50 +0200
committerGerd Hoffmann <kraxel@redhat.com>2022-04-22 14:52:30 +0200
commit9cf44be87fb50ce116e1cbfbff1fa3e8771c15a4 (patch)
tree16f0b015baa283775be8be3b52148908994a9068 /RedirectionConstants.h
parente5a8f42c1a8bd2ae29d3e826fb3a7cf71a0c3068 (diff)
downloadamtterm-9cf44be87fb50ce116e1cbfbff1fa3e8771c15a4.tar.gz
redir: add ider reset handling
Diffstat (limited to 'RedirectionConstants.h')
-rw-r--r--RedirectionConstants.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/RedirectionConstants.h b/RedirectionConstants.h
index b05060f..e5db8aa 100644
--- a/RedirectionConstants.h
+++ b/RedirectionConstants.h
@@ -67,12 +67,19 @@
#define IDER_DATA_FROM_HOST 0x53
#define IDER_DATA_TO_HOST 0x54
+/* IDER disable/enable features sub commands */
+#define IDER_FEATURE_GET_SUPPORTED 0x01
+#define IDER_FEATURE_GET_REGISTER_STATE 0x02
+#define IDER_FEATURE_SET_REGISTER_STATE 0x03
+#define IDER_FEATURE_ENABLE 0x01
+
#define START_IDER_REDIRECTION_LENGTH 18
#define START_IDER_REDIRECTION_REPLY_LENGTH 30 //TODO: There is a OEM Defined data field that we are assuming to be 0 bytes..
#define END_IDER_REDIRECTION_LENGTH 8
#define END_IDER_REDIRECTION_REPLY_LENGTH 8
#define IDER_RESET_OCCURED_LENGTH 9
#define IDER_RESET_OCCURED_RESPONSE_LENGTH 8
+#define IDER_DISABLE_ENABLE_FEATURES_LENGTH 13
#define IDER_DISABLE_ENABLE_FEATURES_REPLY_LENGTH 13
#define IDER_COMMAND_END_RESPONSE_LENGTH 31
#define IDER_GET_DATA_FROM_HOST_LENGTH 31