Commit Graph

750 Commits

Author SHA1 Message Date
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 a05c9f173d Fixing missing vendor.h in distribution 2009-09-02 19:40:17 -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
Denis Kenzior e9a87abdc5 Fix emitting Modems Property in the wrong place 2009-09-02 19:49:03 -05:00
Marcel Holtmann 14534ebefd Mention Andres' contributions 2009-09-02 16:20:17 -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 76b6e52d40 Squash compiler warning 2009-09-02 17:39:23 -05: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
Denis Kenzior 7a95c41fab Get rid of node argument in ofono_modem_create 2009-09-02 17:39:23 -05:00
Denis Kenzior 03a0fde2f4 Add simple utility to validate paths 2009-09-02 17:39:23 -05:00
Denis Kenzior 8e62522575 Add modem property capability
Add ofono_modem_set_string & ofono_modem_get_string
Add ofono_modem_set_integer & ofono_modem_get_integer
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
Denis Kenzior 31af3db152 Update makefile.am with new doc files 2009-09-02 14:31:17 -05:00
Denis Kenzior d3132684c4 Add call-settings api doc 2009-09-02 14:31:17 -05:00
Denis Kenzior fd701792e7 Add call-meter api doc 2009-09-02 14:31:17 -05:00
Denis Kenzior 950a765013 Add call-forwarding api doc 2009-09-02 14:31:13 -05:00
Denis Kenzior 8d373fc897 Add address & netmask properties to GPRS api 2009-09-02 13:48:40 -05:00
Denis Kenzior b40e151ba9 Update GPRS api with context use type 2009-09-02 09:59:41 -05:00
Marcel Holtmann 7aec65b526 Add test script for listing all operator details 2009-09-02 03:58:27 -07:00
Marcel Holtmann 3d2d259578 Add test script to monitor all PropertyChanged signals 2009-09-02 03:48:46 -07:00
Marcel Holtmann 57dce83f0f Add two extra test programs for modem interface 2009-09-02 03:35:09 -07:00
Marcel Holtmann 9deaa6e70f Add initial plugin for Ericsson MBM devices 2009-09-02 03:19:02 -07:00
Denis Kenzior 58d0aa72b2 Rename isi drivers to isimodem
Be more consistent with directory naming
2009-09-01 22:35:14 -05: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
Denis Kenzior 422df0edfb change int vendor to unsigned int vendor 2009-09-01 21:39:02 -05:00
Marcel Holtmann d8282ec589 Add first steps for a udev based modem detection plugin 2009-09-01 18:54:27 -07:00
Marcel Holtmann 82d0720f53 Update D-Bus configuration options and check for udev 2009-09-01 18:41:16 -07:00
Denis Kenzior 5ce0de14dc Add ofono_modem_get_powered 2009-09-01 20:10:31 -05:00
Denis Kenzior 5cbb665823 Add proposed data connection manager API 2009-09-01 18:14:59 -05:00
Denis Kenzior 31a3d489d5 Add stub vendor.h file 2009-09-01 18:14:59 -05:00
Denis Kenzior 4064f4ba73 Add vendor flag capability to voicecalls 2009-09-01 18:14:59 -05:00
Denis Kenzior e5577046f0 Add vendor flag capability to ussd 2009-09-01 18:14:58 -05:00
Denis Kenzior afb0e2b854 Add vendor flag capability to ssn 2009-09-01 18:14:58 -05:00