FreeCalypso > hg > fc-pcsc-tools
diff uicc/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 | a98992e9fe82 |
children | ede661d78730 |
line wrap: on
line diff
--- a/uicc/dispatch.c Fri Feb 19 23:51:58 2021 +0000 +++ b/uicc/dispatch.c Sat Feb 20 00:48:22 2021 +0000 @@ -8,6 +8,7 @@ #include <strings.h> #include <stdlib.h> +extern int cmd_apdu(); extern int cmd_change_pin(); extern int cmd_dir(); extern int cmd_disable_pin(); @@ -41,6 +42,7 @@ int allow_redir; int (*func)(); } cmdtab[] = { + {"apdu", 1, 1, 0, cmd_apdu}, {"atr", 0, 0, 0, retrieve_atr}, {"change-pin", 3, 3, 0, cmd_change_pin}, {"dir", 0, 0, 1, cmd_dir},