FreeCalypso > hg > freecalypso-hwlab
diff simtool/dispatch.c @ 88:91486a77643e
fc-simtool: implement hex display of full SIM responses
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Sun, 24 Jan 2021 05:09:48 +0000 |
parents | b57cf64ece29 |
children | 53e2c00566af |
line wrap: on
line diff
--- a/simtool/dispatch.c Sun Jan 24 03:43:01 2021 +0000 +++ b/simtool/dispatch.c Sun Jan 24 05:09:48 2021 +0000 @@ -14,6 +14,8 @@ extern int cmd_select(); +extern int display_sim_resp_in_hex(); + cmd_exit() { SCardDisconnect(hCard, SCARD_UNPOWER_CARD); @@ -30,6 +32,7 @@ {"exit", 0, 0, cmd_exit}, {"quit", 0, 0, cmd_exit}, {"select", 1, 1, cmd_select}, + {"sim-resp", 0, 0, display_sim_resp_in_hex}, {0, 0, 0, 0} };