FreeCalypso > hg > fc-pcsc-tools
comparison simtool/dispatch.c @ 182:f4edccd4b583
fc-simtool: write-iccid-sh{18,19} commands implemented
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Sat, 06 Mar 2021 05:07:46 +0000 |
parents | e7e0d8c06654 |
children | 2545dd27ca38 |
comparison
equal
deleted
inserted
replaced
181:63b640562e21 | 182:f4edccd4b583 |
---|---|
93 extern int cmd_verify_chv(); | 93 extern int cmd_verify_chv(); |
94 extern int cmd_verify_ext(); | 94 extern int cmd_verify_ext(); |
95 extern int cmd_verify_hex(); | 95 extern int cmd_verify_hex(); |
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(); | |
99 extern int cmd_write_iccid_sh19(); | |
98 extern int cmd_write_imsi(); | 100 extern int cmd_write_imsi(); |
99 | 101 |
100 extern int current_ef_inval(); | 102 extern int current_ef_inval(); |
101 extern int current_ef_rehab(); | 103 extern int current_ef_rehab(); |
102 extern int good_exit(); | 104 extern int good_exit(); |
217 {"verify-hex", 2, 2, 0, cmd_verify_hex}, | 219 {"verify-hex", 2, 2, 0, cmd_verify_hex}, |
218 {"verify-pin1", 1, 1, 0, cmd_verify_chv}, | 220 {"verify-pin1", 1, 1, 0, cmd_verify_chv}, |
219 {"verify-pin2", 1, 1, 0, cmd_verify_chv}, | 221 {"verify-pin2", 1, 1, 0, cmd_verify_chv}, |
220 {"verify-sjs1-adm1", 1, 1, 0, cmd_verify_sjs1_adm1}, | 222 {"verify-sjs1-adm1", 1, 1, 0, cmd_verify_sjs1_adm1}, |
221 {"write-iccid", 1, 1, 0, cmd_write_iccid}, | 223 {"write-iccid", 1, 1, 0, cmd_write_iccid}, |
224 {"write-iccid-sh18", 1, 1, 0, cmd_write_iccid_sh18}, | |
225 {"write-iccid-sh19", 1, 1, 0, cmd_write_iccid_sh19}, | |
222 {"write-imsi", 1, 1, 0, cmd_write_imsi}, | 226 {"write-imsi", 1, 1, 0, cmd_write_imsi}, |
223 {0, 0, 0, 0, 0} | 227 {0, 0, 0, 0, 0} |
224 }; | 228 }; |
225 | 229 |
226 static FILE * | 230 static FILE * |