summaryrefslogtreecommitdiffstats
path: root/base/javacard/scripts/helloworld.apdu
diff options
context:
space:
mode:
Diffstat (limited to 'base/javacard/scripts/helloworld.apdu')
-rw-r--r--base/javacard/scripts/helloworld.apdu10
1 files changed, 10 insertions, 0 deletions
diff --git a/base/javacard/scripts/helloworld.apdu b/base/javacard/scripts/helloworld.apdu
new file mode 100644
index 000000000..050bc47a0
--- /dev/null
+++ b/base/javacard/scripts/helloworld.apdu
@@ -0,0 +1,10 @@
+// CREATE APPLET CMD
+0x80 0xb8 0x00 0x00 0xb 0x9 0x01 0x02 0x03 0x04 0x05 0x06 0x07 0x8 0x09 0x00 0x7f;
+// SELECT APPLET CMD
+0x00 0xa4 0x00 0x00 0x09 0x01 0x02 0x03 0x04 0x05 0x06 0x07 0x8 0x09 0x2;
+// TEST NOP
+0x01 0x02 0x00 0x00 0x00 0x2;
+// test hello world from card
+0x01 0x01 0x00 0x00 0x00 0x0d;
+// test echo
+0x01 0x01 0x01 0x00 0x0d 0x48 0x65 0x6c 0x6c 0x6f 0x20 0x77 0x6f 0x72 0x6c 0x64 0x20 0x21 0x0d; \ No newline at end of file