FreeCalypso > hg > fc-pcsc-tools
diff simtool/dispatch.c @ 124:d0d1c0b35831
fc-simtool: add low-level cur-ef-{inval,rehab} commands
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Sat, 20 Feb 2021 19:05:48 +0000 |
parents | c0cd0d4635bb |
children | e5d534fa5924 |
line wrap: on
line diff
--- a/simtool/dispatch.c Sat Feb 20 04:11:48 2021 +0000 +++ b/simtool/dispatch.c Sat Feb 20 19:05:48 2021 +0000 @@ -84,6 +84,8 @@ extern int cmd_write_iccid(); extern int cmd_write_imsi(); +extern int current_ef_inval(); +extern int current_ef_rehab(); extern int good_exit(); extern int retrieve_atr(); @@ -101,6 +103,8 @@ {"change-chv2", 2, 2, 0, cmd_change_chv}, {"change-pin1", 2, 2, 0, cmd_change_chv}, {"change-pin2", 2, 2, 0, cmd_change_chv}, + {"cur-ef-inval", 0, 0, 0, current_ef_inval}, + {"cur-ef-rehab", 0, 0, 0, current_ef_rehab}, {"disable-chv", 1, 1, 0, cmd_disable_chv}, {"disable-chv1", 1, 1, 0, cmd_disable_chv}, {"disable-pin", 1, 1, 0, cmd_disable_chv},