FreeCalypso > hg > fc-pcsc-tools
comparison simtool/dispatch.c @ 183:2545dd27ca38
fc-simtool write-imsi-sh command implemented
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Sat, 06 Mar 2021 05:24:26 +0000 |
parents | f4edccd4b583 |
children | 8d073ff62c48 |
comparison
equal
deleted
inserted
replaced
182:f4edccd4b583 | 183:2545dd27ca38 |
---|---|
96 extern int cmd_verify_sjs1_adm1(); | 96 extern int cmd_verify_sjs1_adm1(); |
97 extern int cmd_write_iccid(); | 97 extern int cmd_write_iccid(); |
98 extern int cmd_write_iccid_sh18(); | 98 extern int cmd_write_iccid_sh18(); |
99 extern int cmd_write_iccid_sh19(); | 99 extern int cmd_write_iccid_sh19(); |
100 extern int cmd_write_imsi(); | 100 extern int cmd_write_imsi(); |
101 extern int cmd_write_imsi_sh(); | |
101 | 102 |
102 extern int current_ef_inval(); | 103 extern int current_ef_inval(); |
103 extern int current_ef_rehab(); | 104 extern int current_ef_rehab(); |
104 extern int good_exit(); | 105 extern int good_exit(); |
105 extern int retrieve_atr(); | 106 extern int retrieve_atr(); |
222 {"verify-sjs1-adm1", 1, 1, 0, cmd_verify_sjs1_adm1}, | 223 {"verify-sjs1-adm1", 1, 1, 0, cmd_verify_sjs1_adm1}, |
223 {"write-iccid", 1, 1, 0, cmd_write_iccid}, | 224 {"write-iccid", 1, 1, 0, cmd_write_iccid}, |
224 {"write-iccid-sh18", 1, 1, 0, cmd_write_iccid_sh18}, | 225 {"write-iccid-sh18", 1, 1, 0, cmd_write_iccid_sh18}, |
225 {"write-iccid-sh19", 1, 1, 0, cmd_write_iccid_sh19}, | 226 {"write-iccid-sh19", 1, 1, 0, cmd_write_iccid_sh19}, |
226 {"write-imsi", 1, 1, 0, cmd_write_imsi}, | 227 {"write-imsi", 1, 1, 0, cmd_write_imsi}, |
228 {"write-imsi-sh", 1, 1, 0, cmd_write_imsi_sh}, | |
227 {0, 0, 0, 0, 0} | 229 {0, 0, 0, 0, 0} |
228 }; | 230 }; |
229 | 231 |
230 static FILE * | 232 static FILE * |
231 handle_output_redir(str) | 233 handle_output_redir(str) |