comparison simtool/dispatch.c @ 154:ed34c8b7e2c9

fc-simtool: grcard2-set-pin[12] commands implemented
author Mychaela Falconia <falcon@freecalypso.org>
date Sun, 07 Feb 2021 02:29:07 +0000
parents a63e4c64f1f0
children 804a5b0797c6
comparison
equal deleted inserted replaced
153:a63e4c64f1f0 154:ed34c8b7e2c9
15 extern int cmd_exec(); 15 extern int cmd_exec();
16 extern int cmd_fix_sysmo_msisdn(); 16 extern int cmd_fix_sysmo_msisdn();
17 extern int cmd_grcard1_set_adm(); 17 extern int cmd_grcard1_set_adm();
18 extern int cmd_grcard1_set_ki(); 18 extern int cmd_grcard1_set_ki();
19 extern int cmd_grcard1_set_pin(); 19 extern int cmd_grcard1_set_pin();
20 extern int cmd_grcard2_set_pin();
20 extern int cmd_iccid(); 21 extern int cmd_iccid();
21 extern int cmd_imsi(); 22 extern int cmd_imsi();
22 extern int cmd_pb_dump(); 23 extern int cmd_pb_dump();
23 extern int cmd_pb_dump_rec(); 24 extern int cmd_pb_dump_rec();
24 extern int cmd_pb_erase(); 25 extern int cmd_pb_erase();
68 {"grcard1-set-adm1", 2, 2, cmd_grcard1_set_adm}, 69 {"grcard1-set-adm1", 2, 2, cmd_grcard1_set_adm},
69 {"grcard1-set-adm2", 2, 2, cmd_grcard1_set_adm}, 70 {"grcard1-set-adm2", 2, 2, cmd_grcard1_set_adm},
70 {"grcard1-set-ki", 1, 1, cmd_grcard1_set_ki}, 71 {"grcard1-set-ki", 1, 1, cmd_grcard1_set_ki},
71 {"grcard1-set-pin1", 2, 2, cmd_grcard1_set_pin}, 72 {"grcard1-set-pin1", 2, 2, cmd_grcard1_set_pin},
72 {"grcard1-set-pin2", 2, 2, cmd_grcard1_set_pin}, 73 {"grcard1-set-pin2", 2, 2, cmd_grcard1_set_pin},
74 {"grcard2-set-pin1", 1, 1, cmd_grcard2_set_pin},
75 {"grcard2-set-pin2", 1, 1, cmd_grcard2_set_pin},
73 {"iccid", 0, 0, cmd_iccid}, 76 {"iccid", 0, 0, cmd_iccid},
74 {"imsi", 0, 0, cmd_imsi}, 77 {"imsi", 0, 0, cmd_imsi},
75 {"pb-dump", 1, 2, cmd_pb_dump}, 78 {"pb-dump", 1, 2, cmd_pb_dump},
76 {"pb-dump-rec", 2, 3, cmd_pb_dump_rec}, 79 {"pb-dump-rec", 2, 3, cmd_pb_dump_rec},
77 {"pb-erase", 1, 1, cmd_pb_erase}, 80 {"pb-erase", 1, 1, cmd_pb_erase},