summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2009-10-23Remove unused functionDenis Kenzior1-11/+0
2009-10-23Add CID range functionDenis Kenzior2-2/+14
2009-10-23Refactor: Primary Context dbus reg/unregDenis Kenzior1-25/+45
2009-10-23Refactor: Use ofono_bool_t instead of intDenis Kenzior1-4/+3
2009-10-23Refactor: Rename GPRS type enumsDenis Kenzior1-11/+13
2009-10-23Refactor: Split up GPRS into two atomsDenis Kenzior4-31/+81
Split up GPRS into two atoms: GPRS and GPRS Context. GPRS will handle the areas of GPRS network registration, basic GPRS capability detection and attach / detach. GPRS Context will handle setting up / activating / deactivating the indicidual contexts. This will allow us to use the generic GPRS atom for most devices while customizing the GPRS context accordingly.
2009-10-23Add InUse error typeDenis Kenzior2-0/+7
2009-10-23Second round of renamingDenis Kenzior2-12/+10
2009-10-23Refactor: First round of renamingDenis Kenzior7-388/+388
2009-10-23Refactor: rename data-connection to gprsDenis Kenzior6-6/+6
Keep the name specific to GSM, other implementations will probably require their own interfaces
2009-10-23Add GPRS supportAndrzej Zaborowski10-5/+1841
This commit implements the GPRS context setup and teardown according to doc/dataconnectionmanager-api.txt One issue with the AT implementation of the api is that "Powered" (a read-write property) can be set independently of "Attached" (read-only property) and remain set when "Attached" is clear. The semantics would be that the network doesn't have resources to let the modem attach, but the modem waits for the resources to become available and then attaches. On AT the modem is in this state only when executing +CGATT, so currently the code will rerun +CGATT as soon as the previous one returns with error, probably starving other commands. A possible workaround would be for "Powered" to flip back to False after the modem fails to attach once, or give up on having separate properties. Alternatively we could re-try to attach periodically but on one modem I've tried +CGATT fails after about 1 minute (that's the Calypso) and on another only about 0.5s (Nokia phones with AT emulation). When "Powered" is set and "RoamingAllowed" is clear and we manage to attach and find that we're roaming, ofono resets "Powered". We may want to catch the user trying to dial *99***1# which is the backwards compatibility quirk for old modems (same way ofono parses USSD strings).
2009-10-23Fix: Invalid call state transitionDenis Kenzior1-0/+16
When an active and a waiting call exist, and the active is released the waiting call becomes incoming. This wasn't properly handled by the generic at driver.
2009-10-23Replace Glib type with standard C typeZhang, Zhenhua1-4/+4
2009-10-23Handle right bracket in next_unquoted_stringZhenhua Zhang1-2/+2
2009-10-21Mention Ryan's contributionsDenis Kenzior1-0/+1
2009-10-21Enable / Disable CREAD functionality in gatttyRyan Raasch1-0/+14
2009-10-21Mention Olivier's contributionsDenis Kenzior1-0/+1
2009-10-21Migrate from RFC2822 to ISO8601Olivier Le Thanh Duong4-8/+8
2009-10-21Doc: Update modem apiMarko Saukko1-1/+16
Add SetProperty and Powered property to modem-api.txt document.
2009-10-19Rename: drivers/hfpmodem/hfp.[ch] to hfpmodem.[ch]Denis Kenzior4-4/+4
Be more consistent with other drivers
2009-10-19Fix: Make 'make distcheck' happy againDenis Kenzior2-4/+1
2009-10-19Fix: Use debug instead of infoDenis Kenzior1-1/+1
2009-10-19Refactor: Setup the HF features bitmapDenis Kenzior2-3/+20
Do not use magic numbers unless strictly necessary
2009-10-19Refactor: Don't store indicator namesDenis Kenzior2-40/+52
We already know the indicators we're interested in from the specification, malloc/free-ing the indicator names is thus pointless. Instead save off the indicator index positions in an array. Parse the current values instead of storing the unparsed list.
2009-10-19Add initial glue code for hfp driverZhenhua Zhang5-1/+443
2009-10-16Add test script for USSDDenis Kenzior1-0/+33
2009-10-16Fix: Use proper printf format for string precisionDenis Kenzior1-1/+1
2009-10-16Cleanup: Fixup USSD to use cbs_decode_dcsDenis Kenzior1-18/+19
Don't decode by hand, use existing function
2009-10-16Parse +CUSD responses.Andrzej Zaborowski2-13/+96
2009-10-16Fix: Stop crashing when unrefing chat in callbackDenis Kenzior1-3/+20
2009-10-16Release 0.8Marcel Holtmann2-1/+9
2009-10-16Fix: Don't return NULL if message is emptyDenis Kenzior1-5/+0
Empty SMS messages are in sms_decode_text are returned as NULL, e.g. error. This shouldn't be the case, empty messages should be reported and signaled.
2009-10-16Mention Marko's contributionDenis Kenzior1-0/+1
2009-10-16Fix: Skip over empty messagesAndrzej Zaborowski1-0/+3
2009-10-16Fix: Emit debug message instead of an errorAndrzej Zaborowski1-1/+1
SMS storage is frequently empty at startup, if this is the case, do not use ofono_error, use ofono_debug instead.
2009-10-16Always return a string from telephony_error_to_str.Andrzej Zaborowski1-2/+2
So that it can be used as a printf argument directly.
2009-10-16Refactor: Move network registration status utilsAndrzej Zaborowski3-44/+47
Move the status to string functions to common.c so that they can be reused in data connection related network registration code.
2009-10-16Fix: Free converted string after use.Andrzej Zaborowski1-2/+8
Also make sure we don't read beyond end of the string.
2009-10-16API: Documentation fixesMarko Saukko4-9/+9
2009-10-16Fix conditional statementAki Niemi1-1/+2
2009-10-16Fix: restrict keyword use breaking distcheckAki Niemi1-2/+2
2009-10-16isimodem/voicecall.c: initial versionPekka Pessi5-43/+2013
Implementing all the voicecall methods. Tested with Nokia 2008 modems. - problems in call creation are probably not reported properly - deflect not implemented in modem, not properly tested TODO: Clean up style issues and align with other drivers.
2009-10-16Refactor sub-sub-block handlingAki Niemi1-112/+94
2009-10-15Setup better debugging information for calypsoDenis Kenzior1-4/+17
2009-10-15Fix: Quiet a warning on some compilersDenis Kenzior1-2/+2
2009-10-15Multiplexer support for OpenMoko deviceDenis Kenzior1-31/+108
2009-10-15Fix: Do not leak chat memoryDenis Kenzior1-3/+4
2009-10-15Fix: Do not leak chat references in case of errorDenis Kenzior1-5/+15
2009-10-15Fix: Cleanup debug formatsDenis Kenzior1-2/+2
2009-10-15Fix: Do not send shutdown more than onceDenis Kenzior1-0/+9