summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--unit/stk-test-data.h80
-rw-r--r--unit/test-stkutil.c70
2 files changed, 80 insertions, 70 deletions
diff --git a/unit/stk-test-data.h b/unit/stk-test-data.h
index fbc76b11..b0fc5112 100644
--- a/unit/stk-test-data.h
+++ b/unit/stk-test-data.h
@@ -476,3 +476,83 @@ static const unsigned char get_inkey_response_811[] = {
0x81, 0x03, 0x01, 0x22, 0x00, 0x82, 0x02, 0x82, 0x81, 0x83, 0x01, 0x12,
0x04, 0x02, 0x01, 0x0B,
};
+
+static const unsigned char get_inkey_911[] = {
+ 0xD0, 0x1B, 0x81, 0x03, 0x01, 0x22, 0x00, 0x82, 0x02, 0x81, 0x82, 0x8D,
+ 0x0A, 0x04, 0x45, 0x6E, 0x74, 0x65, 0x72, 0x20, 0x22, 0x2B, 0x22, 0xD0,
+ 0x04, 0x00, 0x09, 0x00, 0xB4
+};
+
+#define get_inkey_response_911 get_inkey_response_111
+
+static const unsigned char get_inkey_921[] = {
+ 0xD0, 0x1B, 0x81, 0x03, 0x01, 0x22, 0x00, 0x82, 0x02, 0x81, 0x82, 0x8D,
+ 0x0A, 0x04, 0x45, 0x6E, 0x74, 0x65, 0x72, 0x20, 0x22, 0x2B, 0x22, 0xD0,
+ 0x04, 0x00, 0x09, 0x01, 0xB4
+};
+
+#define get_inkey_response_921 get_inkey_response_111
+
+static const unsigned char get_inkey_931[] = {
+ 0xD0, 0x1B, 0x81, 0x03, 0x01, 0x22, 0x00, 0x82, 0x02, 0x81, 0x82, 0x8D,
+ 0x0A, 0x04, 0x45, 0x6E, 0x74, 0x65, 0x72, 0x20, 0x22, 0x2B, 0x22, 0xD0,
+ 0x04, 0x00, 0x09, 0x02, 0xB4
+};
+
+#define get_inkey_response_931 get_inkey_response_111
+
+static const unsigned char get_inkey_941[] = {
+ 0xD0, 0x1B, 0x81, 0x03, 0x01, 0x22, 0x00, 0x82, 0x02, 0x81, 0x82, 0x8D,
+ 0x0A, 0x04, 0x45, 0x6E, 0x74, 0x65, 0x72, 0x20, 0x22, 0x2B, 0x22, 0xD0,
+ 0x04, 0x00, 0x09, 0x04, 0xB4
+};
+
+#define get_inkey_response_941 get_inkey_response_111
+
+static const unsigned char get_inkey_951[] = {
+ 0xD0, 0x1B, 0x81, 0x03, 0x01, 0x22, 0x00, 0x82, 0x02, 0x81, 0x82, 0x8D,
+ 0x0A, 0x04, 0x45, 0x6E, 0x74, 0x65, 0x72, 0x20, 0x22, 0x2B, 0x22, 0xD0,
+ 0x04, 0x00, 0x09, 0x08, 0xB4
+};
+
+#define get_inkey_response_951 get_inkey_response_111
+
+static const unsigned char get_inkey_961[] = {
+ 0xD0, 0x1B, 0x81, 0x03, 0x01, 0x22, 0x00, 0x82, 0x02, 0x81, 0x82, 0x8D,
+ 0x0A, 0x04, 0x45, 0x6E, 0x74, 0x65, 0x72, 0x20, 0x22, 0x2B, 0x22, 0xD0,
+ 0x04, 0x00, 0x09, 0x10, 0xB4
+};
+
+#define get_inkey_response_961 get_inkey_response_111
+
+static const unsigned char get_inkey_971[] = {
+ 0xD0, 0x1B, 0x81, 0x03, 0x01, 0x22, 0x00, 0x82, 0x02, 0x81, 0x82, 0x8D,
+ 0x0A, 0x04, 0x45, 0x6E, 0x74, 0x65, 0x72, 0x20, 0x22, 0x2B, 0x22, 0xD0,
+ 0x04, 0x00, 0x09, 0x20, 0xB4
+};
+
+#define get_inkey_response_971 get_inkey_response_111
+
+static const unsigned char get_inkey_981[] = {
+ 0xD0, 0x1B, 0x81, 0x03, 0x01, 0x22, 0x00, 0x82, 0x02, 0x81, 0x82, 0x8D,
+ 0x0A, 0x04, 0x45, 0x6E, 0x74, 0x65, 0x72, 0x20, 0x22, 0x2B, 0x22, 0xD0,
+ 0x04, 0x00, 0x09, 0x40, 0xB4
+};
+
+#define get_inkey_response_981 get_inkey_response_111
+
+static const unsigned char get_inkey_991[] = {
+ 0xD0, 0x1B, 0x81, 0x03, 0x01, 0x22, 0x00, 0x82, 0x02, 0x81, 0x82, 0x8D,
+ 0x0A, 0x04, 0x45, 0x6E, 0x74, 0x65, 0x72, 0x20, 0x22, 0x2B, 0x22, 0xD0,
+ 0x04, 0x00, 0x09, 0x80, 0xB4
+};
+
+#define get_inkey_response_991 get_inkey_response_111
+
+static const unsigned char get_inkey_9101[] = {
+ 0xD0, 0x1B, 0x81, 0x03, 0x01, 0x22, 0x00, 0x82, 0x02, 0x81, 0x82, 0x8D,
+ 0x0A, 0x04, 0x45, 0x6E, 0x74, 0x65, 0x72, 0x20, 0x22, 0x2B, 0x22, 0xD0,
+ 0x04, 0x00, 0x09, 0x00, 0xB4
+};
+
+#define get_inkey_response_9101 get_inkey_response_111
diff --git a/unit/test-stkutil.c b/unit/test-stkutil.c
index 2033c316..14bd493e 100644
--- a/unit/test-stkutil.c
+++ b/unit/test-stkutil.c
@@ -903,52 +903,24 @@ static unsigned char get_inkey_712[] = { 0xD0, 0x15, 0x81, 0x03, 0x01, 0x22,
0x74, 0x65, 0x72, 0x20, 0x22,
0x2B, 0x22 };
-static unsigned char get_inkey_911[] = { 0xD0, 0x1B, 0x81, 0x03, 0x01, 0x22,
- 0x00, 0x82, 0x02, 0x81, 0x82,
- 0x8D, 0x0A, 0x04, 0x45, 0x6E,
- 0x74, 0x65, 0x72, 0x20, 0x22,
- 0x2B, 0x22, 0xD0, 0x04, 0x00,
- 0x09, 0x00, 0xB4 };
-
static unsigned char get_inkey_912[] = { 0xD0, 0x15, 0x81, 0x03, 0x01, 0x22,
0x00, 0x82, 0x02, 0x81, 0x82,
0x8D, 0x0A, 0x04, 0x45, 0x6E,
0x74, 0x65, 0x72, 0x20, 0x22,
0x23, 0x22 };
-static unsigned char get_inkey_921[] = { 0xD0, 0x1B, 0x81, 0x03, 0x01, 0x22,
- 0x00, 0x82, 0x02, 0x81, 0x82,
- 0x8D, 0x0A, 0x04, 0x45, 0x6E,
- 0x74, 0x65, 0x72, 0x20, 0x22,
- 0x2B, 0x22, 0xD0, 0x04, 0x00,
- 0x09, 0x01, 0xB4 };
-
static unsigned char get_inkey_922[] = { 0xD0, 0x15, 0x81, 0x03, 0x01, 0x22,
0x00, 0x82, 0x02, 0x81, 0x82,
0x8D, 0x0A, 0x04, 0x45, 0x6E,
0x74, 0x65, 0x72, 0x20, 0x22,
0x23, 0x22 };
-static unsigned char get_inkey_931[] = { 0xD0, 0x1B, 0x81, 0x03, 0x01, 0x22,
- 0x00, 0x82, 0x02, 0x81, 0x82,
- 0x8D, 0x0A, 0x04, 0x45, 0x6E,
- 0x74, 0x65, 0x72, 0x20, 0x22,
- 0x2B, 0x22, 0xD0, 0x04, 0x00,
- 0x09, 0x02, 0xB4 };
-
static unsigned char get_inkey_932[] = { 0xD0, 0x15, 0x81, 0x03, 0x01, 0x22,
0x00, 0x82, 0x02, 0x81, 0x82,
0x8D, 0x0A, 0x04, 0x45, 0x6E,
0x74, 0x65, 0x72, 0x20, 0x22,
0x23, 0x22 };
-static unsigned char get_inkey_941[] = { 0xD0, 0x1B, 0x81, 0x03, 0x01, 0x22,
- 0x00, 0x82, 0x02, 0x81, 0x82,
- 0x8D, 0x0A, 0x04, 0x45, 0x6E,
- 0x74, 0x65, 0x72, 0x20, 0x22,
- 0x2B, 0x22, 0xD0, 0x04, 0x00,
- 0x09, 0x04, 0xB4 };
-
static unsigned char get_inkey_942[] = { 0xD0, 0x1B, 0x81, 0x03, 0x01, 0x22,
0x00, 0x82, 0x02, 0x81, 0x82,
0x8D, 0x0A, 0x04, 0x45, 0x6E,
@@ -962,13 +934,6 @@ static unsigned char get_inkey_943[] = { 0xD0, 0x15, 0x81, 0x03, 0x01, 0x22,
0x74, 0x65, 0x72, 0x20, 0x22,
0x23, 0x22 };
-static unsigned char get_inkey_951[] = { 0xD0, 0x1B, 0x81, 0x03, 0x01, 0x22,
- 0x00, 0x82, 0x02, 0x81, 0x82,
- 0x8D, 0x0A, 0x04, 0x45, 0x6E,
- 0x74, 0x65, 0x72, 0x20, 0x22,
- 0x2B, 0x22, 0xD0, 0x04, 0x00,
- 0x09, 0x08, 0xB4 };
-
static unsigned char get_inkey_952[] = { 0xD0, 0x1B, 0x81, 0x03, 0x01, 0x22,
0x00, 0x82, 0x02, 0x81, 0x82,
0x8D, 0x0A, 0x04, 0x45, 0x6E,
@@ -982,13 +947,6 @@ static unsigned char get_inkey_953[] = { 0xD0, 0x15, 0x81, 0x03, 0x01, 0x22,
0x74, 0x65, 0x72, 0x20, 0x22,
0x23, 0x22 };
-static unsigned char get_inkey_961[] = { 0xD0, 0x1B, 0x81, 0x03, 0x01, 0x22,
- 0x00, 0x82, 0x02, 0x81, 0x82,
- 0x8D, 0x0A, 0x04, 0x45, 0x6E,
- 0x74, 0x65, 0x72, 0x20, 0x22,
- 0x2B, 0x22, 0xD0, 0x04, 0x00,
- 0x09, 0x10, 0xB4 };
-
static unsigned char get_inkey_962[] = { 0xD0, 0x1B, 0x81, 0x03, 0x01, 0x22,
0x00, 0x82, 0x02, 0x81, 0x82,
0x8D, 0x0A, 0x04, 0x45, 0x6E,
@@ -1002,13 +960,6 @@ static unsigned char get_inkey_963[] = { 0xD0, 0x15, 0x81, 0x03, 0x01, 0x22,
0x74, 0x65, 0x72, 0x20, 0x22,
0x23, 0x22 };
-static unsigned char get_inkey_971[] = { 0xD0, 0x1B, 0x81, 0x03, 0x01, 0x22,
- 0x00, 0x82, 0x02, 0x81, 0x82,
- 0x8D, 0x0A, 0x04, 0x45, 0x6E,
- 0x74, 0x65, 0x72, 0x20, 0x22,
- 0x2B, 0x22, 0xD0, 0x04, 0x00,
- 0x09, 0x20, 0xB4 };
-
static unsigned char get_inkey_972[] = { 0xD0, 0x1B, 0x81, 0x03, 0x01, 0x22,
0x00, 0x82, 0x02, 0x81, 0x82,
0x8D, 0x0A, 0x04, 0x45, 0x6E,
@@ -1022,13 +973,6 @@ static unsigned char get_inkey_973[] = { 0xD0, 0x15, 0x81, 0x03, 0x01, 0x22,
0x74, 0x65, 0x72, 0x20, 0x22,
0x23, 0x22 };
-static unsigned char get_inkey_981[] = { 0xD0, 0x1B, 0x81, 0x03, 0x01, 0x22,
- 0x00, 0x82, 0x02, 0x81, 0x82,
- 0x8D, 0x0A, 0x04, 0x45, 0x6E,
- 0x74, 0x65, 0x72, 0x20, 0x22,
- 0x2B, 0x22, 0xD0, 0x04, 0x00,
- 0x09, 0x40, 0xB4 };
-
static unsigned char get_inkey_982[] = { 0xD0, 0x1B, 0x81, 0x03, 0x01, 0x22,
0x00, 0x82, 0x02, 0x81, 0x82,
0x8D, 0x0A, 0x04, 0x45, 0x6E,
@@ -1042,13 +986,6 @@ static unsigned char get_inkey_983[] = { 0xD0, 0x15, 0x81, 0x03, 0x01, 0x22,
0x74, 0x65, 0x72, 0x20, 0x22,
0x23, 0x22 };
-static unsigned char get_inkey_991[] = { 0xD0, 0x1B, 0x81, 0x03, 0x01, 0x22,
- 0x00, 0x82, 0x02, 0x81, 0x82,
- 0x8D, 0x0A, 0x04, 0x45, 0x6E,
- 0x74, 0x65, 0x72, 0x20, 0x22,
- 0x2B, 0x22, 0xD0, 0x04, 0x00,
- 0x09, 0x80, 0xB4 };
-
static unsigned char get_inkey_992a[] = { 0xD0, 0x1B, 0x81, 0x03, 0x01, 0x22,
0x00, 0x82, 0x02, 0x81, 0x82,
0x8D, 0x0A, 0x04, 0x45, 0x6E,
@@ -1068,13 +1005,6 @@ static unsigned char get_inkey_993[] = { 0xD0, 0x15, 0x81, 0x03, 0x01, 0x22,
0x74, 0x65, 0x72, 0x20, 0x22,
0x23, 0x22 };
-static unsigned char get_inkey_9101[] = { 0xD0, 0x1B, 0x81, 0x03, 0x01, 0x22,
- 0x00, 0x82, 0x02, 0x81, 0x82,
- 0x8D, 0x0A, 0x04, 0x45, 0x6E,
- 0x74, 0x65, 0x72, 0x20, 0x22,
- 0x2B, 0x22, 0xD0, 0x04, 0x00,
- 0x09, 0x00, 0xB4 };
-
static unsigned char get_inkey_9102[] = { 0xD0, 0x15, 0x81, 0x03, 0x01, 0x22,
0x00, 0x82, 0x02, 0x81, 0x82,
0x8D, 0x0A, 0x04, 0x45, 0x6E,