comparison uicc/dispatch.c @ 151:d9dd52bc403b

fc-uicc-tool factored-out GET RESPONSE implemented
author Mychaela Falconia <falcon@freecalypso.org>
date Thu, 25 Feb 2021 17:06:38 +0000
parents 13ab44761ea6
children 2ef31306be22
comparison
equal deleted inserted replaced
150:0d007555ac89 151:d9dd52bc403b
15 extern int cmd_delete_file(); 15 extern int cmd_delete_file();
16 extern int cmd_dir(); 16 extern int cmd_dir();
17 extern int cmd_disable_pin(); 17 extern int cmd_disable_pin();
18 extern int cmd_enable_pin(); 18 extern int cmd_enable_pin();
19 extern int cmd_exec(); 19 extern int cmd_exec();
20 extern int cmd_get_response();
20 extern int cmd_iccid(); 21 extern int cmd_iccid();
21 extern int cmd_pin_attempt_cnt(); 22 extern int cmd_pin_attempt_cnt();
22 extern int cmd_puk_attempt_cnt(); 23 extern int cmd_puk_attempt_cnt();
23 extern int cmd_readbin(); 24 extern int cmd_readbin();
24 extern int cmd_readef(); 25 extern int cmd_readef();
54 {"dir", 0, 0, 1, cmd_dir}, 55 {"dir", 0, 0, 1, cmd_dir},
55 {"disable-pin", 2, 2, 0, cmd_disable_pin}, 56 {"disable-pin", 2, 2, 0, cmd_disable_pin},
56 {"enable-pin", 2, 2, 0, cmd_enable_pin}, 57 {"enable-pin", 2, 2, 0, cmd_enable_pin},
57 {"exec", 1, 1, 0, cmd_exec}, 58 {"exec", 1, 1, 0, cmd_exec},
58 {"exit", 0, 0, 0, good_exit}, 59 {"exit", 0, 0, 0, good_exit},
60 {"get-response", 1, 1, 1, cmd_get_response},
59 {"iccid", 0, 0, 1, cmd_iccid}, 61 {"iccid", 0, 0, 1, cmd_iccid},
60 {"pin-attempt-cnt", 1, 1, 0, cmd_pin_attempt_cnt}, 62 {"pin-attempt-cnt", 1, 1, 0, cmd_pin_attempt_cnt},
61 {"puk-attempt-cnt", 1, 1, 0, cmd_puk_attempt_cnt}, 63 {"puk-attempt-cnt", 1, 1, 0, cmd_puk_attempt_cnt},
62 {"quit", 0, 0, 0, good_exit}, 64 {"quit", 0, 0, 0, good_exit},
63 {"readbin", 2, 2, 1, cmd_readbin}, 65 {"readbin", 2, 2, 1, cmd_readbin},