Commit Graph

17 Commits

Author SHA1 Message Date
Denis Kenzior 88c0f77a58 Refactor: First round of renaming 2009-10-23 17:05:53 -05:00
Denis Kenzior b2fd75014a Refactor: rename data-connection to gprs
Keep the name specific to GSM, other implementations will probably
require their own interfaces
2009-10-23 17:05:53 -05:00
Andrzej Zaborowski f43efa8a5f Add GPRS support
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-23 17:05:53 -05:00
Denis Kenzior 389da0bb15 Fix: Do not leak chat memory 2009-10-15 16:15:18 -05:00
Denis Kenzior 74f350aaf7 Add mux setup step to phonesim plugin 2009-10-15 16:15:16 -05:00
Denis Kenzior b015cd655a Add call volume to phonesim plugin 2009-09-29 14:56:22 -05:00
Denis Kenzior 599069e109 Add disconnection function 2009-09-18 13:33:41 -05:00
Denis Kenzior 12e77a3c70 Convert all the modem drivers to the new API 2009-09-17 10:15:34 -05:00
Denis Kenzior 8d52353425 Fix double free issue 2009-09-10 17:20:00 -05:00
Denis Kenzior f208e15ea8 Enable cell broadcast for phonesim plugin 2009-09-10 16:29:52 -05:00
Denis Kenzior 0c1f8003af Fix memory leak 2009-09-10 16:13:15 -05:00
Marcel Holtmann c155a91313 Add option to phonesim to run with or without multiplexer 2009-09-08 09:24:52 +02:00
Marcel Holtmann 3c0ea95f9a Add more calypso specific quirks when using phonesim 2009-09-08 03:14:46 +02:00
Marcel Holtmann 0910ee7349 Add support for using phonesim and calypso for testing 2009-09-08 03:01:52 +02:00
Marcel Holtmann 9b3a8183f3 Parse and use Address and Port options from modem.conf 2009-09-02 19:48:02 -07:00
Marcel Holtmann 95a47df997 Fix some broken DOS newline messup 2009-09-02 19:27:47 -07:00
Marcel Holtmann 959a90b7e8 Add a separate plugin for connection to phone simulator 2009-09-02 18:56:46 -07:00