FreeCalypso > hg > freecalypso-hwlab
comparison uicc/dispatch.c @ 147:43463dc91431
fc-uicc-tool: pb-erase commands ported over
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Sat, 06 Feb 2021 02:54:16 +0000 |
parents | ce2a880ab704 |
children | a5e2b6e3bdf7 |
comparison
equal
deleted
inserted
replaced
146:ce2a880ab704 | 147:43463dc91431 |
---|---|
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_erase(); | |
17 extern int cmd_pb_erase_one(); | |
18 extern int cmd_pb_erase_range(); | |
16 extern int cmd_pb_update(); | 19 extern int cmd_pb_update(); |
17 extern int cmd_pb_update_imm(); | 20 extern int cmd_pb_update_imm(); |
18 extern int cmd_pb_update_imm_hex(); | 21 extern int cmd_pb_update_imm_hex(); |
19 extern int cmd_readbin(); | 22 extern int cmd_readbin(); |
20 extern int cmd_readrec(); | 23 extern int cmd_readrec(); |
40 {"exec", 1, 1, cmd_exec}, | 43 {"exec", 1, 1, cmd_exec}, |
41 {"exit", 0, 0, good_exit}, | 44 {"exit", 0, 0, good_exit}, |
42 {"iccid", 0, 0, cmd_iccid}, | 45 {"iccid", 0, 0, cmd_iccid}, |
43 {"pb-dump", 1, 2, cmd_pb_dump}, | 46 {"pb-dump", 1, 2, cmd_pb_dump}, |
44 {"pb-dump-rec", 2, 3, cmd_pb_dump_rec}, | 47 {"pb-dump-rec", 2, 3, cmd_pb_dump_rec}, |
48 {"pb-erase", 1, 1, cmd_pb_erase}, | |
49 {"pb-erase-one", 2, 2, cmd_pb_erase_one}, | |
50 {"pb-erase-range", 3, 3, cmd_pb_erase_range}, | |
45 {"pb-update", 2, 2, cmd_pb_update}, | 51 {"pb-update", 2, 2, cmd_pb_update}, |
46 {"pb-update-imm", 3, 4, cmd_pb_update_imm}, | 52 {"pb-update-imm", 3, 4, cmd_pb_update_imm}, |
47 {"pb-update-imm-hex", 4, 4, cmd_pb_update_imm_hex}, | 53 {"pb-update-imm-hex", 4, 4, cmd_pb_update_imm_hex}, |
48 {"quit", 0, 0, good_exit}, | 54 {"quit", 0, 0, good_exit}, |
49 {"readbin", 2, 2, cmd_readbin}, | 55 {"readbin", 2, 2, cmd_readbin}, |