diff uicc/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 1b1468869ccf
children 16481db543e8
line wrap: on
line diff
--- a/uicc/dispatch.c	Fri Feb 12 16:14:53 2021 +0000
+++ b/uicc/dispatch.c	Fri Feb 12 16:19:11 2021 +0000
@@ -24,6 +24,7 @@
 
 extern int display_sim_resp_in_hex();
 extern int good_exit();
+extern int retrieve_atr();
 
 static struct cmdtab {
 	char *cmd;
@@ -31,6 +32,7 @@
 	int maxargs;
 	int (*func)();
 } cmdtab[] = {
+	{"atr", 0, 0, retrieve_atr},
 	{"dir", 0, 0, cmd_dir},
 	{"exec", 1, 1, cmd_exec},
 	{"exit", 0, 0, good_exit},