FreeCalypso > hg > fc-pcsc-tools
comparison simtool/dispatch.c @ 125:e5d534fa5924
fc-simtool: {inval,rehab}-adn commands implemented
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Sat, 20 Feb 2021 19:21:40 +0000 |
parents | d0d1c0b35831 |
children | 7faec607500f |
comparison
equal
deleted
inserted
replaced
124:d0d1c0b35831 | 125:e5d534fa5924 |
---|---|
28 extern int cmd_grcard2_set_puk(); | 28 extern int cmd_grcard2_set_puk(); |
29 extern int cmd_grcard2_set_super(); | 29 extern int cmd_grcard2_set_super(); |
30 extern int cmd_grcard2_set_super_hex(); | 30 extern int cmd_grcard2_set_super_hex(); |
31 extern int cmd_iccid(); | 31 extern int cmd_iccid(); |
32 extern int cmd_imsi(); | 32 extern int cmd_imsi(); |
33 extern int cmd_inval_adn(); | |
33 extern int cmd_lnd_dump(); | 34 extern int cmd_lnd_dump(); |
34 extern int cmd_lnd_erase(); | 35 extern int cmd_lnd_erase(); |
35 extern int cmd_lnd_restore(); | 36 extern int cmd_lnd_restore(); |
36 extern int cmd_lnd_write(); | 37 extern int cmd_lnd_write(); |
37 extern int cmd_opl_dump(); | 38 extern int cmd_opl_dump(); |
50 extern int cmd_plmnsel_write(); | 51 extern int cmd_plmnsel_write(); |
51 extern int cmd_pnn_dump(); | 52 extern int cmd_pnn_dump(); |
52 extern int cmd_readbin(); | 53 extern int cmd_readbin(); |
53 extern int cmd_readef(); | 54 extern int cmd_readef(); |
54 extern int cmd_readrec(); | 55 extern int cmd_readrec(); |
56 extern int cmd_rehab_adn(); | |
55 extern int cmd_restore_file(); | 57 extern int cmd_restore_file(); |
56 extern int cmd_savebin(); | 58 extern int cmd_savebin(); |
57 extern int cmd_save_sms_bin(); | 59 extern int cmd_save_sms_bin(); |
58 extern int cmd_select(); | 60 extern int cmd_select(); |
59 extern int cmd_sim_resp(); | 61 extern int cmd_sim_resp(); |
133 {"grcard2-set-puk2", 1, 1, 0, cmd_grcard2_set_puk}, | 135 {"grcard2-set-puk2", 1, 1, 0, cmd_grcard2_set_puk}, |
134 {"grcard2-set-super", 1, 1, 0, cmd_grcard2_set_super}, | 136 {"grcard2-set-super", 1, 1, 0, cmd_grcard2_set_super}, |
135 {"grcard2-set-super-hex", 1, 1, 0, cmd_grcard2_set_super_hex}, | 137 {"grcard2-set-super-hex", 1, 1, 0, cmd_grcard2_set_super_hex}, |
136 {"iccid", 0, 0, 1, cmd_iccid}, | 138 {"iccid", 0, 0, 1, cmd_iccid}, |
137 {"imsi", 0, 0, 1, cmd_imsi}, | 139 {"imsi", 0, 0, 1, cmd_imsi}, |
140 {"inval-adn", 0, 0, 0, cmd_inval_adn}, | |
138 {"lnd-dump", 0, 0, 1, cmd_lnd_dump}, | 141 {"lnd-dump", 0, 0, 1, cmd_lnd_dump}, |
139 {"lnd-erase", 0, 0, 0, cmd_lnd_erase}, | 142 {"lnd-erase", 0, 0, 0, cmd_lnd_erase}, |
140 {"lnd-restore", 1, 1, 0, cmd_lnd_restore}, | 143 {"lnd-restore", 1, 1, 0, cmd_lnd_restore}, |
141 {"lnd-write", 1, 2, 0, cmd_lnd_write}, | 144 {"lnd-write", 1, 2, 0, cmd_lnd_write}, |
142 {"opl-dump", 0, 0, 1, cmd_opl_dump}, | 145 {"opl-dump", 0, 0, 1, cmd_opl_dump}, |
156 {"pnn-dump", 0, 0, 1, cmd_pnn_dump}, | 159 {"pnn-dump", 0, 0, 1, cmd_pnn_dump}, |
157 {"quit", 0, 0, 0, good_exit}, | 160 {"quit", 0, 0, 0, good_exit}, |
158 {"readbin", 2, 2, 1, cmd_readbin}, | 161 {"readbin", 2, 2, 1, cmd_readbin}, |
159 {"readef", 1, 1, 1, cmd_readef}, | 162 {"readef", 1, 1, 1, cmd_readef}, |
160 {"readrec", 1, 2, 1, cmd_readrec}, | 163 {"readrec", 1, 2, 1, cmd_readrec}, |
164 {"rehab-adn", 0, 0, 0, cmd_rehab_adn}, | |
161 {"restore-file", 2, 2, 0, cmd_restore_file}, | 165 {"restore-file", 2, 2, 0, cmd_restore_file}, |
162 {"savebin", 2, 2, 0, cmd_savebin}, | 166 {"savebin", 2, 2, 0, cmd_savebin}, |
163 {"save-sms-bin", 1, 1, 0, cmd_save_sms_bin}, | 167 {"save-sms-bin", 1, 1, 0, cmd_save_sms_bin}, |
164 {"select", 1, 1, 0, cmd_select}, | 168 {"select", 1, 1, 0, cmd_select}, |
165 {"sim-resp", 0, 0, 1, cmd_sim_resp}, | 169 {"sim-resp", 0, 0, 1, cmd_sim_resp}, |