comparison uicc/dispatch.c @ 139:6c6e8705dc70

fc-uicc-tool: select-usim and select-isim implemented
author Mychaela Falconia <falcon@freecalypso.org>
date Thu, 04 Feb 2021 05:00:12 +0000
parents baf5bd698764
children 062141ce5755
comparison
equal deleted inserted replaced
138:baf5bd698764 139:6c6e8705dc70
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_select_aid();
20 extern int cmd_select_isim();
21 extern int cmd_select_usim();
20 extern int cmd_telecom_sum(); 22 extern int cmd_telecom_sum();
21 23
22 extern int display_sim_resp_in_hex(); 24 extern int display_sim_resp_in_hex();
23 extern int good_exit(); 25 extern int good_exit();
24 26
37 {"quit", 0, 0, good_exit}, 39 {"quit", 0, 0, good_exit},
38 {"readbin", 2, 2, cmd_readbin}, 40 {"readbin", 2, 2, cmd_readbin},
39 {"readrec", 2, 2, cmd_readrec}, 41 {"readrec", 2, 2, cmd_readrec},
40 {"select", 1, 1, cmd_select}, 42 {"select", 1, 1, cmd_select},
41 {"select-aid", 1, 1, cmd_select_aid}, 43 {"select-aid", 1, 1, cmd_select_aid},
44 {"select-isim", 1, 1, cmd_select_isim},
45 {"select-usim", 1, 1, cmd_select_usim},
42 {"sim-resp", 0, 0, display_sim_resp_in_hex}, 46 {"sim-resp", 0, 0, display_sim_resp_in_hex},
43 {"telecom-sum", 0, 0, cmd_telecom_sum}, 47 {"telecom-sum", 0, 0, cmd_telecom_sum},
44 {0, 0, 0, 0} 48 {0, 0, 0, 0}
45 }; 49 };
46 50