comparison simtool/dispatch.c @ 67:9ff7ee99346f

forgot to hook in newly added write-imsi command
author Mychaela Falconia <falcon@freecalypso.org>
date Mon, 15 Feb 2021 00:30:08 +0000
parents 5f8c06445a40
children 105aa3d1a494
comparison
equal deleted inserted replaced
66:3ef90bd13fbe 67:9ff7ee99346f
62 extern int cmd_update_rec(); 62 extern int cmd_update_rec();
63 extern int cmd_user_sum(); 63 extern int cmd_user_sum();
64 extern int cmd_verify_chv(); 64 extern int cmd_verify_chv();
65 extern int cmd_verify_ext(); 65 extern int cmd_verify_ext();
66 extern int cmd_verify_hex(); 66 extern int cmd_verify_hex();
67 extern int cmd_write_imsi();
67 68
68 extern int display_sim_resp_in_hex(); 69 extern int display_sim_resp_in_hex();
69 extern int good_exit(); 70 extern int good_exit();
70 extern int retrieve_atr(); 71 extern int retrieve_atr();
71 72
152 {"verify-chv2", 1, 1, cmd_verify_chv}, 153 {"verify-chv2", 1, 1, cmd_verify_chv},
153 {"verify-ext", 2, 2, cmd_verify_ext}, 154 {"verify-ext", 2, 2, cmd_verify_ext},
154 {"verify-hex", 2, 2, cmd_verify_hex}, 155 {"verify-hex", 2, 2, cmd_verify_hex},
155 {"verify-pin1", 1, 1, cmd_verify_chv}, 156 {"verify-pin1", 1, 1, cmd_verify_chv},
156 {"verify-pin2", 1, 1, cmd_verify_chv}, 157 {"verify-pin2", 1, 1, cmd_verify_chv},
158 {"write-imsi", 1, 1, cmd_write_imsi},
157 {0, 0, 0, 0} 159 {0, 0, 0, 0}
158 }; 160 };
159 161
160 simtool_dispatch_cmd(cmd, is_script) 162 simtool_dispatch_cmd(cmd, is_script)
161 char *cmd; 163 char *cmd;