summaryrefslogtreecommitdiffstats
path: root/drivers/atmodem/sim.c
AgeCommit message (Collapse)AuthorFilesLines
2010-10-15atmodem: returns file-status of SIM EF-filePetteri Tikander1-8/+13
2010-09-29atmodem: Update IFX specific SIM ready checkingMarcel Holtmann1-2/+6
It seems that the XSIM notification doesn't really send SIM ready status. It sends ready to attach instead: > AT+CPIN="0000"\r < \r\nOK\r\n < \r\n+XLOCK: "PN",5,0,"PU",5,0,"PP",5,0,"PC",5,0,"PS",5,0\r\n < \r\n+XSIM: 7\r\n So either SIM ready or ready to attach is received more to the post_sim state.
2010-09-25atmodem: Add special handling for Infineon SIM ready stateMarcel Holtmann1-16/+61
2010-08-16atmodem: Remove useless NULL checks before g_freeMarcel Holtmann1-24/+12
2010-08-12atmodem: Use g_at_chat_cloneDenis Kenzior1-3/+4
2010-07-08atmodem: Make sim operations return sim error codes.Andrzej Zaborowski1-7/+25
2010-06-29atmodem: Don't unregister *EPEV in *EPEV handler.Andrzej Zaborowski1-2/+20
Handlers are called when looping over the unsolicited responses hash, registering or unregistering modifies that hash and confuses glib.
2010-06-18atmodem: Use a switch/case in sim.cDenis Kenzior1-2/+8
2010-06-18atmodem: Add PIN entry quirk for mbm.Andrzej Zaborowski1-1/+45
Wait for *EPEV unsolicited response after PIN entered, otherwise the next AT+CPIN? query still returns the old value for a fraction of a second and ofono gets stuck until the next PIN entry attempt.
2010-06-13Fix memory leak introduced by HSO quirkMarcel Holtmann1-4/+2
2010-06-13Add nasty quirk to allow HSO devices to read network code lengthMarcel Holtmann1-0/+9
The AT+CRSM=192 commands are failing on HSO devices and thus it might be needed to return its details from a predefined database. Start with testing this for reading the network code length.
2010-06-09Coding style fix for the PIN type tableMarcel Holtmann1-16/+16
2010-05-12atmodem: Pass allowed response prefixes to gatchatAndrzej Zaborowski1-6/+9
Not doing this creates a race condition where any notification comming in in the middle of a sequence of commands may be counted as a response to one of the commands and get lost.
2010-04-15Add Sim Toolkit atomAndrzej Zaborowski1-77/+0
- Add ofono_stk atom in stk.c - Move envelope command from sim driver to stk driver
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