summaryrefslogtreecommitdiffstats
path: root/src/message-waiting.c
AgeCommit message (Collapse)AuthorFilesLines
2010-03-22Move mwi interface definition to dbus.hDenis Kenzior1-14/+12
2010-02-08Fix: Don't use ofono_debug directly in the coreDenis Kenzior1-1/+1
Use DBG macro which is integrated with the new debug framework.
2010-01-12Make setting CPHS MWIS actually workDenis Kenzior1-2/+7
2010-01-12Fix: Make the CPHS MWIS version actually workDenis Kenzior1-33/+20
2010-01-12Refactor: Move copy-pasted code into a functionDenis Kenzior1-25/+33
2010-01-12Fix: Refactor error conditionsDenis Kenzior1-11/+26
2010-01-12Reorder CPHS initializatin orderDenis Kenzior1-114/+119
Two issues - CPHS MWIS file must always be read, the specification isn't clear whether it depends on the Mailbox service to be available - CPHS MBDN file must be read after we read EFmbdn, otherwise it will not be processed properly
2010-01-12Fix: Create a dedicated callback for syncsDenis Kenzior1-4/+16
When synchronizing CPHS MBDN, create a separate callback that doesn't try to emit signals, etc since the main work has already been done when EFmbdn was set successfully.
2010-01-12Remove #if 0Denis Kenzior1-2/+0
2010-01-12Fix: Don't recurse infinitelyDenis Kenzior1-7/+12
We try to keep the CPHS MBDN elementary file in sync with EFmbdn, unfortunately we share the same callback, which leads to infinite recursive writes. Also cleanup the set_mbdn_request structure if the write fails.
2010-01-12Refactor: Rename & Restructure cphs_supportDenis Kenzior1-3/+9
- Rename to cphs_service_table to be more inline with the specification. - Since the spec allows arbitrary length service tables, use an unsigned char * return instead of a short. - Use bit_field function instead of defining an enum
2010-01-12If EF-MWIS is not available use the CPHS version.Andrzej Zaborowski1-3/+78
2010-01-12Use CPHS version of mailbox numbers on SIM if 3GPP version not available.Andrzej Zaborowski1-14/+116
Otherwise just try to keep the CPHS version of the files in sync.
2010-01-01Update copyright informationMarcel Holtmann1-1/+1
2009-10-02Refactor: Move elementary file type checkingDenis Kenzior1-24/+21
Every single EF read callback checks the file type reported out of the SIM is what it expects. Instead this should be done in one place and the errors reported accordingly
2009-09-22Assume cbs is registered after sim readyDenis Kenzior1-48/+8
2009-09-10Fix generation of Message Waiting PropertyChanged signals.Andrzej Zaborowski1-3/+3
2009-09-10Fix parsing of Enhanced Voicemail notifications.Andrzej Zaborowski1-6/+12
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-20Fix unused variable modemDenis Kenzior1-1/+0
2009-08-19Refine errors returned by message-waitingDenis Kenzior1-4/+10
If we have not initialized fully yet, return sim_not_ready error. If we couldn't read EFmbi or not able to stat EFmbdn size properly, then set mbdn_not_present to TRUE and always return not_supported error
2009-08-19Evolve message waiting low level APIDenis Kenzior1-169/+158
2009-08-19Update message waiting to the new SIM APIDenis Kenzior1-17/+64
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-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-05Make method asyncDenis Kenzior1-1/+2
2009-08-05Remove unused declarationDenis Kenzior1-4/+2
2009-08-04Refactor how mwis updates are doneDenis Kenzior1-106/+50
2009-08-04Name the callback properlyDenis Kenzior1-2/+2
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 Kenzior1-3/+2
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 Zaborowski1-0/+761
The state of the indications is kept in memory and written back to the SIM after any changes.