comparison simtool/dispatch.c @ 103:9b2cb2b9c910

fc-simtool fplmn-* commands implemented
author Mychaela Falconia <falcon@freecalypso.org>
date Thu, 18 Feb 2021 00:17:14 +0000
parents 9ce95d9c5c34
children 4709cff90a58
comparison
equal deleted inserted replaced
102:9ce95d9c5c34 103:9b2cb2b9c910
12 extern int cmd_change_chv(); 12 extern int cmd_change_chv();
13 extern int cmd_disable_chv(); 13 extern int cmd_disable_chv();
14 extern int cmd_enable_chv(); 14 extern int cmd_enable_chv();
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_fplmn_dump();
18 extern int cmd_fplmn_erase();
19 extern int cmd_fplmn_erase_all();
20 extern int cmd_fplmn_write();
17 extern int cmd_grcard1_set_adm(); 21 extern int cmd_grcard1_set_adm();
18 extern int cmd_grcard1_set_ki(); 22 extern int cmd_grcard1_set_ki();
19 extern int cmd_grcard1_set_pin(); 23 extern int cmd_grcard1_set_pin();
20 extern int cmd_grcard2_set_adm(); 24 extern int cmd_grcard2_set_adm();
21 extern int cmd_grcard2_set_adm_hex(); 25 extern int cmd_grcard2_set_adm_hex();
102 {"enable-pin", 1, 1, cmd_enable_chv}, 106 {"enable-pin", 1, 1, cmd_enable_chv},
103 {"enable-pin1", 1, 1, cmd_enable_chv}, 107 {"enable-pin1", 1, 1, cmd_enable_chv},
104 {"exec", 1, 1, cmd_exec}, 108 {"exec", 1, 1, cmd_exec},
105 {"exit", 0, 0, good_exit}, 109 {"exit", 0, 0, good_exit},
106 {"fix-sysmo-msisdn", 0, 0, cmd_fix_sysmo_msisdn}, 110 {"fix-sysmo-msisdn", 0, 0, cmd_fix_sysmo_msisdn},
111 {"fplmn-dump", 0, 0, cmd_fplmn_dump},
112 {"fplmn-erase", 1, 2, cmd_fplmn_erase},
113 {"fplmn-erase-all", 0, 0, cmd_fplmn_erase_all},
114 {"fplmn-write", 2, 2, cmd_fplmn_write},
107 {"grcard1-set-adm1", 2, 2, cmd_grcard1_set_adm}, 115 {"grcard1-set-adm1", 2, 2, cmd_grcard1_set_adm},
108 {"grcard1-set-adm2", 2, 2, cmd_grcard1_set_adm}, 116 {"grcard1-set-adm2", 2, 2, cmd_grcard1_set_adm},
109 {"grcard1-set-ki", 1, 1, cmd_grcard1_set_ki}, 117 {"grcard1-set-ki", 1, 1, cmd_grcard1_set_ki},
110 {"grcard1-set-pin1", 2, 2, cmd_grcard1_set_pin}, 118 {"grcard1-set-pin1", 2, 2, cmd_grcard1_set_pin},
111 {"grcard1-set-pin2", 2, 2, cmd_grcard1_set_pin}, 119 {"grcard1-set-pin2", 2, 2, cmd_grcard1_set_pin},