summaryrefslogtreecommitdiffstats
path: root/src/sim.c
AgeCommit message (Collapse)AuthorFilesLines
2009-07-29Remove all uses of modem.hDenis Kenzior1-1/+0
2009-07-29Rename modem_add_interface / modem_remove_interfaceDenis Kenzior1-2/+2
Move to ofono_modem_add_interface, ofono_modem_remove_interface and put in ofono/modem.h
2009-07-29Get rid of dbus-gsm.hDenis Kenzior1-2/+0
2009-07-29Rename dbus_gsm_dict_append_arrayDenis Kenzior1-1/+1
2009-07-29Rename dbus_gsm_dict_appendDenis Kenzior1-1/+1
2009-07-29Move & Rename PROPERTIES_ARRAY_SIGNATUREDenis Kenzior1-2/+2
2009-07-29Rename dbus_gsm_signal_array_property_changedDenis Kenzior1-1/+1
2009-07-29Get rid of dbus_gsm_free_string_arrayDenis Kenzior1-2/+2
Use g_strfreev instead.
2009-07-29Move & Rename dbus_gsm_connectionDenis Kenzior1-3/+3
Move to ofono/dbus.h ofono_dbus_get_connection
2009-07-27Refactor SIM file access codeDenis Kenzior1-7/+15
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-27Kill unused variable warnDenis Kenzior1-1/+1
2009-07-27Kill implicit declaration warnDenis Kenzior1-0/+1
2009-07-27Kill 'Suggest parantheses around truth value' warnDenis Kenzior1-1/+1
2009-07-27Cache EF-PNN, EF-OPL sim files on disk.Andrzej Zaborowski1-0/+197
This uses plain files in /var/lib/ofono for storing contents of the operator lists to avoid possibly numerous queries to the SIM on every startup. Files are indexed with IMSI. I'm not 100% sure about the autoconf magic. Users need to rerun bootstrap-configure after applying this. Depends on [PATCH] Return SIM file access conditions from read_file_info.
2009-07-27Return SIM file access conditions from read_file_info.Andrzej Zaborowski1-1/+2
2009-07-17Clean-up in sim.c.Andrzej Zaborowski1-21/+5
2009-07-14Fix uninitialized variableDenis Kenzior1-1/+0
2009-07-14Make sure record length is not zeroDenis Kenzior1-1/+6
Record length can be reported as 0 by the driver if it is for a a binary (non-record based) file. Set it to the file length in this case
2009-07-14Get rid of some div by zero errorsDenis Kenzior1-1/+3
2009-07-14Use ofono_set_sim_readyDenis Kenzior1-1/+1
2009-07-14Refactor OPL codeDenis Kenzior1-133/+0
2009-07-14Move SPDI to network.cDenis Kenzior1-126/+0
2009-07-14Move SPN reading to network.cDenis Kenzior1-68/+0
2009-07-14Get rid of unneededDenis Kenzior1-17/+0
2009-07-14Move PNN reading to network.cDenis Kenzior1-64/+0
2009-07-14Move PNN operator parsing to simutilDenis Kenzior1-27/+0
2009-07-14Move function to simutil.cDenis Kenzior1-43/+0
2009-07-14Move enum to simutil.hDenis Kenzior1-3/+0
2009-07-14Remove unneeded functionDenis Kenzior1-9/+0
2009-07-14Remove unneeded variablesDenis Kenzior1-4/+0
2009-07-14Move enum to simutil.hDenis Kenzior1-8/+1
2009-07-14Refactor MSISDN readingDenis Kenzior1-50/+33
2009-07-14If reading one fails, don't bother reading restDenis Kenzior1-3/+9
2009-07-14Add TODO commentDenis Kenzior1-0/+4
2009-07-14Change the way SIM is initializedDenis Kenzior1-35/+56
2009-07-14Add sim file reading / writing utilitiesDenis Kenzior1-0/+185
2009-07-14Add IMSI getter methodDenis Kenzior1-0/+8
2009-07-14Add get/set sim readiness functionsDenis Kenzior1-0/+28
2009-07-14Remove some SPN stuff from SIMDenis Kenzior1-10/+0
2009-07-14Add sim ready notify functionsDenis Kenzior1-0/+25
2009-07-14Remove unnecessary valueDenis Kenzior1-2/+2
2009-07-14Remove unneeded functionsDenis Kenzior1-26/+0
2009-07-14Move utility to its own fileDenis Kenzior1-38/+0
2009-07-14Cleanup network_name_parseDenis Kenzior1-7/+19
2009-07-14Read EF-PNN, EF-OPL and override network names accordingly.Andrzej Zaborowski1-9/+304
2009-07-13Fix suggest parantheses warningDenis Kenzior1-1/+1
2009-07-13Fix unused variable warningDenis Kenzior1-2/+0
2009-07-06Convert SIM strings properlyDenis Kenzior1-5/+5
2009-06-22Minor style issuesDenis Kenzior1-4/+8
2009-06-22Read EF-SPDI and use it for SPN display.Andrzej Zaborowski1-0/+167
When the operator is one of those listed in EF-SPDI then we need to treat it like a HPLMN in deciding whether the SPN or PLMN name should be displayed.