Commit Graph

72 Commits

Author SHA1 Message Date
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
Denis Kenzior 74d0493230 Add a few more comments to the calypso plugin 2009-09-07 20:16:16 -05: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 e4d0a28b48 Update modem configuration parameter parsing for generic AT plugin 2009-09-05 04:48:08 +02:00
Denis Kenzior 8f607eff42 Update calypso modem driver
Use calypso voicecalls driver
2009-09-04 20:37:50 -05:00
Denis Kenzior 918a8ee7f3 Make calypso plugin use the permissive parser 2009-09-04 20:37:49 -05:00
Denis Kenzior 85cbb8bfe9 Make G1 driver use the permissive parser 2009-09-04 20:37:48 -05:00
Marcel Holtmann f84a37bb00 Add plugin for generic AT testing modem driver 2009-09-05 03:01:02 +02:00
Marcel Holtmann 7434ab6e81 Add example modem configuration for TI Calypso based devices 2009-09-04 19:08:41 +02:00
Denis Kenzior ac491a0512 Fix style issues 2009-09-04 11:57:41 -05:00
Denis Kenzior 0e1c801e58 Make sure modemconf handles calypso driver 2009-09-03 23:20:22 -05:00
Denis Kenzior 5cbf388d30 Add calypso plugin 2009-09-03 23:20:22 -05:00
Marcel Holtmann a16abe5813 Add support for SIM atom to HSO driver 2009-09-03 10:13:40 -07:00
Marcel Holtmann 8acad4d0b4 Add support for SIM atom to MBM driver 2009-09-03 10:07:20 -07:00
Marcel Holtmann d9afc75ce3 Add basic support for Option HSO based devices 2009-09-03 01:10:40 -07:00
Marcel Holtmann 4b9b44f818 Add basic support for Novatel based devices 2009-09-03 00:50:47 -07:00
Marcel Holtmann bdad83d831 Add basic support for Huawei based devices 2009-09-03 00:22:06 -07:00
Marcel Holtmann f5bf6e309d Add Ericsson MBM device detection to udev plugin 2009-09-02 23:49:52 -07:00
Marcel Holtmann b6acdcf905 Add udev rules to identify modem driver 2009-09-02 22:21:42 -07:00
Marcel Holtmann fac1349090 Some minor coding style cleanups for G1 plugin 2009-09-02 19:59:19 -07:00
Marcel Holtmann 9b3a8183f3 Parse and use Address and Port options from modem.conf 2009-09-02 19:48:02 -07:00
Marcel Holtmann 057860c4c7 Parse and use Device option from modem.conf 2009-09-02 19:37:55 -07:00
Marcel Holtmann 9c45f2e74b Remove generic_at plugin 2009-09-02 19:30:21 -07:00
Marcel Holtmann 95a47df997 Fix some broken DOS newline messup 2009-09-02 19:27:47 -07:00
Marcel Holtmann 0417133a63 Update the modem.conf example one more time 2009-09-02 19:24:09 -07:00
Marcel Holtmann f81fcb66ea Remove the async TTY open helper and just use a blocking one 2009-09-02 19:18:41 -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
Marcel Holtmann 3bb7fbd5d5 Use proper debug calls for pure debugging output 2009-09-02 19:04:21 -07:00
Marcel Holtmann 959a90b7e8 Add a separate plugin for connection to phone simulator 2009-09-02 18:56:46 -07:00
Marcel Holtmann 9a351266fe Update modem.conf example 2009-09-02 18:53:14 -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
Denis Kenzior f36e764c43 Update modemconf driver to the new ofono_modem_create 2009-09-02 17:39:23 -05:00
Denis Kenzior 10d4c54c30 Change plugins to the new ofono_modem_create api 2009-09-02 17:39:23 -05:00
Marcel Holtmann 55e1c65ec1 Use OFONO_AT_DEBUG even for MBM plugin 2009-09-02 15:43:10 -07:00
Marcel Holtmann 2dc4d7d2d7 Unset the driver data when MBM driver is removed 2009-09-02 15:22:30 -07:00
Marcel Holtmann e555445f23 Add example for modem.conf and install it if requested 2009-09-02 15:18:10 -07:00
Marcel Holtmann 24d1d0ee16 Add really simple modem configuration parsing 2009-09-02 14:56:14 -07:00
Marcel Holtmann 9177c1dd86 Add skeleton for plugin to handle static modem configurations 2009-09-02 14:41:47 -07:00
Marcel Holtmann 9deaa6e70f Add initial plugin for Ericsson MBM devices 2009-09-02 03:19:02 -07:00
Denis Kenzior a613105f91 Rename generic_at drivers to atmodem
Be more consistent with directory naming
2009-09-01 22:33:05 -05:00
Denis Kenzior 7ff85d9737 populate should return void 2009-09-01 22:29:02 -05:00
Denis Kenzior 9caa606bcc Make remove functions not return anything 2009-09-01 22:27:08 -05:00
Marcel Holtmann d8282ec589 Add first steps for a udev based modem detection plugin 2009-09-01 18:54:27 -07:00