diff simtool/dispatch.c @ 121:8e70ee7c194f

fc-simtool & fc-uicc-tool: raw apdu command implemented
author Mychaela Falconia <falcon@freecalypso.org>
date Sat, 20 Feb 2021 00:48:22 +0000
parents b89bc690dec4
children c0cd0d4635bb
line wrap: on
line diff
--- a/simtool/dispatch.c	Fri Feb 19 23:51:58 2021 +0000
+++ b/simtool/dispatch.c	Sat Feb 20 00:48:22 2021 +0000
@@ -9,6 +9,7 @@
 #include <stdlib.h>
 
 extern int cmd_a38();
+extern int cmd_apdu();
 extern int cmd_change_chv();
 extern int cmd_disable_chv();
 extern int cmd_enable_chv();
@@ -93,6 +94,7 @@
 	int (*func)();
 } cmdtab[] = {
 	{"a38", 1, 1, 1, cmd_a38},
+	{"apdu", 1, 1, 0, cmd_apdu},
 	{"atr", 0, 0, 0, retrieve_atr},
 	{"change-chv1", 2, 2, 0, cmd_change_chv},
 	{"change-chv2", 2, 2, 0, cmd_change_chv},