comparison uicc/dispatch.c @ 146:ce2a880ab704

fc-uicc-tool: pb-update commands ported over
author Mychaela Falconia <falcon@freecalypso.org>
date Sat, 06 Feb 2021 02:45:29 +0000
parents 14dee03e9675
children 43463dc91431
comparison
equal deleted inserted replaced
145:14dee03e9675 146:ce2a880ab704
11 extern int cmd_dir(); 11 extern int cmd_dir();
12 extern int cmd_exec(); 12 extern int cmd_exec();
13 extern int cmd_iccid(); 13 extern int cmd_iccid();
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_pb_update();
17 extern int cmd_pb_update_imm();
18 extern int cmd_pb_update_imm_hex();
16 extern int cmd_readbin(); 19 extern int cmd_readbin();
17 extern int cmd_readrec(); 20 extern int cmd_readrec();
18 extern int cmd_select(); 21 extern int cmd_select();
19 extern int cmd_select_aid(); 22 extern int cmd_select_aid();
20 extern int cmd_select_isim(); 23 extern int cmd_select_isim();
37 {"exec", 1, 1, cmd_exec}, 40 {"exec", 1, 1, cmd_exec},
38 {"exit", 0, 0, good_exit}, 41 {"exit", 0, 0, good_exit},
39 {"iccid", 0, 0, cmd_iccid}, 42 {"iccid", 0, 0, cmd_iccid},
40 {"pb-dump", 1, 2, cmd_pb_dump}, 43 {"pb-dump", 1, 2, cmd_pb_dump},
41 {"pb-dump-rec", 2, 3, cmd_pb_dump_rec}, 44 {"pb-dump-rec", 2, 3, cmd_pb_dump_rec},
45 {"pb-update", 2, 2, cmd_pb_update},
46 {"pb-update-imm", 3, 4, cmd_pb_update_imm},
47 {"pb-update-imm-hex", 4, 4, cmd_pb_update_imm_hex},
42 {"quit", 0, 0, good_exit}, 48 {"quit", 0, 0, good_exit},
43 {"readbin", 2, 2, cmd_readbin}, 49 {"readbin", 2, 2, cmd_readbin},
44 {"readrec", 1, 2, cmd_readrec}, 50 {"readrec", 1, 2, cmd_readrec},
45 {"select", 1, 1, cmd_select}, 51 {"select", 1, 1, cmd_select},
46 {"select-aid", 1, 1, cmd_select_aid}, 52 {"select-aid", 1, 1, cmd_select_aid},