comparison simtool/dispatch.c @ 42:2714d379edc2

fc-simtool sms-erase-* command family implemented
author Mychaela Falconia <falcon@freecalypso.org>
date Fri, 12 Feb 2021 23:02:09 +0000
parents 4c240a37e7c4
children f4eb1e83b4b3
comparison
equal deleted inserted replaced
41:8cb269f5a902 42:2714d379edc2
36 extern int cmd_readrec(); 36 extern int cmd_readrec();
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_sms_erase_all();
42 extern int cmd_sms_erase_one();
43 extern int cmd_sms_erase_range();
41 extern int cmd_smsp_dump(); 44 extern int cmd_smsp_dump();
42 extern int cmd_smsp_erase_all(); 45 extern int cmd_smsp_erase_all();
43 extern int cmd_smsp_erase_one(); 46 extern int cmd_smsp_erase_one();
44 extern int cmd_smsp_erase_range(); 47 extern int cmd_smsp_erase_range();
45 extern int cmd_smsp_restore(); 48 extern int cmd_smsp_restore();
104 {"restore-file", 2, 2, cmd_restore_file}, 107 {"restore-file", 2, 2, cmd_restore_file},
105 {"savebin", 2, 2, cmd_savebin}, 108 {"savebin", 2, 2, cmd_savebin},
106 {"save-sms-bin", 1, 1, cmd_save_sms_bin}, 109 {"save-sms-bin", 1, 1, cmd_save_sms_bin},
107 {"select", 1, 1, cmd_select}, 110 {"select", 1, 1, cmd_select},
108 {"sim-resp", 0, 0, display_sim_resp_in_hex}, 111 {"sim-resp", 0, 0, display_sim_resp_in_hex},
112 {"sms-erase-all", 0, 0, cmd_sms_erase_all},
113 {"sms-erase-one", 1, 1, cmd_sms_erase_one},
114 {"sms-erase-range", 2, 2, cmd_sms_erase_range},
109 {"smsp-dump", 0, 1, cmd_smsp_dump}, 115 {"smsp-dump", 0, 1, cmd_smsp_dump},
110 {"smsp-erase-all", 0, 0, cmd_smsp_erase_all}, 116 {"smsp-erase-all", 0, 0, cmd_smsp_erase_all},
111 {"smsp-erase-one", 1, 1, cmd_smsp_erase_one}, 117 {"smsp-erase-one", 1, 1, cmd_smsp_erase_one},
112 {"smsp-erase-range", 2, 2, cmd_smsp_erase_range}, 118 {"smsp-erase-range", 2, 2, cmd_smsp_erase_range},
113 {"smsp-restore", 1, 1, cmd_smsp_restore}, 119 {"smsp-restore", 1, 1, cmd_smsp_restore},