summaryrefslogtreecommitdiffstats
path: root/src/simutil.h
AgeCommit message (Collapse)AuthorFilesLines
2010-05-26simutil: Add sim_encode_bcd_numberDenis Kenzior1-0/+1
2010-05-26simutil: add sim_extract_bcd_numberDenis Kenzior1-0/+2
2010-05-25simutil: Add MMC MNC pair encoding utilityAndrzej Zaborowski1-0/+1
2010-05-25simutil: simplify ctlv logicDenis Kenzior1-0/+1
2010-05-25simutil: Add utilities for encoding BTLV and CTLVAndrzej Zaborowski1-0/+47
2010-05-19Read EF_ICCID property of SIMDaniel Wagner1-0/+1
Tested with phonesim.
2010-05-13simutil: Add comprehension tlv copyYang Gu1-0/+3
Can be used to save the state of the current iterator and 'peek' ahead.
2010-03-25Make the function to parse mcc and mnc publicYang Gu1-0/+1
2010-02-23Add COMPREHENSION TLV iterator utilitiesDenis Kenzior1-0/+23
2010-02-23Add Simple TLV iterator utilitiesDenis Kenzior1-0/+18
2010-02-23Move from header to implementationDenis Kenzior1-2/+0
2010-02-23Add BER-TLV iterator utilitiesDenis Kenzior1-0/+51
2010-01-12If EF-MWIS is not available use the CPHS version.Andrzej Zaborowski1-0/+1
2010-01-12Use CPHS version of mailbox numbers on SIM if 3GPP version not available.Andrzej Zaborowski1-0/+1
Otherwise just try to keep the CPHS version of the files in sync.
2010-01-12Retrieve CPHS phase (if any) from SIM.Andrzej Zaborowski1-0/+1
2010-01-06Index SIM cache by phase also.Andrzej Zaborowski1-0/+1
2010-01-01Update copyright informationMarcel Holtmann1-1/+1
2009-10-02Fix: Make const correctDenis Kenzior1-2/+2
2009-10-02Use small caps for 2G/3G functionsDenis Kenzior1-2/+2
2009-10-02Add utility to parse 3G get response dataDenis Kenzior1-0/+5
Based on ETSI 102.221
2009-10-02Add utility to parse 2G GET_RESPONSE dataDenis Kenzior1-0/+4
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-02Add utility to lookup files in EF dbDenis Kenzior1-0/+2
2009-10-02Add basic elementary file databaseDenis Kenzior1-0/+11
2009-09-22Move some stuff aroundDenis Kenzior1-3/+0
2009-09-22Do PIN authenticationAndrzej Zaborowski1-0/+3
This adds checking whether PIN is required during SIM initialisation and delaying the sim ready notifications until after correct PIN is given.
2009-09-17Present list of preferred languages on SimManager interfce.Andrzej Zaborowski1-0/+2
We try to detect the old (2G / 2G+, 51.011) EFlp format and deal with the file contents accordingly.
2009-09-16Add reading of various CBS related EFsDenis Kenzior1-0/+3
- EFcbmi - Cell Broadcast Identifiers - EFcbmir - Cell Broadcast Identifier Ranges - EFcbmid - Cell Broadcast Identifiers for Data Download
2009-08-31Expose service dialling numbers stored on SIM through SimManager.Andrzej Zaborowski1-0/+1
2009-08-31Decode and encode alpha-identifier fieldsAndrzej Zaborowski1-2/+3
Add identifier argument to sim_adn_parse and sim_adn_build. Also fix the number length passed to extract_bcd_number in sim_adn_parse.
2009-08-31Read EFad and expose the IMSI MNC length (2-3)Andrzej Zaborowski1-0/+1
2009-08-17Support emergency numbersYang Gu1-0/+1
2009-08-05Add utility for building ADN recordsAndrzej Zaborowski1-0/+2
Used to populate MSISDN, MBDN, etc records on the SIM
2009-08-04Add a MessageWaiting interface to track message waiting indications.Andrzej Zaborowski1-0/+3
The state of the indications is kept in memory and written back to the SIM after any changes.
2009-07-31Clean up in sim.c.Andrzej Zaborowski1-0/+3
Remove unused variables and fields. Move EFadn format parsing to a common function because various files use this same format.
2009-07-27Refactor SIM file access codeDenis Kenzior1-0/+17
SIM File Access conditions would be reported similarly between various stacks, so it seems like the core logic of figuring out the access conditions belongs up in the daemon. This also fixes various problems, including: - access conditions read from bytes 10-12, instead of 9-11. - read/update, invalidate/rehabilitate and increase conditions read from the wrong bits (0-3 instead of 4-7 and vice versa)
2009-07-17Clean-up in sim.c.Andrzej Zaborowski1-17/+7
2009-07-14Refactor EONS to have lac / non-lac versionsDenis Kenzior1-1/+5
PNN/OPL database has fields which provide global operator naming, or specific to a cell range. The cell range can only be obtained if the operator is the current one.
2009-07-14Return the entire EONS info, not just the longnameDenis Kenzior1-3/+12
2009-07-14Refactor OPL codeDenis Kenzior1-14/+16
2009-07-14Move SPDI to network.cDenis Kenzior1-0/+9
2009-07-14Refactor sim_pnn_operator_parseDenis Kenzior1-2/+1
2009-07-14Move PNN operator parsing to simutilDenis Kenzior1-0/+12
2009-07-14Move function to simutil.cDenis Kenzior1-0/+2
2009-07-14Move enum to simutil.hDenis Kenzior1-0/+3
2009-07-14Move enum to simutil.hDenis Kenzior1-0/+9
2009-07-14Move utility to its own fileDenis Kenzior1-0/+22