comparison simtool/sstdump.c @ 59:c56e63a8725d

fc-simtool sst-dump command shortened to just sst
author Mychaela Falconia <falcon@freecalypso.org>
date Sun, 14 Feb 2021 01:43:56 +0000
parents bbc2821288aa
children
comparison
equal deleted inserted replaced
58:1861d9fb7751 59:c56e63a8725d
1 /* 1 /*
2 * This module implements the sst-dump command, 2 * This module implements the sst command, listing the SIM Service Table
3 * providing a more readable form of the SIM Service Table. 3 * in a human-readable, yet very compact form: just a list of activated
4 * (or allocated but not activated, specially marked) service numbers.
4 */ 5 */
5 6
6 #include <sys/types.h> 7 #include <sys/types.h>
7 #include <stdio.h> 8 #include <stdio.h>
8 #include "simresp.h" 9 #include "simresp.h"
9 #include "curfile.h" 10 #include "curfile.h"
10 #include "file_id.h" 11 #include "file_id.h"
11 12
12 cmd_sst_dump() 13 cmd_sst()
13 { 14 {
14 int rc; 15 int rc;
15 unsigned byte, pos, code, nserv, linelen; 16 unsigned byte, pos, code, nserv, linelen;
16 17
17 rc = select_op(DF_GSM); 18 rc = select_op(DF_GSM);