summaryrefslogtreecommitdiffstats
path: root/src
AgeCommit message (Collapse)AuthorFilesLines
2009-10-26Add a master function for updating attached stateDenis Kenzior1-11/+15
2009-10-26Fixup initialization logicDenis Kenzior1-2/+6
2009-10-26Fix: Initialize registration statusesDenis Kenzior1-0/+2
2009-10-26Fix: Reset netreg to 0 when unregisteredDenis Kenzior1-0/+1
2009-10-26Refactor: Make GPRS use information from netregAndrzej Zaborowski1-41/+106
2009-10-26Fix: Don't attach if searchingAndrzej Zaborowski1-3/+5
Don't ask driver to attach GPRS if modem is already searching for an operator.
2009-10-26Fix interpretation of new GPRS registration status signal.Andrzej Zaborowski1-2/+2
2009-10-24Fix: Fix segfault from improperly initialized dataDenis Kenzior1-0/+1
2009-10-24Just return success when value already set in SetProperty.Andrzej Zaborowski1-0/+6
2009-10-23Fix: Connect up gprs and gprs_contextDenis Kenzior1-4/+21
2009-10-23Fix: Typo in property nameDenis Kenzior1-1/+1
2009-10-23Remove unused code and make compiler happyDenis Kenzior1-25/+0
2009-10-23Add implementation of GPRS context atomDenis Kenzior2-0/+89
2009-10-23Fix: Rename FlagDenis Kenzior1-8/+8
2009-10-23Deactivate the context for removal if activeDenis Kenzior1-3/+44
2009-10-23Refactor/Implement basic activate logicDenis Kenzior1-2/+55
Not yet tested
2009-10-23Add stub of gprs context deactivatedDenis Kenzior1-0/+32
2009-10-23Fix: StyleDenis Kenzior1-4/+2
2009-10-23Remove unused functionsDenis Kenzior1-59/+1
2009-10-23Refactor: Deactivate all contexts functionDenis Kenzior1-8/+1
2009-10-23Remove unused functionDenis Kenzior1-8/+0
2009-10-23Refactor: GPRS Remove Context functionDenis Kenzior1-15/+18
2009-10-23Refactor: GPRS CreateContext functionDenis Kenzior1-60/+23
2009-10-23Remove unused functionDenis Kenzior1-26/+0
2009-10-23Refactor: context object path listDenis Kenzior1-4/+3
2009-10-23Refactor: Context set_property functionDenis Kenzior1-57/+123
2009-10-23Refactor: Context get_propertiesDenis Kenzior1-9/+13
2009-10-23Refactor: context finding by pathDenis Kenzior1-11/+3
2009-10-23Remove unused functionDenis Kenzior1-11/+0
2009-10-23Add CID range functionDenis Kenzior1-2/+12
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 Kenzior1-0/+1
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 Kenzior1-223/+222
2009-10-23Refactor: rename data-connection to gprsDenis Kenzior2-1/+1
Keep the name specific to GSM, other implementations will probably require their own interfaces
2009-10-23Add GPRS supportAndrzej Zaborowski2-0/+1076
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-21Migrate from RFC2822 to ISO8601Olivier Le Thanh Duong2-3/+3
2009-10-16Parse +CUSD responses.Andrzej Zaborowski1-0/+3
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-16Fix: Skip over empty messagesAndrzej Zaborowski1-0/+3
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-15Fix: Quiet a warning on some compilersDenis Kenzior1-2/+2
2009-10-08Rename function to express its purpose betterDenis Kenzior1-2/+2
2009-10-08Allow sending DTMF tones in alerting statePekka Pessi1-1/+5
2nd stage dialing may be done before call gets connected.
2009-10-08Use swap_without_accept method, if presentPekka Pessi1-0/+20
2009-10-05Fix: Don't crash when cached ef structure differsDenis Kenzior1-1/+1