comparison simtool/dispatch.c @ 112:87d459d9797a

fc-simtool: pb-erase command implemented
author Mychaela Falconia <falcon@freecalypso.org>
date Tue, 26 Jan 2021 03:32:20 +0000
parents 5bfb5a7262c1
children 34c090f35515
comparison
equal deleted inserted replaced
111:5bfb5a7262c1 112:87d459d9797a
16 extern int cmd_disable_chv(); 16 extern int cmd_disable_chv();
17 extern int cmd_enable_chv(); 17 extern int cmd_enable_chv();
18 extern int cmd_iccid(); 18 extern int cmd_iccid();
19 extern int cmd_imsi(); 19 extern int cmd_imsi();
20 extern int cmd_pb_dump(); 20 extern int cmd_pb_dump();
21 extern int cmd_pb_erase();
21 extern int cmd_pb_update(); 22 extern int cmd_pb_update();
22 extern int cmd_readbin(); 23 extern int cmd_readbin();
23 extern int cmd_readef(); 24 extern int cmd_readef();
24 extern int cmd_readrec(); 25 extern int cmd_readrec();
25 extern int cmd_restore_file(); 26 extern int cmd_restore_file();
58 {"enable-pin", 1, 1, cmd_enable_chv}, 59 {"enable-pin", 1, 1, cmd_enable_chv},
59 {"exit", 0, 0, cmd_exit}, 60 {"exit", 0, 0, cmd_exit},
60 {"iccid", 0, 0, cmd_iccid}, 61 {"iccid", 0, 0, cmd_iccid},
61 {"imsi", 0, 0, cmd_imsi}, 62 {"imsi", 0, 0, cmd_imsi},
62 {"pb-dump", 1, 2, cmd_pb_dump}, 63 {"pb-dump", 1, 2, cmd_pb_dump},
64 {"pb-erase", 1, 1, cmd_pb_erase},
63 {"pb-update", 2, 2, cmd_pb_update}, 65 {"pb-update", 2, 2, cmd_pb_update},
64 {"quit", 0, 0, cmd_exit}, 66 {"quit", 0, 0, cmd_exit},
65 {"readbin", 2, 2, cmd_readbin}, 67 {"readbin", 2, 2, cmd_readbin},
66 {"readef", 1, 1, cmd_readef}, 68 {"readef", 1, 1, cmd_readef},
67 {"readrec", 1, 2, cmd_readrec}, 69 {"readrec", 1, 2, cmd_readrec},