summaryrefslogtreecommitdiffstats
path: root/src
AgeCommit message (Collapse)AuthorFilesLines
2010-07-08stk: Simplify poll interval logicDenis Kenzior1-6/+4
2010-07-08stk: Be more paranoid of enums from stkDenis Kenzior1-0/+3
2010-07-08stk: Handle the Poll Interval proactive commandAndrzej Zaborowski1-0/+45
2010-07-08style: Use more understandable syntaxDenis Kenzior1-2/+3
2010-07-08style: No initialization needed hereDenis Kenzior1-1/+1
2010-07-08stk: Get rid of gratuitous goto abuseDenis Kenzior1-5/+2
2010-07-08style: Prefer initialized variables on topDenis Kenzior1-1/+1
2010-07-08sms: Refactor ofono_sms_submit introduced by stkDenis Kenzior3-96/+108
Simplify the logic and get rid of duplicated code
2010-07-08sms: Tweak the logic to be more readableDenis Kenzior1-1/+1
2010-07-08stk: Don't submit all pending envelopes at onceDenis Kenzior1-2/+2
2010-07-08stk: Fix copy / paste errorDenis Kenzior1-2/+0
2010-07-08stk: Get rid of bin to hex converterDenis Kenzior1-16/+3
That much code for a debug message is pretty silly. Perhaps an ofono_debug_hexdump function is in order.
2010-07-08stk: cancelled variable is not usedDenis Kenzior1-5/+0
2010-07-08stk: Handle the Timer Management proactive commandAndrzej Zaborowski1-0/+165
2010-07-08stk: Handle the Set Up Idle Text proactive commandAndrzej Zaborowski1-0/+98
This adds a SimToolkit dbus interface with just one property (IdleModeText).
2010-07-08stk: Handle the Send SMS proactive command.Andrzej Zaborowski1-0/+104
2010-07-08Add __ofono_sms_submit for other atoms to submit SMs.Andrzej Zaborowski2-1/+45
2010-07-08stkutil: Timer Value is conditional, not optional.Andrzej Zaborowski1-1/+5
Make the parser check that the value is present when necessary, so that stk.c doesn't have to check this.
2010-07-08sktutil: Use the Mandatory flag in parse_dataobj.Andrzej Zaborowski1-3/+3
We need to look at the Mandatory flag and not at the Minimum flag when parsing CTLVs. The Minimum flag is important when encoding CTLVs because CR bit is set according to it.
2010-07-08stk: Handle ENVELOPEs in a queue, retry on sim busy.Andrzej Zaborowski1-14/+77
Some envelope types need to be retried when sim reports busy status. Then envelopes such as Event Download need to be returned in the order of the event occurences, so need to be handled in a queue.
2010-07-08stk: Handle MoreTime command as a no-opAndrzej Zaborowski1-0/+13
2010-07-08stk: Utilities for proactive command/envelope handling.Andrzej Zaborowski1-18/+155
2010-07-08smsutil: Fix valgrind complaintDenis Kenzior1-3/+3
SMS cannot be split over GSM extension chars, however on the last segment this code was causing us to overflow the buffer and resulted in valgrind complaining.
2010-07-02stkutil: Move scaddr field to gsm_smsAndrzej Zaborowski2-16/+43
2010-06-25sms: Tweak the Bearer APIDenis Kenzior1-8/+8
2010-06-25sms: Add support for SMS Bearer settingsDenis Kenzior1-2/+132
2010-06-25gprs: Fix to attachment race conditionDenis Kenzior1-6/+4
Sometimes we get unsolicited attachment status before our query finishes. If the client is fast enough they can attempt to attach and get the AttachInProgress error
2010-06-24sms: minor style fixDenis Kenzior1-1/+2
2010-06-24sms: Don't bother setting SCA if we can't queryDenis Kenzior1-1/+2
2010-06-23stkutil: Alpha Id is optional for Select Item.Andrzej Zaborowski1-2/+1
2010-06-23stkutil: Refactor command parser error handlingAndrzej Zaborowski2-555/+408
When parsing the full command fails but Command Details has been parsed, return a struct stk_command containing this information and the type of parsing problem found. We need the command details to be able to even respond to the command. This patch also makes the parser skip over unknown data objects found in the BER-TLV, if they don't have Comprehension Required set.
2010-06-22Check sanity the MNC length value from the SIM cardMarcel Holtmann1-0/+4
In case the SIM entry is wrong or we force reading of it, nasty things like this can happen: ofonod[12456]: Control:> AT+CRSM=176,28589,0,0,4\r ofonod[12456]: Control:< +CRSM: 144,0,"00FFFF"\r\n\r\nOK\r\n *** buffer overflow detected ***: ./src/ofonod terminated ======= Backtrace: ========= /lib64/libc.so.6(__fortify_fail+0x37)[0x3e42efb417] /lib64/libc.so.6[0x3e42ef9310] /lib64/libc.so.6(__strncpy_chk+0x17b)[0x3e42ef85cb]
2010-06-21storage: whitespace issueDenis Kenzior1-1/+1
2010-06-21smsutil: Fix up some comment styleDenis Kenzior1-18/+36
2010-06-21stkutil: Remove obsolete comment.Andrzej Zaborowski1-3/+0
2010-06-21sms: Only emit property if value actually differsDenis Kenzior1-3/+4
2010-06-21smsutil: Take ton_npi into account in sr assemblyDenis Kenzior1-14/+7
2010-06-21smsutil: More code cleanupDenis Kenzior1-47/+54
- Change the flow of the code a bit, in the case that all fragments have been sent and an udelivered sr arrives, we can simply remove the node and signal undelivered up - We ignore temporary and temporary final status reports
2010-06-21smsutil: Make code flow easier to understandDenis Kenzior1-52/+53
2010-06-21smsutil: multiline comments to preferred styleDenis Kenzior1-3/+7
2010-06-21smsutil: Minor code style & indentation fixesDenis Kenzior1-10/+9
2010-06-21sms: Fixup minor style issues with status reportsDenis Kenzior1-15/+7
2010-06-21sms: Status report notifyPasi Miettinen1-1/+70
2010-06-21smsutil: memcpy is preferable to struct assignmentDenis Kenzior1-1/+1
2010-06-21smsutil: Streamline flow of sr add_fragmentDenis Kenzior1-22/+7
2010-06-21Fix: Make distcheck passDenis Kenzior1-2/+0
No need to include history.h anyway
2010-06-21smsutil: Status report assemblyPasi Miettinen2-0/+214
2010-06-18stkutil: Add More Time terminal response builderAndrzej Zaborowski2-0/+2
2010-06-18stkutil: USSD max len is 160Denis Kenzior1-1/+1
2010-06-18stk: Add parser for timing advance objectsYang Gu2-12/+40