comparison uicc/dispatch.c @ 120:a98992e9fe82

fc-uicc-tool: {pin,puk}-attempt-cnt commands implemented
author Mychaela Falconia <falcon@freecalypso.org>
date Fri, 19 Feb 2021 23:51:58 +0000
parents 0ac0aee0df11
children 8e70ee7c194f
comparison
equal deleted inserted replaced
119:0ac0aee0df11 120:a98992e9fe82
12 extern int cmd_dir(); 12 extern int cmd_dir();
13 extern int cmd_disable_pin(); 13 extern int cmd_disable_pin();
14 extern int cmd_enable_pin(); 14 extern int cmd_enable_pin();
15 extern int cmd_exec(); 15 extern int cmd_exec();
16 extern int cmd_iccid(); 16 extern int cmd_iccid();
17 extern int cmd_pin_attempt_cnt();
18 extern int cmd_puk_attempt_cnt();
17 extern int cmd_readbin(); 19 extern int cmd_readbin();
18 extern int cmd_readef(); 20 extern int cmd_readef();
19 extern int cmd_readrec(); 21 extern int cmd_readrec();
20 extern int cmd_select(); 22 extern int cmd_select();
21 extern int cmd_select_aid(); 23 extern int cmd_select_aid();
45 {"disable-pin", 2, 2, 0, cmd_disable_pin}, 47 {"disable-pin", 2, 2, 0, cmd_disable_pin},
46 {"enable-pin", 2, 2, 0, cmd_enable_pin}, 48 {"enable-pin", 2, 2, 0, cmd_enable_pin},
47 {"exec", 1, 1, 0, cmd_exec}, 49 {"exec", 1, 1, 0, cmd_exec},
48 {"exit", 0, 0, 0, good_exit}, 50 {"exit", 0, 0, 0, good_exit},
49 {"iccid", 0, 0, 0, cmd_iccid}, 51 {"iccid", 0, 0, 0, cmd_iccid},
52 {"pin-attempt-cnt", 1, 1, 0, cmd_pin_attempt_cnt},
53 {"puk-attempt-cnt", 1, 1, 0, cmd_puk_attempt_cnt},
50 {"quit", 0, 0, 0, good_exit}, 54 {"quit", 0, 0, 0, good_exit},
51 {"readbin", 2, 2, 1, cmd_readbin}, 55 {"readbin", 2, 2, 1, cmd_readbin},
52 {"readef", 1, 1, 1, cmd_readef}, 56 {"readef", 1, 1, 1, cmd_readef},
53 {"readrec", 1, 2, 1, cmd_readrec}, 57 {"readrec", 1, 2, 1, cmd_readrec},
54 {"select", 1, 1, 0, cmd_select}, 58 {"select", 1, 1, 0, cmd_select},