Commit Graph

20 Commits

Author SHA1 Message Date
Marcel Holtmann c867c9f9bf plugins: Update copyright information 2011-10-10 13:39:54 -07:00
Andras Domokos 4a36b93d6a ssn: remove SSN atom completely 2011-03-11 13:08:51 -06:00
Marcel Holtmann 26210912d9 plugins: Mode fixups for copyrigh headers 2010-10-01 06:51:34 +02:00
Marcel Holtmann be1912fe9c Make debug handling with OFONO_AT_DEBUG a bit more consistent 2010-09-24 14:14:04 +09: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 9bed04ca2f Style: Trailing whitespace & extra lines 2010-01-12 17:54:37 -06:00
Marcel Holtmann 144080e749 Update copyright information 2010-01-01 17:00:10 -08:00
Denis Kenzior b77c63b73a Fix: Convert G1 plugin to new world order 2009-12-02 19:11:35 -06:00
Denis Kenzior 8c52019c1a Fix: modem _disable needs to send the CFUN
For G1 Driver
2009-11-18 12:09:42 -06:00
Denis Kenzior 27e32f12cd Fix: Rename G1 quirk to QUALCOMM_MSM 2009-11-10 16:29:23 -06:00
Marcel Holtmann 3c24593c0c Use ofono_info() for AT command debugging 2009-11-01 23:42:18 +09:00
Denis Kenzior 79cb80c7eb Update plugins to the new g_at_tty_open API 2009-10-01 17:01:15 -05:00
Andres Salomon 4decda3f7f G1: move chat handling into enable callback
This updates the g1 code to create the GAtChat object in the enable() callback,
and to unref it in the disable() callback.  This is more in line with what
the other plugins do, and as a bonus fixes a segfault when powering down
the G1 modem..

Signed-off-by: Andres Salomon <dilinger@collabora.co.uk>
2009-09-29 23:04:24 -05:00
Denis Kenzior 12e77a3c70 Convert all the modem drivers to the new API 2009-09-17 10:15:34 -05:00
Denis Kenzior 85cbb8bfe9 Make G1 driver use the permissive parser 2009-09-04 20:37:48 -05:00
Marcel Holtmann fac1349090 Some minor coding style cleanups for G1 plugin 2009-09-02 19:59:19 -07:00
Marcel Holtmann 057860c4c7 Parse and use Device option from modem.conf 2009-09-02 19:37:55 -07:00
Andres Salomon aceaac4b7b G1: Add an SMS quirk for CNMI mode
The G1 doesn't support mode2, despite advertising it.

The G1 chokes w/ an "Error 303" when we specify NMI mode 2.  Adding a
quirk to drop that mode from the supported list (just use mode 1) allows
the G1 to properly deal with SMS.
2009-09-02 19:06:03 -07:00
Andres Salomon 3b1733b18a G1: Add a G1 syntax for parsing
This is based on the generic_at parser, with unnecessary stuff removed.

The G1 routinely screws up CRLFs, so the parser needs to account for
that.  This parser ignores leading CRLFs (which is what reference-ril
does as well), as well as trailing LFs (which are sometimes left out).
CRs are used as end-of-message indicators.  Since we're not bothering
tracking CRLFs, there's also no need for a GARBAGE state, or MULTILINE
stuff.
2009-09-02 16:11:10 -07:00
Andres Salomon 7b9f0773fa G1: Add initial HTC G1 modem support
G1 plugin is based on generic_at, with a bunch of stuff dropped
and simplified.  We use AT+CFUN=1 for powering on rather than having
a configurable init string.  We also manually set the default state
during init (the G1 appears to start in mode V0 by default).  The
device (/dev/smd0) is hardcoded.
2009-09-02 16:07:36 -07:00