FreeCalypso > hg > fc-pcsc-tools
diff simtool/dispatch.c @ 40:4c240a37e7c4
fc-simtool smsp-erase-* command family implemented
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Fri, 12 Feb 2021 22:05:38 +0000 |
parents | 2467b7acad1f |
children | 2714d379edc2 |
line wrap: on
line diff
--- a/simtool/dispatch.c Fri Feb 12 21:54:01 2021 +0000 +++ b/simtool/dispatch.c Fri Feb 12 22:05:38 2021 +0000 @@ -39,6 +39,9 @@ extern int cmd_save_sms_bin(); extern int cmd_select(); extern int cmd_smsp_dump(); +extern int cmd_smsp_erase_all(); +extern int cmd_smsp_erase_one(); +extern int cmd_smsp_erase_range(); extern int cmd_smsp_restore(); extern int cmd_spn(); extern int cmd_telecom_sum(); @@ -104,6 +107,9 @@ {"select", 1, 1, cmd_select}, {"sim-resp", 0, 0, display_sim_resp_in_hex}, {"smsp-dump", 0, 1, cmd_smsp_dump}, + {"smsp-erase-all", 0, 0, cmd_smsp_erase_all}, + {"smsp-erase-one", 1, 1, cmd_smsp_erase_one}, + {"smsp-erase-range", 2, 2, cmd_smsp_erase_range}, {"smsp-restore", 1, 1, cmd_smsp_restore}, {"spn", 0, 0, cmd_spn}, {"telecom-sum", 0, 0, cmd_telecom_sum},