comparison uicc/dispatch.c @ 138:baf5bd698764

fc-uicc-tool: select-aid command implemented
author Mychaela Falconia <falcon@freecalypso.org>
date Thu, 04 Feb 2021 04:51:08 +0000
parents c331560c15a4
children 6c6e8705dc70
comparison
equal deleted inserted replaced
137:c331560c15a4 138:baf5bd698764
14 extern int cmd_pb_dump(); 14 extern int cmd_pb_dump();
15 extern int cmd_pb_dump_rec(); 15 extern int cmd_pb_dump_rec();
16 extern int cmd_readbin(); 16 extern int cmd_readbin();
17 extern int cmd_readrec(); 17 extern int cmd_readrec();
18 extern int cmd_select(); 18 extern int cmd_select();
19 extern int cmd_select_aid();
19 extern int cmd_telecom_sum(); 20 extern int cmd_telecom_sum();
20 21
21 extern int display_sim_resp_in_hex(); 22 extern int display_sim_resp_in_hex();
22 extern int good_exit(); 23 extern int good_exit();
23 24
35 {"pb-dump-rec", 2, 3, cmd_pb_dump_rec}, 36 {"pb-dump-rec", 2, 3, cmd_pb_dump_rec},
36 {"quit", 0, 0, good_exit}, 37 {"quit", 0, 0, good_exit},
37 {"readbin", 2, 2, cmd_readbin}, 38 {"readbin", 2, 2, cmd_readbin},
38 {"readrec", 2, 2, cmd_readrec}, 39 {"readrec", 2, 2, cmd_readrec},
39 {"select", 1, 1, cmd_select}, 40 {"select", 1, 1, cmd_select},
41 {"select-aid", 1, 1, cmd_select_aid},
40 {"sim-resp", 0, 0, display_sim_resp_in_hex}, 42 {"sim-resp", 0, 0, display_sim_resp_in_hex},
41 {"telecom-sum", 0, 0, cmd_telecom_sum}, 43 {"telecom-sum", 0, 0, cmd_telecom_sum},
42 {0, 0, 0, 0} 44 {0, 0, 0, 0}
43 }; 45 };
44 46