diff 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
line wrap: on
line diff
--- a/simtool/dispatch.c	Fri Feb 12 22:10:32 2021 +0000
+++ b/simtool/dispatch.c	Fri Feb 12 23:02:09 2021 +0000
@@ -38,6 +38,9 @@
 extern int cmd_savebin();
 extern int cmd_save_sms_bin();
 extern int cmd_select();
+extern int cmd_sms_erase_all();
+extern int cmd_sms_erase_one();
+extern int cmd_sms_erase_range();
 extern int cmd_smsp_dump();
 extern int cmd_smsp_erase_all();
 extern int cmd_smsp_erase_one();
@@ -106,6 +109,9 @@
 	{"save-sms-bin", 1, 1, cmd_save_sms_bin},
 	{"select", 1, 1, cmd_select},
 	{"sim-resp", 0, 0, display_sim_resp_in_hex},
+	{"sms-erase-all", 0, 0, cmd_sms_erase_all},
+	{"sms-erase-one", 1, 1, cmd_sms_erase_one},
+	{"sms-erase-range", 2, 2, cmd_sms_erase_range},
 	{"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},