comparison simtool/dispatch.c @ 184:8d073ff62c48

fc-simtool: imsi command does higher-level parsing, the old version is now imsi-raw
author Mychaela Falconia <falcon@freecalypso.org>
date Sat, 06 Mar 2021 05:44:17 +0000
parents 2545dd27ca38
children 36e7fc58f065
comparison
equal deleted inserted replaced
183:2545dd27ca38 184:8d073ff62c48
36 extern int cmd_grcard2_set_puk(); 36 extern int cmd_grcard2_set_puk();
37 extern int cmd_grcard2_set_super(); 37 extern int cmd_grcard2_set_super();
38 extern int cmd_grcard2_set_super_hex(); 38 extern int cmd_grcard2_set_super_hex();
39 extern int cmd_iccid(); 39 extern int cmd_iccid();
40 extern int cmd_imsi(); 40 extern int cmd_imsi();
41 extern int cmd_imsi_raw();
41 extern int cmd_inval_adn(); 42 extern int cmd_inval_adn();
42 extern int cmd_lnd_dump(); 43 extern int cmd_lnd_dump();
43 extern int cmd_lnd_erase(); 44 extern int cmd_lnd_erase();
44 extern int cmd_lnd_restore(); 45 extern int cmd_lnd_restore();
45 extern int cmd_lnd_write(); 46 extern int cmd_lnd_write();
156 {"grcard2-set-puk2", 1, 1, 0, cmd_grcard2_set_puk}, 157 {"grcard2-set-puk2", 1, 1, 0, cmd_grcard2_set_puk},
157 {"grcard2-set-super", 1, 1, 0, cmd_grcard2_set_super}, 158 {"grcard2-set-super", 1, 1, 0, cmd_grcard2_set_super},
158 {"grcard2-set-super-hex", 1, 1, 0, cmd_grcard2_set_super_hex}, 159 {"grcard2-set-super-hex", 1, 1, 0, cmd_grcard2_set_super_hex},
159 {"iccid", 0, 0, 1, cmd_iccid}, 160 {"iccid", 0, 0, 1, cmd_iccid},
160 {"imsi", 0, 0, 1, cmd_imsi}, 161 {"imsi", 0, 0, 1, cmd_imsi},
162 {"imsi-raw", 0, 0, 1, cmd_imsi_raw},
161 {"inval-adn", 0, 0, 0, cmd_inval_adn}, 163 {"inval-adn", 0, 0, 0, cmd_inval_adn},
162 {"lnd-dump", 0, 0, 1, cmd_lnd_dump}, 164 {"lnd-dump", 0, 0, 1, cmd_lnd_dump},
163 {"lnd-erase", 0, 0, 0, cmd_lnd_erase}, 165 {"lnd-erase", 0, 0, 0, cmd_lnd_erase},
164 {"lnd-restore", 1, 1, 0, cmd_lnd_restore}, 166 {"lnd-restore", 1, 1, 0, cmd_lnd_restore},
165 {"lnd-write", 1, 2, 0, cmd_lnd_write}, 167 {"lnd-write", 1, 2, 0, cmd_lnd_write},