comparison simtool/dispatch.c @ 68:105aa3d1a494

fc-simtool write-iccid command implemented
author Mychaela Falconia <falcon@freecalypso.org>
date Mon, 15 Feb 2021 00:36:56 +0000
parents 9ff7ee99346f
children 8562d8508cf2
comparison
equal deleted inserted replaced
67:9ff7ee99346f 68:105aa3d1a494
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_iccid();
67 extern int cmd_write_imsi(); 68 extern int cmd_write_imsi();
68 69
69 extern int display_sim_resp_in_hex(); 70 extern int display_sim_resp_in_hex();
70 extern int good_exit(); 71 extern int good_exit();
71 extern int retrieve_atr(); 72 extern int retrieve_atr();
153 {"verify-chv2", 1, 1, cmd_verify_chv}, 154 {"verify-chv2", 1, 1, cmd_verify_chv},
154 {"verify-ext", 2, 2, cmd_verify_ext}, 155 {"verify-ext", 2, 2, cmd_verify_ext},
155 {"verify-hex", 2, 2, cmd_verify_hex}, 156 {"verify-hex", 2, 2, cmd_verify_hex},
156 {"verify-pin1", 1, 1, cmd_verify_chv}, 157 {"verify-pin1", 1, 1, cmd_verify_chv},
157 {"verify-pin2", 1, 1, cmd_verify_chv}, 158 {"verify-pin2", 1, 1, cmd_verify_chv},
159 {"write-iccid", 1, 1, cmd_write_iccid},
158 {"write-imsi", 1, 1, cmd_write_imsi}, 160 {"write-imsi", 1, 1, cmd_write_imsi},
159 {0, 0, 0, 0} 161 {0, 0, 0, 0}
160 }; 162 };
161 163
162 simtool_dispatch_cmd(cmd, is_script) 164 simtool_dispatch_cmd(cmd, is_script)