Tambet Ingo
440cd967e2
Fix a typo.
...
Thanks to Pablo Martí Gamboa.
2009-06-09 14:34:12 +03:00
Tambet Ingo
911a105408
Fix a typo.
2009-05-25 10:17:11 +03:00
Tambet Ingo
9b5425cdd9
Turn off carrier detection for all Huawei modems.
...
Find the monitoring device for Huawei modems by usb interface number.
2009-05-25 10:16:12 +03:00
Tambet Ingo
f7e9e61cf9
Handle the case where there's no APNs set up on the card.
...
Based on patch from Torgny Johansson <torgny.johansson@ericsson.com >.
2009-05-18 14:10:31 +03:00
Tambet Ingo
ddbeb41829
Make pending_registration_stop() accessible to inherited implementations.
2009-05-14 13:14:45 +03:00
Tambet Ingo
2a3acc7a3d
Handle "Call setup failed" case for HSO modems to speed up error reporting.
2009-04-22 16:10:32 +03:00
Tambet Ingo
8eb9fa50b4
Handle cases where HAL is not running/disappears/reappears.
2009-04-14 11:43:26 +03:00
Tambet Ingo
b79a3c0a65
Fix a typo.
2009-04-03 13:45:17 +03:00
Tambet Ingo
d378204742
Fix a typo (thanks to Torgny Johansson).
2009-04-02 15:19:34 +03:00
Tambet Ingo
636fe2921c
Implement a plugin for ZTE modems.
...
Contributed by Jesse Sung (jsung@novell.com ).
2009-04-02 14:48:12 +03:00
Tambet Ingo
1ca34cfc0c
Implement Nokia plugin.
2009-04-02 12:41:59 +03:00
Tambet Ingo
eae902db41
Implement 'V1 E1' parser to work with modems which refuse to turn their echo off.
2009-04-02 12:31:40 +03:00
Tambet Ingo
cf6aeffd63
Fix a compilation error (with certain warning flags).
2009-04-01 16:20:19 +03:00
Tambet Ingo
83ba035aad
Fix the use of uninitialized variables.
2009-03-27 09:11:51 +02:00
Tambet Ingo
45f32e7e09
Implement sending SMS messages.
...
Add a test program to use the newly added method.
2009-03-23 15:05:15 +02:00
Tambet Ingo
697b5f0364
Add the NM patch back. Create a directory for patches.
2009-03-12 15:43:27 +02:00
Tambet Ingo
8750037faf
Implement MMModemNovatelCdma class for Novatel CDMA devices.
...
Rename MMModemNovatel to MMModemNovatelGsm.
2009-03-02 10:13:54 +02:00
Tambet Ingo
6606e15a9b
Handle CDMA modems in Novatel plugin.
2009-02-27 10:21:23 +02:00
Tambet Ingo
a7f9033611
Probe HSO modems, don't trust (often incorrect) HAL modem properties.
2009-02-26 11:28:00 +02:00
Tambet Ingo
d8fa8d7d1b
Eat "^BOOT:..." messages in Huawei plugin.
2009-02-20 12:10:12 +02:00
Tambet Ingo
469529985d
Use cached commands for things that never change (while the card is plugged).
2009-02-20 12:09:47 +02:00
Tambet Ingo
9e6aa4ec96
Implement cached commands.
2009-02-20 12:09:15 +02:00
Tambet Ingo
1215bd6a9d
Rework unsolicited message handling.
...
Implement registration using unsolicited messages for generic GSM class (which
is disabled by default, HSO and Huawei plugins enable it).
Modify all GSM modem subclasses that used unsolicited messages to use the new
method.
2009-02-18 14:48:08 +02:00
Tambet Ingo
13facad4fa
Close the serial device on HUP.
2009-02-13 10:54:21 +02:00
Tambet Ingo
28fd7f7820
Implement the spec correctly for DeviceAdded and DeviceRemoved signals.
2009-02-10 15:26:51 +02:00
Tambet Ingo
1f08d4c408
Fix a compilation warning/error.
2009-02-10 15:26:18 +02: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
19bd7d7e7f
Fix DBus permissions.
2009-02-06 13:32:45 +02:00
Tambet Ingo
d4e1d7dc8c
Fix a typo in error message when MM couldn't acquire it's DBus service name.
2009-02-04 15:24:39 +02:00
Tambet Ingo
2226bb8752
Implement Novatel plugin.
2009-01-26 11:54:10 +02:00
Tambet Ingo
6b14ebe6ab
Relax the "CONNECT" string regex a bit.
2009-01-23 11:58:38 +02:00
Tambet Ingo
d8fada1785
Don't require 'number' property, it's not always needed.
2009-01-22 12:30:25 +02:00
Tambet Ingo
8bf265f349
Implement 'Simple' interface for HSO modems.
2009-01-22 12:30:09 +02:00
Tambet Ingo
b4c8615409
Implement 'Simple' interface for CDMA devices.
2009-01-22 12:29:45 +02:00
Tambet Ingo
17b739c73d
Implement simple interface.
2009-01-19 10:45:18 +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
9804a21686
Explicitly disable unsolicited messages for generic GSM modems.
2009-01-13 11:18:16 +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
a1223a9eaf
Convert multiple return values to structs.
...
Python DBus bindings are unable to implement methods that return multiple
values.
2008-12-17 13:35:22 +02:00
Tambet Ingo
614aa0316a
Clean up generic registration code.
2008-12-15 14:03:27 +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
a504fb408a
Merge branch 'master' of git://gitorious.org/modemmanager/asacs-mbm
2008-12-05 15:57:55 +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
c44079b312
Always print out which plugin created the modem.
2008-11-24 16:41:23 +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
cf2344381c
Make +CMEE optional for CDMA modems.
...
It's mandatory by spec, so it really shouldn't be optional. Need to figure
out which CDMA modems have problems with it and implement plugin for them.
2008-11-18 12:35:34 +02:00
Tambet Ingo
ca4de81fa3
Update the NM and nm-applet patches to latest SVN revision.
2008-10-31 12:30:39 +02:00
Tambet Ingo
00c79d7fa1
Explicitly check the PIN after modem is enabled.
2008-10-30 17:00:15 +02:00
Tambet Ingo
0b9badee75
Hope the card will eventually start searching after it replied OK to registration request.
2008-10-30 16:55:06 +02:00
Tambet Ingo
de6c6cd561
Implement Option plugin.
2008-10-30 15:15:23 +02:00
Tambet Ingo
fe4e7ee62b
Enable/disable debugging on SIGUSR1.
2008-10-30 15:13:51 +02:00
Tambet Ingo
ced49a6a10
Add the device path to mbm modem creator in NM patch.
2008-10-30 10:46:46 +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
65992e69c3
Update NetworkManager and nm-applet patches.
2008-10-29 12:15:43 +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
128021dc16
Add guards to public functions to validate passed arguments.
2008-10-24 17:46:01 +03:00
Tambet Ingo
705aa1c404
Update the NM and nm-applet patches.
2008-10-24 16:22:50 +03: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
fd4e78fe92
Add a default send delay to the serial class.
...
Show the correct error in case of write errors (EAGAIN).
2008-10-22 16:34:34 +03:00
Tambet Ingo
3201a1e6b7
Don't loop forever on EAGAIN (copied from NM).
2008-10-20 18:39:19 +03:00
Tambet Ingo
2b76d68854
Update NM patch.
2008-10-20 17:13:18 +03:00
Tambet Ingo
4d27cef5ed
Add a response parser to the generic CDMA implementation.
2008-10-20 14:37:56 +03:00
Tambet Ingo
446a4752d6
Remove the fancy init string options, these do not seem to work very well.
2008-10-20 12:25:14 +03:00
Tambet Ingo
096246e2fd
Fix mm-test.py.
2008-10-20 12:12:55 +03:00
Tambet Ingo
cdccfa8ac1
Return an error ig scan results can not be parsed (fixes a segfault).
2008-10-20 11:54:02 +03:00
Tambet Ingo
94501f0854
Update NetworkManager patch.
2008-10-20 11:23:50 +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
4c8088d8ba
Fix a typo in 'SetApn' command in NetworkManager patch.
2008-10-20 10:29:53 +03:00
Tambet Ingo
ba166485e3
Update the NetworkManager and nm-applet patches.
2008-10-13 09:40:46 +03:00
Tambet Ingo
5853f2216c
Specify call mode in the modem init string.
2008-09-18 14:31:45 +03:00
Tambet Ingo
5c403fb223
Reset the CID when the modem is enabled/disabled and disconnected.
2008-09-18 12:39:46 +03:00
Tambet Ingo
447bca91b0
Reduce the amount of power used to minimum when modem is disabled.
2008-09-18 12:33:25 +03:00
Tambet Ingo
36acdcb70e
Finish the non-verbose (V0) mode parser.
2008-09-17 13:37:35 +03:00
Tambet Ingo
341c28de2f
Add correct message to mobile (+CMEE) errors.
2008-09-17 12:37:27 +03:00
Tambet Ingo
6f9adb1980
Get the monitoring device from HAL.
2008-09-17 11:54:46 +03:00
Tambet Ingo
07f1b3cc3a
Document DBus error codes and messages.
2008-09-16 14:00:10 +03:00
Tambet Ingo
da3bbdc893
Add marshallers so that RegistrationInfo signal can be enabled.
2008-09-16 13:10:44 +03:00
Tambet Ingo
e0c720e19c
Fix the loadable module name checking.
2008-09-16 13:10:44 +03:00
Tambet Ingo
f1acf5aaec
Disconnect modem if it's connected while disabling.
2008-09-16 13:10:37 +03:00
Tambet Ingo
8e1cabbefc
Make sure the device is enabled before trying to send commands to it.
2008-09-15 17:20:00 +03:00
Tambet Ingo
f570e1517d
Implement PIN changing and enabling/disabling.
2008-09-15 17:08:46 +03:00
Tambet Ingo
1455c424c2
Implement smarter APN choosing.
...
If the APN chosen by user is already configured in card, use that. If not,
find the highest used CID, the allowed range of CIDs and add new (or overwrite
the highest one).
2008-09-15 13:07:03 +03:00
Tambet Ingo
b4176325e5
Update the patches for NetworkManager and nm-applet.
...
Implement modem properties dialog for the applet which shows all sorts of
information about the modem, allows to scan for visible networks and create
NMConnections based on scan results.
2008-09-12 17:05:43 +03:00
Tambet Ingo
567278d19d
Make sure the response buffer doesn't grow without bounds.
2008-09-11 16:55:44 +03:00
Tambet Ingo
675964a6b2
Fix device added and removed signals.
...
The device argument was a MMModem object, which conflicted with the spec.
Changed it to the modem's udi.
2008-09-11 16:37:01 +03:00
Tambet Ingo
e0b3d478b4
Fix the typos.
2008-09-11 16:36:41 +03:00
Tambet Ingo
37b716de8a
Fix error codes.
2008-09-11 15:12:07 +03:00
Tambet Ingo
29387c24b0
Fix a bug where the serial command queue sent the same command multiple times.
2008-09-11 11:41:36 +03:00
Tambet Ingo
55bc5300db
Cache signal quality after successful registration.
...
If trying to get signal quality when connected, use the cached value.
2008-09-11 11:22:04 +03:00