Commit Graph

75 Commits

Author SHA1 Message Date
Andrzej Zaborowski b34c35d822 Add AT driver for STK atom. 2010-04-15 16:49:42 -05:00
Andrzej Zaborowski ddfe8acf11 Drivers can notify core of SIM insertion / removal
Add ofono_sim_inserted_notify function to notify the core of SIM
insertion / removal.

Make every plugin generate a sim inserted event on start.  For devices
with removable card, the event should be emitted after the
plugin detects such event.  For devices that need to wait for SIM card
initialization, they can emit this event later.
2010-04-15 16:49:40 -05:00
Denis Kenzior 8b33129bac Add phonesim vendor quirk 2010-03-26 23:00:28 -05:00
Marcel Holtmann 144080e749 Update copyright information 2010-01-01 17:00:10 -08:00
Denis Kenzior 57512ad924 Style: Repeat for plugins 2009-12-17 21:45:39 -06:00
Denis Kenzior 37384ddb9c Fix: Make Calypso handling a bit better 2009-11-26 07:44:25 -06:00
Denis Kenzior 4c64f30438 Fix: Try sending AT<CR>
Sometimes <CR> doesn't work
2009-11-23 19:55:16 -06:00
Andrzej Zaborowski 427224e9f8 Register gprs-context on calypso modem/phonesim. 2009-10-24 10:27:11 -05:00
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