diff simtool/dispatch.c @ 29:d368051576d0

fc-simtool & fc-uicc-tool: add explicit atr command
author Mychaela Falconia <falcon@freecalypso.org>
date Fri, 12 Feb 2021 16:19:11 +0000
parents 2071b28cd0c7
children f5a26c1d0b93
line wrap: on
line diff
--- a/simtool/dispatch.c	Fri Feb 12 16:14:53 2021 +0000
+++ b/simtool/dispatch.c	Fri Feb 12 16:19:11 2021 +0000
@@ -50,6 +50,7 @@
 
 extern int display_sim_resp_in_hex();
 extern int good_exit();
+extern int retrieve_atr();
 
 static struct cmdtab {
 	char *cmd;
@@ -58,6 +59,7 @@
 	int (*func)();
 } cmdtab[] = {
 	{"a38", 1, 1, cmd_a38},
+	{"atr", 0, 0, retrieve_atr},
 	{"change-chv1", 2, 2, cmd_change_chv},
 	{"change-chv2", 2, 2, cmd_change_chv},
 	{"change-pin1", 2, 2, cmd_change_chv},