summaryrefslogtreecommitdiffstats
path: root/src
AgeCommit message (Collapse)AuthorFilesLines
2009-08-07Use g_source instead of flag for mpty list changesDenis Kenzior1-6/+11
2009-08-07Use g_source instead of flag for call list changesDenis Kenzior1-7/+10
2009-08-07Fix sim ADN type of number handlingDenis Kenzior1-2/+2
The type of number stored here is not quite the same as SMS number, and should be parsed differently
2009-08-07Refactor setting MSISDNDenis Kenzior1-27/+33
- Empty lists should be supported, as clearing the MSISDN is OK - Initialization of empty MSISDN record should also be possible - Overwriting of unused records should be possible - Simplify resource cleanup
2009-08-07Keep new numbers in the main sim data structureDenis Kenzior1-17/+10
No sense to allocate / free memory for a single pointer
2009-08-07Move error label to a more logical placeDenis Kenzior1-3/+3
2009-08-07Move variable declarations to a move logical placeDenis Kenzior1-2/+3
2009-08-07Make SubscriberNumbers writable.Andrzej Zaborowski1-5/+203
This implements writing SubscriberNumbers if the SIM allows this (optional to the SIM provider). Because the property is an array of phone numbers, setting the property needs to write multiple records on the SIM so it's not atomic and potentially can fail partially. In this case we have to report a write error to DBus client but at the same time file may be changed and we send a PropertyChanged.
2009-08-07Make SIM op queue more robust.Andrzej Zaborowski1-6/+6
This allows ofono_sim_read and ofono_sim_write callbacks to queue new read or write operations. The callback must not be called between removing the operation from queue and checking queue length.
2009-08-06Fix styleDenis Kenzior1-2/+2
2009-08-06Fix styleDenis Kenzior1-2/+5
2009-08-06Add whitespace properlyDenis Kenzior1-1/+1
2009-08-06Fix trailing whitespaceDenis Kenzior1-7/+7
2009-08-06No spaces between variable and ++/--Denis Kenzior1-7/+7
2009-08-06Fix trailing whitespaceDenis Kenzior1-1/+1
2009-08-06Squash warningDenis Kenzior1-0/+2
2009-08-06Squash warningDenis Kenzior1-0/+3
2009-08-06Squash warningDenis Kenzior1-1/+0
2009-08-05Attempt to update MBDN based on Enhanced VM IEIAndrzej Zaborowski1-6/+13
2009-08-05Implement committing the EF-MBDN records to SIMAndrzej Zaborowski1-6/+24
2009-08-05Add utility for building ADN recordsAndrzej Zaborowski2-0/+29
Used to populate MSISDN, MBDN, etc records on the SIM
2009-08-05Expose address encode/decode utilitiesAndrzej Zaborowski2-16/+27
These can be used elsewhere, in particular for decoding the enhanced message waiting notification ieis
2009-08-05Add encode_bcd_number utility functionAndrzej Zaborowski2-0/+12
2009-08-05Don't emit signals for unexposed propertiesDenis Kenzior1-5/+7
Signals shouldn't be emitted, but we should still track the information so it can be written to the SIM reliably
2009-08-05Don't hardcode info len to 6Denis Kenzior1-1/+1
2009-08-05Make method asyncDenis Kenzior1-1/+2
2009-08-05Remove unused declarationDenis Kenzior1-4/+2
2009-08-05Use invalid_args instead of invalid_formatAndrzej Zaborowski3-6/+6
2009-08-04Refactor how mwis updates are doneDenis Kenzior1-106/+50
2009-08-04Name the callback properlyDenis Kenzior1-2/+2
2009-08-04Don't emit SubscriberNumbers multiple timesDenis Kenzior1-7/+6
We would emit the signal even if the record could not be parsed
2009-08-04Refactor how MBDN set is doneDenis Kenzior1-55/+91
2009-08-04Don't gmalloc something that is max 140 bytesDenis Kenzior1-6/+1
2009-08-04Get rid of message-waiting.hDenis Kenzior5-35/+7
2009-08-04Fix minor style issuesDenis Kenzior1-8/+16
2009-08-04Use invalid_args instead of invalid_formatDenis Kenzior1-1/+1
2009-08-04Add a MessageWaiting interface to track message waiting indications.Andrzej Zaborowski7-10/+822
The state of the indications is kept in memory and written back to the SIM after any changes.
2009-08-04Fix segfault when pnn record doesn't existDenis Kenzior1-1/+1
2009-08-04Put defines near the topDenis Kenzior1-5/+5
2009-08-04Port Andrew's TFR patchDenis Kenzior1-10/+17
2009-08-04Make sim_op_info_cb caching a bit more readableDenis Kenzior1-20/+30
2009-08-04Make cache a gbooleanDenis Kenzior1-1/+1
2009-08-04Make sim_op_retrieve_cb a bit more readableDenis Kenzior1-21/+28
2009-08-04Check write() return values in sim.c for errors.Andrzej Zaborowski1-6/+18
2009-08-04Fix invalid queue use in sim_write_cbAndrzej Zaborowski1-6/+4
Since we pop the queue's head, we can't use sim_op_error
2009-08-03Fix over-complicated code flow that results in uninitialized variablesMarcel Holtmann2-2/+8
2009-08-03Make sure SIM read callbacks die cleanly.Andrzej Zaborowski2-5/+11
2009-08-03Make is_read a gbooleanDenis Kenzior1-5/+5
2009-08-03Implement ofono_sim_writeAndrzej Zaborowski2-7/+114
Writes use sim->simop_q queue together with reads.
2009-07-31Fix possible memory leak on SIM reading error.Andrzej Zaborowski1-3/+1
This would also stall the SIM op queue if there's a read error for a record other than the first. The other solution would be "goto next;" (keep reading further records).