comparison simtool/dispatch.c @ 102:29cc5612797a

fc-simtool: update-rec command implemented
author Mychaela Falconia <falcon@freecalypso.org>
date Mon, 25 Jan 2021 02:16:16 +0000
parents 454ff8bd0b83
children 90eff13a72fd
comparison
equal deleted inserted replaced
101:454ff8bd0b83 102:29cc5612797a
20 extern int cmd_restore_file(); 20 extern int cmd_restore_file();
21 extern int cmd_savebin(); 21 extern int cmd_savebin();
22 extern int cmd_select(); 22 extern int cmd_select();
23 extern int cmd_telecom_sum(); 23 extern int cmd_telecom_sum();
24 extern int cmd_update_bin(); 24 extern int cmd_update_bin();
25 extern int cmd_update_rec();
25 26
26 extern int display_sim_resp_in_hex(); 27 extern int display_sim_resp_in_hex();
27 28
28 cmd_exit() 29 cmd_exit()
29 { 30 {
49 {"savebin", 2, 2, cmd_savebin}, 50 {"savebin", 2, 2, cmd_savebin},
50 {"select", 1, 1, cmd_select}, 51 {"select", 1, 1, cmd_select},
51 {"sim-resp", 0, 0, display_sim_resp_in_hex}, 52 {"sim-resp", 0, 0, display_sim_resp_in_hex},
52 {"telecom-sum", 0, 0, cmd_telecom_sum}, 53 {"telecom-sum", 0, 0, cmd_telecom_sum},
53 {"update-bin", 2, 2, cmd_update_bin}, 54 {"update-bin", 2, 2, cmd_update_bin},
55 {"update-rec", 2, 2, cmd_update_rec},
54 {0, 0, 0, 0} 56 {0, 0, 0, 0}
55 }; 57 };
56 58
57 simtool_dispatch_cmd(cmd) 59 simtool_dispatch_cmd(cmd)
58 char *cmd; 60 char *cmd;