summaryrefslogtreecommitdiffstats
path: root/src
AgeCommit message (Collapse)AuthorFilesLines
2010-07-23sms: rename create_tx_queue_entry()Inaky Perez-Gonzalez1-3/+3
This is for symmetry with tx_queue_entry_free()
2010-07-23sms: document use_delivery_reportsInaky Perez-Gonzalez1-0/+3
In function sms_text_prepare
2010-07-23sms: sms_assembly_encode_address export and renameInaky Perez-Gonzalez2-4/+5
The new name better reflects the function's purpose. We need to export it, as for generating unique message naming (for persistence and D-Bus object naming), we'll be using the address.
2010-07-23introduce DECLARE_SMS_ADDR_STR()Inaky Perez-Gonzalez2-2/+8
Introduce DECLARE_SMS_ADDR_STR(), which declares a string variable of the right size for passing to sms_assembly_decode_address(). This way we detach each client having to have the knowledge of what the right size is, leaving that decission to the infrastructure provider. Updated couple of sites in smsutil.c to use it vs a raw declaration.
2010-07-21Fix: Free modem name in ofono_modem_removeZhenhua Zhang1-0/+1
Avoid the memory leak of modem name.
2010-07-19gprs: Minor style fixesDenis Kenzior1-2/+3
2010-07-19gprs: Add Protocol property with IPv6/IPv4Denis Kenzior1-1/+81
2010-07-17Add feature identifier for SIM ToolkitMarcel Holtmann1-0/+1
2010-07-15stk: Remove an unneeded check.Andrzej Zaborowski1-3/+0
2010-07-13stkutil: Set black fore/back ground colorDenis Kenzior1-4/+2
2010-07-13stkutil: display text attributes as htmlKristen Carlson Accardi2-0/+227
2010-07-09Interpret "" Alpha Id as empty data objectYang Gu1-1/+3
There needs to be a way to distinguish between no alphaid and "empty data object" because on some occasions they have different meanings. In the Call Control envelope, no Alpha Identifier means the terminal can inform the user about the call being modified by SIM while empty data object means no hint should be given.
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