view libcommon/file_id.h @ 19:72a24b8538eb

meaty function of pb-dump moved back into simtool, out of libcommon Upon further reflection, I am not going to keep any of the pb-* commands in the new version of fc-uicc-tool: they are logically incorrect for UICC/USIM anyway, as they access phonebook files via old classic SIM paths, rather than their USIM paths. OTOH, I am going to implement new SMSP commands in fc-simtool, and I do not plan to replicate them in fc-uicc-tool either. Guts of fc-simtool pb-dump belong in simtool/pbdump.c, not in libcommon, just like the guts of the future smsp-dump command will belong in its own respective implementation module.
author Mychaela Falconia <falcon@freecalypso.org>
date Fri, 12 Feb 2021 03:33:26 +0000
parents f7145c77b7fb
children ab3c945f869e
line wrap: on
line source

/* definitions of a few file IDs we find interesting */

#define	FILEID_MF	0x3F00

#define	DF_TELECOM	0x7F10
#define	DF_GSM		0x7F20
#define	DF_DCS1800	0x7F21

/* EFs under MF */
#define	EF_DIR		0x2F00
#define	EF_ICCID	0x2FE2

/* EFs under DF_GSM */
#define	EF_LP		0x6F05
#define	EF_IMSI		0x6F07
#define	EF_Kc		0x6F20
#define	EF_PLMNsel	0x6F30
#define	EF_HPLMN	0x6F31
#define	EF_ACMmax	0x6F37
#define	EF_SST		0x6F38
#define	EF_ACM		0x6F39
#define	EF_GID1		0x6F3E
#define	EF_GID2		0x6F3F
#define	EF_PUCT		0x6F41
#define	EF_CBMI		0x6F45
#define	EF_SPN		0x6F46
#define	EF_CBMID	0x6F48
#define	EF_CBMIR	0x6F50
#define	EF_BCCH		0x6F74
#define	EF_ACC		0x6F78
#define	EF_FPLMN	0x6F7B
#define	EF_LOCI		0x6F7E
#define	EF_AD		0x6FAD
#define	EF_PHASE	0x6FAE
#define	EF_ECC		0x6FB7
#define	EF_PNN		0x6FC5
#define	EF_OPL		0x6FC6

/* EFs under DF_TELECOM */
#define	EF_ADN		0x6F3A
#define	EF_FDN		0x6F3B
#define	EF_SMS		0x6F3C
#define	EF_CCP		0x6F3D
#define	EF_MSISDN	0x6F40
#define	EF_SMSP		0x6F42
#define	EF_SMSS		0x6F43
#define	EF_LND		0x6F44
#define	EF_SDN		0x6F49
#define	EF_EXT1		0x6F4A
#define	EF_EXT2		0x6F4B
#define	EF_EXT3		0x6F4C