comparison 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
comparison
equal deleted inserted replaced
39:2467b7acad1f 40:4c240a37e7c4
37 extern int cmd_restore_file(); 37 extern int cmd_restore_file();
38 extern int cmd_savebin(); 38 extern int cmd_savebin();
39 extern int cmd_save_sms_bin(); 39 extern int cmd_save_sms_bin();
40 extern int cmd_select(); 40 extern int cmd_select();
41 extern int cmd_smsp_dump(); 41 extern int cmd_smsp_dump();
42 extern int cmd_smsp_erase_all();
43 extern int cmd_smsp_erase_one();
44 extern int cmd_smsp_erase_range();
42 extern int cmd_smsp_restore(); 45 extern int cmd_smsp_restore();
43 extern int cmd_spn(); 46 extern int cmd_spn();
44 extern int cmd_telecom_sum(); 47 extern int cmd_telecom_sum();
45 extern int cmd_uicc_dir(); 48 extern int cmd_uicc_dir();
46 extern int cmd_unblock_chv(); 49 extern int cmd_unblock_chv();
102 {"savebin", 2, 2, cmd_savebin}, 105 {"savebin", 2, 2, cmd_savebin},
103 {"save-sms-bin", 1, 1, cmd_save_sms_bin}, 106 {"save-sms-bin", 1, 1, cmd_save_sms_bin},
104 {"select", 1, 1, cmd_select}, 107 {"select", 1, 1, cmd_select},
105 {"sim-resp", 0, 0, display_sim_resp_in_hex}, 108 {"sim-resp", 0, 0, display_sim_resp_in_hex},
106 {"smsp-dump", 0, 1, cmd_smsp_dump}, 109 {"smsp-dump", 0, 1, cmd_smsp_dump},
110 {"smsp-erase-all", 0, 0, cmd_smsp_erase_all},
111 {"smsp-erase-one", 1, 1, cmd_smsp_erase_one},
112 {"smsp-erase-range", 2, 2, cmd_smsp_erase_range},
107 {"smsp-restore", 1, 1, cmd_smsp_restore}, 113 {"smsp-restore", 1, 1, cmd_smsp_restore},
108 {"spn", 0, 0, cmd_spn}, 114 {"spn", 0, 0, cmd_spn},
109 {"telecom-sum", 0, 0, cmd_telecom_sum}, 115 {"telecom-sum", 0, 0, cmd_telecom_sum},
110 {"uicc-dir", 0, 0, cmd_uicc_dir}, 116 {"uicc-dir", 0, 0, cmd_uicc_dir},
111 {"unblock-chv1", 2, 2, cmd_unblock_chv}, 117 {"unblock-chv1", 2, 2, cmd_unblock_chv},