Sergey Matyukevich
bae8ebe907
simutil: add validate_utf8_tlv
...
Add helper to validate if TLV value is a valid UTF8 string.
Note that both null-terminated and non null-terminated UTF8
strings are considered valid.
2021-01-19 10:03:05 -06:00
Denis Kenzior
134b163182
simutil: Add sim_app_record free
2018-02-28 11:08:16 -06:00
James Prestwood
11bcd0cef7
simutil: Added ISIM elementary file ID's
2017-11-02 11:39:01 -05:00
James Prestwood
2a1982e8c0
simutil: Added authenticate builder/parser API
...
Used to compose/parse non-TLV formatted authenticate commands
for GSM and UMTS authentication.
2017-10-11 10:29:13 -05:00
James Prestwood
eb2915e231
simutil: Added app type to application parser
...
Parsing a SIM application only copied the 16 byte AID
portion, which included the application type. Parsing out
the type makes sorting much easier for modules using the
parser.
2017-10-11 10:26:24 -05:00
Denis Kenzior
a9296c18e9
simutil: Add 2G and 3G path lookup utilities
2012-11-22 10:26:34 -06:00
Denis Kenzior
74deff6b1d
simutil: Introduce 2G and 3G parent paths
2012-11-22 10:26:34 -06:00
Denis Kenzior
bca0f5cde1
simutil: Add file type information to sim_db
2012-11-22 06:50:09 -06:00
Denis Kenzior
b1f0a5e84f
simutil: Rename structure variable
2012-11-22 06:50:09 -06:00
Denis Kenzior
fe7d012c39
simutil: Add util to find CPHS service availability
2011-12-16 09:44:32 -06:00
Oleg Zhurakivskyy
c63dc9ac10
simutil: Add CPHS SPN and short-SPN IDs
2011-12-02 12:54:11 -06:00
Marcel Holtmann
7e6afe37bf
core: Update copyright information
2011-10-10 13:39:42 -07:00
Jessica Nilsson
b4c91cd301
simutil: Add missing SIM enum
2011-02-25 17:21:08 +02:00
Aki Niemi
ba3276a8ff
simutil: Add EFcsp file and service group IDs
2011-01-26 10:38:56 +01:00
Jessica Nilsson
f3e3937502
simutil: EF Fileid additions USIM and SIM Phonebook
...
Also, adding some general fileids for building paths
2011-01-25 14:24:29 +01:00
Andrzej Zaborowski
1542bf0c59
simutil: SIM applications directory decoding utils
2011-01-20 11:15:34 -06:00
Denis Kenzior
918d6354cc
simutil: Sort sim_fileid in numerical order
2011-01-18 09:49:22 -06:00
Jessica Nilsson
cf96d24884
simutil: M9, M11, Minor style fixes and indentation
2011-01-18 09:45:30 -06:00
Aki Niemi
52818e3951
simutil: Style fixes, M12
2011-01-18 14:02:46 +02:00
Denis Kenzior
44a8b282ca
simutil: fixup style according to M11
2010-12-08 09:44:39 -06:00
Jeevaka Badrappan
85cbc6926e
simutil: Add EFcfis and EFcphs-cff file Ids
2010-11-27 11:49:25 -06:00
Jeevaka Badrappan
06839da715
simutil: add Efbdn fileid to sim_fileid enum
2010-10-25 10:39:09 -05:00
Denis Kenzior
94cf7c3dd6
simutil: Remove unneeded enum
2010-10-15 02:14:45 -05:00
Petteri Tikander
1f2140dabe
simutil: response-handler returns now also file-status
2010-10-15 02:01:34 -05:00
Petteri Tikander
4d2eb64a71
simutil: add ID of EFadn
2010-10-14 05:41:07 -05:00
Denis Kenzior
2a2fd1d036
simutil: Fix minor whitespace corruption
2010-08-31 13:08:31 -05:00
Yang Gu
d43b2c0a61
sim: Read EFsst
2010-08-31 13:07:54 -05:00
Kristen Carlson Accardi
782157ce57
simutil: add fileid for EFimg
2010-08-25 13:38:13 -05:00
Yang Gu
c679babdc5
sim: Read EFust and EFest
2010-08-23 14:29:21 -05:00
Denis Kenzior
b0cf35c324
simutil: Add sim_encode_bcd_number
2010-05-26 09:59:14 -05:00
Denis Kenzior
48a4f59bdd
simutil: add sim_extract_bcd_number
2010-05-26 09:50:51 -05:00
Andrzej Zaborowski
af2004ece1
simutil: Add MMC MNC pair encoding utility
2010-05-25 16:52:54 -05:00
Denis Kenzior
83240f1389
simutil: simplify ctlv logic
2010-05-25 16:52:51 -05:00
Andrzej Zaborowski
1c3060026e
simutil: Add utilities for encoding BTLV and CTLV
2010-05-25 16:52:50 -05:00
Daniel Wagner
b338033307
Read EF_ICCID property of SIM
...
Tested with phonesim.
2010-05-19 23:41:03 -05:00
Yang Gu
353d955dea
simutil: Add comprehension tlv copy
...
Can be used to save the state of the current iterator and 'peek' ahead.
2010-05-13 11:02:52 -05:00
Yang Gu
a13db81229
Make the function to parse mcc and mnc public
2010-03-25 11:36:11 -05:00
Denis Kenzior
19a20e4ccd
Add COMPREHENSION TLV iterator utilities
2010-02-23 12:03:04 -06:00
Denis Kenzior
d98be70fa9
Add Simple TLV iterator utilities
2010-02-23 12:03:03 -06:00
Denis Kenzior
077cfe284e
Move from header to implementation
2010-02-23 12:03:03 -06:00
Denis Kenzior
0d163e6295
Add BER-TLV iterator utilities
2010-02-23 12:03:00 -06:00
Andrzej Zaborowski
96a93b5829
If EF-MWIS is not available use the CPHS version.
2010-01-12 11:12:41 -06:00
Andrzej Zaborowski
f97d203392
Use CPHS version of mailbox numbers on SIM if 3GPP version not available.
...
Otherwise just try to keep the CPHS version of the files in sync.
2010-01-12 11:12:01 -06:00
Andrzej Zaborowski
637ca18af4
Retrieve CPHS phase (if any) from SIM.
2010-01-12 10:35:51 -06:00
Andrzej Zaborowski
b4c3e1c1cc
Index SIM cache by phase also.
2010-01-06 13:14:20 -06:00
Marcel Holtmann
144080e749
Update copyright information
2010-01-01 17:00:10 -08:00
Denis Kenzior
6ef9a4b2dd
Fix: Make const correct
2009-10-02 19:25:44 -05:00
Denis Kenzior
c8150fc120
Use small caps for 2G/3G functions
2009-10-02 18:25:56 -05:00
Denis Kenzior
8bf64ef07d
Add utility to parse 3G get response data
...
Based on ETSI 102.221
2009-10-02 18:25:56 -05:00
Denis Kenzior
c9a2eedc08
Add utility to parse 2G GET_RESPONSE data
...
This format is described in 51.011 and the older 11.11. It is not
supported by newer 3G UICC based devices & sim card combinations
2009-10-02 18:25:56 -05:00