# HG changeset patch # User Mychaela Falconia # Date 1613267036 0 # Node ID c56e63a8725d7eaeb6fd8dfa9dfa4ebece4c1ae5 # Parent 1861d9fb775169788553a9a988927c94af96626c fc-simtool sst-dump command shortened to just sst diff -r 1861d9fb7751 -r c56e63a8725d simtool/dispatch.c --- a/simtool/dispatch.c Sat Feb 13 21:40:38 2021 +0000 +++ b/simtool/dispatch.c Sun Feb 14 01:43:56 2021 +0000 @@ -53,7 +53,7 @@ extern int cmd_smsp_set(); extern int cmd_smsp_set_tag(); extern int cmd_spn(); -extern int cmd_sst_dump(); +extern int cmd_sst(); extern int cmd_telecom_sum(); extern int cmd_uicc_dir(); extern int cmd_unblock_chv(); @@ -132,7 +132,7 @@ {"smsp-set", 2, 6, cmd_smsp_set}, {"smsp-set-tag", 3, 7, cmd_smsp_set_tag}, {"spn", 0, 0, cmd_spn}, - {"sst-dump", 0, 0, cmd_sst_dump}, + {"sst", 0, 0, cmd_sst}, {"telecom-sum", 0, 0, cmd_telecom_sum}, {"uicc-dir", 0, 0, cmd_uicc_dir}, {"unblock-chv1", 2, 2, cmd_unblock_chv}, diff -r 1861d9fb7751 -r c56e63a8725d simtool/sstdump.c --- a/simtool/sstdump.c Sat Feb 13 21:40:38 2021 +0000 +++ b/simtool/sstdump.c Sun Feb 14 01:43:56 2021 +0000 @@ -1,6 +1,7 @@ /* - * This module implements the sst-dump command, - * providing a more readable form of the SIM Service Table. + * This module implements the sst command, listing the SIM Service Table + * in a human-readable, yet very compact form: just a list of activated + * (or allocated but not activated, specially marked) service numbers. */ #include @@ -9,7 +10,7 @@ #include "curfile.h" #include "file_id.h" -cmd_sst_dump() +cmd_sst() { int rc; unsigned byte, pos, code, nserv, linelen;