summaryrefslogtreecommitdiffstats
path: root/src
AgeCommit message (Collapse)AuthorFilesLines
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
2009-10-04Fix pointer size problem with GUINT_TO_POINTER and unsigned shortMarcel Holtmann1-1/+1
2009-10-02Fix: Handle empty SMSesDenis Kenzior1-2/+4
If an SMS is empty (e.g. nothing to unpack) then we should simply continue on.
2009-10-02Fix: Make const correctDenis Kenzior2-4/+4
2009-10-02Fix: Add additional error checkingDenis Kenzior1-1/+4
2009-10-02Use small caps for 2G/3G functionsDenis Kenzior2-4/+4
2009-10-02Add utility to parse 3G get response dataDenis Kenzior2-0/+114
Based on ETSI 102.221
2009-10-02Add utility to parse 2G GET_RESPONSE dataDenis Kenzior2-0/+26
This format is described in 51.011 and the older 11.11. It is not supported by newer 3G UICC based devices & sim card combinations
2009-10-02Add utility to lookup files in EF dbDenis Kenzior2-1/+23
2009-10-02Refactor: Move elementary file type checkingDenis Kenzior5-116/+80
Every single EF read callback checks the file type reported out of the SIM is what it expects. Instead this should be done in one place and the errors reported accordingly
2009-10-02Add basic elementary file databaseDenis Kenzior2-0/+73
2009-09-29Fix: different signedness comparisonDenis Kenzior1-1/+1
2009-09-29Fix: Don't try to set a value if already setDenis Kenzior1-0/+9
2009-09-29Add Muted property to CallVolume atomDenis Kenzior1-0/+66
2009-09-29Refactor: Call Volume set_property handlingDenis Kenzior1-71/+59
2009-09-29Get rid of unused defineDenis Kenzior1-2/+0
2009-09-29Get rid of unused variablesDenis Kenzior1-2/+0
2009-09-29Refactor: Assume driver will set call volumeDenis Kenzior1-3/+0
Driver should use the ofono_call_volume_set_microphone_volume and ofono_call_volume_set_speaker_volume functions.
2009-09-29Don't use ofono_ prefix for static functionsDenis Kenzior1-11/+8
2009-09-29Refactor: Break up call volume notifyDenis Kenzior1-14/+24
2009-09-29Cleanup: Do not expose DBus details to driversDenis Kenzior1-4/+4
2009-09-29Add call volume interface to adjust speaker and mic volumeZhenhua Zhang2-0/+367
2009-09-28Fix: Report registered modems properlyDenis Kenzior1-2/+2
2009-09-28Fix efli being removed prematurelyDenis Kenzior1-4/+6
2009-09-25Fix segmentation fault from SIM reading on Calypso modemMarcel Holtmann1-0/+3
2009-09-24Fix whitespaceDenis Kenzior1-7/+7
2009-09-24Add initial support for LockedPins propertyDenis Kenzior1-7/+95
2009-09-23Ignore EFli if the first entry is emptyDenis Kenzior1-4/+11
2009-09-23Remove unused struct field.Andrzej Zaborowski1-1/+0