summaryrefslogtreecommitdiffstats
path: root/drivers/atmodem/sim.c
AgeCommit message (Collapse)AuthorFilesLines
2010-02-08Add Wavecom's quirky CPIN handlingDenis Kenzior1-7/+22
2010-02-08Refactor: Remove atutil dump_responseDenis Kenzior1-8/+0
No longer needed now that we have nice AT command tracing using OFONO_AT_DEBUG=1
2010-02-08Fix: Don't use ofono_debug directly in pluginsDenis Kenzior1-7/+7
2010-01-01Update copyright informationMarcel Holtmann1-1/+1
2009-12-17Fix: The extra 00 at the end isn't necessaryDenis Kenzior1-2/+1
2009-12-17Fix: Use capitals for hex-encoded pdusDenis Kenzior1-5/+5
2009-12-17Fix: Make sure we don't leak under any conditionsDenis Kenzior1-0/+4
2009-12-17Simplify previous patchDenis Kenzior1-20/+14
2009-12-17Implementat SIM envelope in atmodem driverDenis Kenzior1-0/+81
2009-11-11Fix: Don't leak data in SIM atom driverDenis Kenzior1-0/+5
2009-11-10Fix: Rename G1 quirk to QUALCOMM_MSMDenis Kenzior1-1/+1
2009-11-10Work around Palm Pre SIM file reading quirk.Andrzej Zaborowski1-27/+45
I'm not sure if MSM is not a too generic name but it seems the G1's Qualcomm MSM suffers from similar problems.
2009-10-02Fix: Quiet a warningDenis Kenzior1-0/+1
2009-10-02Make generic sim driver work with 3G SIMsDenis Kenzior1-12/+18
3G (UICC) based SIMs use a different response format than 2G sims. In theory this also allows us to determine whether SIM filesystem format is 3G or 2G
2009-10-02Use small caps for 2G/3G functionsDenis Kenzior1-1/+1
2009-10-02Add utility to parse 2G GET_RESPONSE dataDenis Kenzior1-12/+2
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-09-23Add plugin interface for getting PIN lock state.Andrzej Zaborowski1-0/+61
It may be useful to have the information of whether card is currently locked and emit events when this changes but if we want to have it as a property, we would need properties for all types of locks and it wouldn't be all that useful.
2009-09-22Refactor: Do not use int instead of enumDenis Kenzior1-6/+6
27.007 does not define an enumeration for SIM PIN/PUK values. This should be handled by ofono enum instead
2009-09-22Don't treat READY CPIN result differentlyDenis Kenzior1-9/+8
2009-09-22Rearrange sim password enumDenis Kenzior1-30/+31
2009-09-22Do PIN authenticationAndrzej Zaborowski1-0/+241
This adds checking whether PIN is required during SIM initialisation and delaying the sim ready notifications until after correct PIN is given.
2009-09-11Rework DECLARE_FAILURE to be a bit nicerDenis Kenzior1-51/+18
2009-09-04Rename at.h to atmodem.hDenis Kenzior1-1/+1
2009-09-01Rename generic_at drivers to atmodemDenis Kenzior1-1/+1
Be more consistent with directory naming
2009-09-01Make remove functions not return anythingDenis Kenzior1-2/+1
2009-09-01change int vendor to unsigned int vendorDenis Kenzior1-1/+2
2009-09-01Add vendor flag capability to simDenis Kenzior1-1/+4
2009-08-20Fix unused variable chatDenis Kenzior1-1/+0
2009-08-19Remove modem member from cb_dataDenis Kenzior1-7/+7
2009-08-19Update SIM AT driver to the new APIDenis Kenzior1-39/+64
2009-08-05Fix record number in at_sim_update_record.Andrzej Zaborowski1-1/+1
2009-07-29Rename ofono_modem_userdataDenis Kenzior1-7/+8
2009-07-27Add support for cyclic filesDenis Kenzior1-0/+1
2009-07-27Refactor SIM file access codeDenis Kenzior1-20/+6
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-27Return SIM file access conditions from read_file_info.Andrzej Zaborowski1-5/+23
2009-07-14Style fixesDenis Kenzior1-0/+13
2009-07-14Make oFono use proper record ids, don't use tricksDenis Kenzior1-1/+1
2009-06-22Add write/read operations for cyclic files in SIM.Andrzej Zaborowski1-0/+35
2009-06-18Cleanup EFmsisdn reading patchDenis Kenzior1-89/+0
2009-06-18Read own numbers from EFmsisdn instead of AT+CNUM.Andrzej Zaborowski1-0/+1
2009-06-18Minor style fixesDenis Kenzior1-1/+1
2009-06-18Add record based file capability to sim_opsAndrzej Zaborowski1-23/+176
Add capability to read / write / stat files on the SIM. This now supports cyclic, linear fixed and transparent SIM files. Parse GET RESPONSE result to find structure of the file (cyclic, linear fixed, or transparent), the file size and the record length. Add both read and update capability for binary and record-based files. Implement writing sim files through AT.
2009-06-18Use GET RESPONSE sim command to retrieve EF lengthAndrzej Zaborowski1-7/+10
Also accept 0x9f as a success status word 1 for READ BINARY (GSM specific).
2009-05-29Do not use empty prefixesDenis Kenzior1-8/+5
2009-05-26Cleanup SimManager interfaceDenis Kenzior1-8/+22
Future-Proof own numbers support. For now we only report voice numbers Rename attributes to be a bit better
2009-05-26Create ofono_phone_number structDenis Kenzior1-13/+8
Creates a new structure in driver.h called ofono_phone_number. This is meant to replace const char *number, int number_type arguments everywhere. Fix up all existing code to use this structure instead.
2009-05-26Add atmodem SIM-related operationsAndrzej Zaborowski1-0/+325