Commit Graph

2138 Commits

Author SHA1 Message Date
Tambet Ingo
1f08d4c408 Fix a compilation warning/error. 2009-02-10 15:26:18 +02:00
Dan Williams
bef9c48ffc add --enable-more-warnings=yes/no and fix up resulting errors 2009-02-10 06:48:56 -05:00
Tambet Ingo
618db2dd8a Bump the version.
Remove a leftover include from mbm modem implementation to make it compile
again.
2009-02-09 10:48:26 +02:00
Tambet Ingo
fd5f4222d7 Extend org.freedesktop.ModemManager.Modem interface.
* Add IpMethod property with known values ppp (default), static, DHCP.
* Rename DataDevice property to Device.
* Add GetIP4Config method. It should be implemented only when IpMethod==static.
* Update org.freedesktop.ModemManager.Modem.Gsm.Sms interface based on
  Pablo Martí Gamboa's suggestions.
* Adjust MBM and HSO interfaces to take advantage of the generic Modem
  interface.
2009-02-06 13:34:02 +02:00
Tambet Ingo
2226bb8752 Implement Novatel plugin. 2009-01-26 11:54:10 +02:00
Tambet Ingo
8bf265f349 Implement 'Simple' interface for HSO modems. 2009-01-22 12:30:09 +02:00
Tambet Ingo
423637272a Fix the "Option" plugin to not steal modems from "HSO" plugin. 2009-01-13 11:29:44 +02:00
Tambet Ingo
6018ff81ba Implement DCD disabling for serial base class.
Turn DCD detection off for certain Huawei modems that don't report it
correctly.
2009-01-13 11:27:41 +02:00
Tambet Ingo
50d2a8b80c If none of the HSO serial device parents match none of the network device
parents, try to match "grandparents" as well.
2009-01-13 11:23:02 +02:00
Tambet Ingo
56bd8994ee Implement Huawei modem registration with unsolicited messages (no polling).
Keep registration info in sync correctly. Emit signal when it changes.
2008-12-17 13:37:57 +02:00
Tambet Ingo
e4efbc5c84 Cache data in Huawei modem. 2008-12-15 13:56:53 +02:00
Tambet Ingo
4bf6681800 Parse Huawei flow report. 2008-12-15 11:50:31 +02:00
Tambet Ingo
4e94acfbc3 Don't ever disable radio of Sierra GSM modems.
Based on patch from Stefan Seyfried <seife@suse.de>.
2008-12-12 10:14:41 +02:00
Tambet Ingo
d1d94de6a1 Lots of random fixes:
Rework the MMCallbackInfo callback invocation.
Always use g_error_literal() where it makes sense.
Replace sleep() calls, with timeouts to not block the whole MM.
2008-12-09 15:41:51 +02:00
Tambet Ingo
793044b577 Add support for the HP branded version of the sierra mc8775.
Patch from Stefan Seyfried <seife@suse.de>.
2008-12-04 17:39:15 +02:00
Tambet Ingo
3d84a60ab1 Fix HSO modem plugin. 2008-12-02 15:48:52 +02:00
Tambet Ingo
929c1a8a54 Make the MBM plugin's HAL UDI checking more strict, it caught HSO modems too. 2008-12-01 11:34:52 +02:00
Tambet Ingo
1c67b9327e Fix the bug where HSO plugin would create a modem instance for each serial device. 2008-11-28 13:25:26 +02:00
Tambet Ingo
157da2be75 Implement plugin for Sierra Wireless modems.
For now, it only waits a bit after CFUN=1 call.
2008-11-18 13:04:21 +02:00
Tambet Ingo
00c79d7fa1 Explicitly check the PIN after modem is enabled. 2008-10-30 17:00:15 +02:00
Tambet Ingo
de6c6cd561 Implement Option plugin. 2008-10-30 15:15:23 +02:00
Tambet Ingo
f8c2f2af65 Implement unsolicited message parsers for MBM modem.
Patch from Per Hallsmark <per@hallsmark.se>.
2008-10-30 10:33:16 +02:00
Tambet Ingo
d7c7ab2732 Implement signal quality and network mode querying for MBM modem.
Patch from Bjorn Runaker <bjorn.runaker@ericsson.com>.
2008-10-28 09:28:37 +02:00
Tambet Ingo
f82b187c2b Move the string parser with regexp from huawei plugin to generic utility function.
It's useful for other modems too that need to strip unsolicited messages from
responses.
2008-10-24 16:20:22 +03:00
Tambet Ingo
0bd4f4a604 More work with MBM plugin.
Author: Per Hallsmark.
2008-10-24 10:04:42 +03:00
Tambet Ingo
f7aeeafec8 Use only one serial device in Huawei plugin. 2008-10-22 16:36:25 +03:00
Tambet Ingo
ed5d81da8f Implement a plugin for Ericsson MBM modems (like F3507g) (Author Per Hallsmark). 2008-10-20 11:11:23 +03:00
Tambet Ingo
6f9adb1980 Get the monitoring device from HAL. 2008-09-17 11:54:46 +03:00
Tambet Ingo
ac4409e7ce Rewrite serial device communications.
Instead of vague "send something, wait something" the responses are now
analyzed by (overridable) parsers. Makes all the modem implementations much
easier since each caller knows without any code whether the call succeeded
or failed.

Another thing that makes modem code simpler (and the whole thing more robust),
is the queueing of sent commands. Each queued command has a command and a
callback which is quaranteed to get called, even if sending failed.

Define and implement error reporting.
2008-09-11 08:35:32 +03:00
Tambet Ingo
ebd99af6a0 Disable the HSO modem in addition to just closing the device on Enable(False). 2008-09-01 18:51:48 +03:00
Tambet Ingo
c56d5a257b Handle reading failure replies correctly everywhere. 2008-09-01 16:01:55 +03:00
Tambet Ingo
1bb60347b5 Implement reading IMEI, IMSI, manufacturer, model, and version (revision). 2008-09-01 15:45:55 +03:00
Tambet Ingo
209a6390cb Fix up HSO modem plugin. 2008-09-01 11:27:35 +03:00
Tambet Ingo
424f514b02 Implement the more granular GSM interfaces as agreed on NM mailing list.
Convert all exisiting code over to new DBus interfaces.
2008-08-29 11:43:36 +03:00
Tambet Ingo
64b4827c4c Implement HSO modem driver. 2008-08-26 14:40:20 +03:00
Tambet Ingo
149b41f220 Implement per modem type DBus interfaces.
A major code reorganization.
2008-08-21 09:11:17 +03:00
Tambet Ingo
710df6f66b Handle Enable() method correctly when it's already been called. 2008-07-31 15:00:03 +03:00
Tambet Ingo
cc31458b18 Initial commit. 2008-07-31 09:43:00 +03:00