summaryrefslogtreecommitdiffstats
path: root/src/sms.c
AgeCommit message (Collapse)AuthorFilesLines
2015-09-08sms: Add trace when datagram is not deliveredAlfonso Sanchez-Beato1-0/+7
2012-11-29sms: Don't try to start the queue if already activeDenis Kenzior1-0/+3
If the queue is currently inside a submit operation and the network registration state changes, do not try to schedule the next operation.
2012-09-11sms: Optimize behavior of previous commitDenis Kenzior1-5/+7
The previous commit fixed the bug, however performing a linear-search through the entire tx-queue is quite wasteful. The current usage pattern is to always modify the entry at the tail of the queue, so optimize.
2012-09-11sms: Fix to find SMS entry posted by STKPhilippe Nunes1-6/+5
SMS initiated by proactive command are not exposed on D-BUS. Therefore, there is no message associated with the entry created from STK.
2012-06-17sms: Make PDU data arrays constMarcel Holtmann1-2/+2
2012-05-30sms: Fix GetMessages argument / return signatureDenis Kenzior1-1/+1
2012-05-20Do not set signature and reply in GDBus tablesLucas De Marchi1-9/+9
Use GDBUS_* macros, so signature and reply fields are not set in each method/signal.
2012-05-20Convert GDBus methods to use macro helpersLucas De Marchi1-12/+24
With these macro helpers we can separate in/out arguments and use their own vector.
2012-05-20Constify GDBus signal tablesHenrique Dante de Almeida1-1/+1
Constify signal tables with the following command: find . -name '*.[ch]' -exec \ sed -i 's/\(GDBusSignalTable .* =\)/const \1/g' {} \;
2012-05-20Constify GDBus method tablesHenrique Dante de Almeida1-1/+1
Constify method tables with the following command: find . -name '*.[ch]' -exec \ sed -i 's/\(GDBusMethodTable .* =\)/const \1/g' {} \;
2012-01-18sms: Don't need the sim member nowDenis Kenzior1-4/+4
2012-01-18sms: Use __ofono_atom_findDenis Kenzior1-16/+10
2011-05-20sms: remove set but not used varGustavo F. Padovan1-3/+0
2011-04-29sms: Remove use of uninitialized variableBertrand Aygon1-1/+1
Remove a debug information, since the info is useless, and more, it can display invalid info due to var not initialise in some case
2011-04-14sms: Fix typoDenis Kenzior1-1/+1
2011-03-30core: remove redundant codeMika Liljeberg1-11/+0
2011-03-18sms: Rework tx_state logicDenis Kenzior1-14/+19
Using the enum which has a value of zero (PENDING) by default created some problems. Use a slightly modified version of the logic and consume less storage to boot.
2011-03-18sms: Move CancelMessage(o) methodDenis Kenzior1-43/+6
Move this method to the Message Cancel() method instead and introduce new __ofono_sms_txq_cancel API
2011-03-18sms: remove check for impossible NULL conditionLucas De Marchi1-3/+0
tx_next() must never be called with entry == NULL and currently it was already being dereferenced before making this check. Thus just remove it.
2011-03-18sms: allow message submission to be cancelledLucas De Marchi1-0/+88
Based on patch from Yang Gu <gyagp0@gmail.com>
2011-03-18sms: Don't leak memory, even in bizarre conditionsDenis Kenzior1-2/+2
2011-03-18sms: factor out 'remove entry' from tx_finished()Lucas De Marchi1-43/+62
Refactor tx_finished() and create a function to remove an entry from the tx queue. This function will be used also when a message is cancelled. Thus, handle the case in which state is MESSAGE_STATE_CANCELLED as well. Based on patch from Yang Gu <gyagp0@gmail.com>
2011-03-17sms: limit the sms sending retryJeevaka Badrappan1-0/+6
If sending of SMS fails, then oFono core will try to resend it after n * 5 seconds(n = retry count). Due to this, conformance test case 27.22.8 sequence 1.4 fails(refer 31.124 spec). Plan is to limit the failue codes for which the retry will be done. This patch allows the retry if the failure is only due to network timeout. For all the other failure cases, retry is not done.
2011-02-10sms: return immediately if cached flag is setDenis Kenzior1-3/+3
2011-02-08core: free GError objects returned by glibDenis Kenzior1-1/+6
2011-02-06sms: Minor style fixDenis Kenzior1-0/+1
2011-02-06sms: Be more paranoid when loading SMS settingsDenis Kenzior1-12/+29
2011-02-06sms: Use a better pattern for bearer_from_stringDenis Kenzior1-8/+9
2011-02-06sms: Add alphabet support to SMS atomAki Niemi1-2/+89
2011-02-02sms: Fix indentationAki Niemi1-1/+1
2011-01-28sms: restore pending tx messages from backupLucas De Marchi1-0/+62
Based on patch from: Kristen Carlson Accardi <kristen@linux.intel.com>
2011-01-28sms: delete sent sms messages from backupLucas De Marchi1-0/+8
Based on patch from Kristen Carlson Accardi <kristen@linux.intel.com>
2011-01-28sms: store pending tx pdus on diskLucas De Marchi1-0/+21
Based on patch from Kristen Carlson Accardi <kristen@linux.intel.com>
2011-01-20sms: Break out message objects into message.[ch]Faiyaz Baxamusa1-219/+28
These can be used as is by the CDMA SMS manager atom
2011-01-18sms: make sms atom offline-safePekka Pessi1-6/+91
Allow use of SMS atom both in online and offline (post_sim) states. SMS atom now watches network registration atom and state. Thmessages are queued but not sent if not registered to a network. Errors occurring when a short message is being sent while transition from online to offline or when network coverage is dropped are now handled gracefully.
2010-12-24sms: Add debug for SMS source and destination portsMarcel Holtmann1-0/+2
2010-12-02sms: Use the right union member for DCS checkDenis Kenzior1-1/+1
2010-11-29core: explicitly compare pointers to NULLLucas De Marchi1-23/+20
This patch was generated by the following semantic patch (http://coccinelle.lip6.fr/) // <smpl> @fix disable is_null,isnt_null1@ expression *E; @@ - !E + E == NULL // </smpl>
2010-11-22src: coding style fixes - rule M6Jeevaka Badrappan1-6/+6
2010-11-10sms: Fix up comment style and wordingDenis Kenzior1-3/+6
2010-11-10sms: SMS-PP download must be enabled in sst / estAndrzej Zaborowski1-0/+13
2010-11-08sms: Handle "USIM Download" SMS type.Andrzej Zaborowski1-5/+16
2010-11-04sms: Call the txq_submit queued callbackDenis Kenzior1-0/+3
2010-11-04sms: Separate history from dbus flags in txq_submitDenis Kenzior1-11/+18
2010-11-04sms: Refactor __ofono_sms_txq_submitDenis Kenzior1-59/+79
2010-11-04sms: Add __ofono_sms_message_path_from_uuidDenis Kenzior1-10/+10
2010-11-04sms: add __ofono_sms_get_next_refDenis Kenzior1-0/+5
2010-11-02sms: Fix unused variable warningDenis Kenzior1-1/+0
2010-11-02sms: Update to the new smsutil apiDenis Kenzior1-29/+3
2010-11-02sms: Don't crash when encoding failsDenis Kenzior1-1/+5