Commit Graph

1399 Commits

Author SHA1 Message Date
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
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
Denis Kenzior 8d380f8fa0 Add vendor flag capability for sms 2009-09-01 18:14:58 -05:00
Denis Kenzior aecf42646e Add vendor flag capability to sim 2009-09-01 18:14:58 -05:00
Denis Kenzior 1fb9ecca46 Add vendor flag capability to phonebook 2009-09-01 18:14:58 -05:00
Denis Kenzior 271b042488 Add vendor flag capability to netreg 2009-09-01 18:14:58 -05:00
Denis Kenzior c7d35dd039 Add vendor flag capability to devinfo 2009-09-01 18:14:58 -05:00
Denis Kenzior 933f803967 Add vendor flag to call-settings 2009-09-01 18:14:58 -05:00
Denis Kenzior 390bd82109 Add vendor parameter to call-meter 2009-09-01 18:14:57 -05:00
Denis Kenzior 7ee954b28a Add vendor flag to call-forwarding 2009-09-01 18:14:57 -05:00
Denis Kenzior 15b1a733b0 Introduce vendor parameter to call-barring 2009-09-01 18:14:57 -05:00
Denis Kenzior ecde57eeba Fix memory leak in generic_at driver 2009-08-30 13:29:44 -05:00
Marcel Holtmann 70aab2a826 Convert to fully non-recursive build system 2009-08-24 23:49:40 -07:00
Marcel Holtmann 7d3d52009d Use script to generate list of builtin plugin symbols 2009-08-24 19:05:41 -07:00
Aki Niemi 03d4dad98d Fix build warning 2009-08-24 13:34:53 +03:00
Denis Kenzior 4750081d72 Add generic_at modem driver
Useful for testing or when the device is extremely 27.007 compliant,
e.g. phonesim
2009-08-21 19:25:51 -05:00
Denis Kenzior 7abeb8e4a0 Use types.h instead of driver.h here 2009-08-20 12:48:28 -05:00
Denis Kenzior 1dbfc02d6c Add call-history driver type 2009-06-17 18:20:20 -05:00
Marcel Holtmann 0acaee5e1e Add directory for driver plugins 2009-05-10 22:44:37 -07:00
Marcel Holtmann f2e2cd7787 Add support for builtin plugins 2009-05-10 22:35:29 -07:00
Marcel Holtmann a20f3ce8d2 Add directories for source code, header files and plugins 2009-04-26 20:54:47 +02:00