aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2011-06-06cinterion: add initial dummy pluginAleksander Morgado
2011-06-06charsets: new utf8_to_hex() methodAleksander Morgado
2011-06-06gsm: let plugins use their own command for CMER enablingAleksander Morgado
2011-06-06gsm: let plugins use their own commands for SMS indications and storage ↵Aleksander Morgado
configuration
2011-06-06introspection: indentation fixesAleksander Morgado
2011-06-05x22x: add support for the Alcatel X200Dan Williams
Same USB IDs as the X060s which is driven by Longcheer, but uses the X22X command set so we have to do a little dance and make sure we don't claim the X060s here.
2011-06-05longcheer: ensure the Alcatel X200 is not claimedDan Williams
The X200 shares the same USB VID and PID as the X060s but the X200 does not use the same AT command set; it uses the X22X plugin instead. Since both modems also report the same +GMM and +GMI responses, we have to fall back to using +GMR even though that's a pretty sketchy way to tell them apart if the firmware ever changes.
2011-06-05core: allow plugins to stop probing and not support a modemDan Williams
Previously plugins could only stop probing, *or* stop probing and indicate support for a device. For the Alcatel X200/X060s debacle we need to stop probing and indicate that the plugin does not support the device at all.
2011-06-05x22x: support access technology reportingDan Williams
2011-06-05plugins: use MMCallbackInfo instead of custom DisableInfoAleksander Morgado
Implemented using a custom invoke method which doesn't call the callback, and instead calls parent disable passing the callback as argument. This fix ensures that if a modem gets removed, no invalid modem reference is passed to the parent disable, as info->modem would be set to NULL and we can detect it in the custom invoke method.
2011-06-05core: ensure ERROR_REMOVED error is used in MMCallbackInfo when detecting ↵Aleksander Morgado
modem removal
2011-06-05core, plugins: if modem removed don't process responseAleksander Morgado
We try to avoid a memory leak when info->error is reset, as well as a second re-schedule of the info.
2011-06-02gsm: free the string allocated by utils_hexstr2bin().Nathan Williams
Change-Id: I1f7dabc8209d9757b573a59abb788a2346f72ad5
2011-06-02Spec out and implement a command to get a GSM SIM SPN value.Nathan Williams
Using a SIM with a SPN, run the following command: dbus-send --system --dest=org.freedesktop.ModemManager --print-reply /org/freedesktop/ModemManager/Modems/0 org.freedesktop.ModemManager.Modem.Gsm.Card.GetSpn Change-Id: I8f36c8432f40fa4e3cb3f8c6ceef16b2bdadf2a1 Reviewed-on: http://gerrit.chromium.org/gerrit/1464 Reviewed-by: Nathan J. Williams <njw@chromium.org> Tested-by: Nathan J. Williams <njw@chromium.org>
2011-06-02sms_decode_address(): Add a leading "+" on international numbers.Nathan Williams
BUG=chromium-os-partner:4278 TEST=Send SMS from phone (to get +... format) and from AIM-SMS gateway (to get raw-digit format). Change-Id: I36eb9f1432a432435578180dfdb315b0e7ee5744
2011-06-02serial-parser: allow 0 or more whitespaces before error code in regular ↵Aleksander Morgado
expresions
2011-05-27sms: use correct start and length for alphanumeric dataNathan Williams
sms_parse_pdu(): Protocol ID doesn't actually affect decoding, so don't fret about its value. ChromeOS: Change-Id: Ia4cb20c415aed1026bb7b8dd4daa8ae53dd749e8
2011-05-27simtech: tag ports on Prolink PH-300Dan Williams
2011-05-19gsm: correctly set registration status when disablingNathan Williams
Chromium: Change-Id: I0629706985f273832ac3662acb260388d0e6ed83
2011-05-19samsung: split initialization sequence to ensure echo is offNathan Williams
Split the Samsung initialization sequence from "ATZ E0 V1" to "ATZ" and "ATE0 V1" - the modem is allowed to ignore the rest of the line after Z, so echoing was not being turned off, leading to getting "AT+CIMI\n\n" as part of the IMSI when it is retrieved at startup. Chromium: Change-Id: Icfd767174e779e472f8cde419acb163128e4715d
2011-05-19ussd: formatting and spacing cleanupsDan Williams
2011-05-18api: proposed new interface for MM 0.6 and laterDan Williams
Main changes are cleaning up the API and allowing for multi-mode devices that support two or more of CDMA/EVDO, GSM/UMTS, and LTE at the same time. This provides a starting discussion point for the new MM 0.6 API.
2011-05-16qcdm: add some more CDMA band classesDan Williams
2011-05-11sms: suppress duplicate SMS received notificationsNathan Williams
If the modem sends the same notification on more than one port, make sure we don't send a signal out to clients more than once.
2011-05-10build: add include dir to .gitignoreAleksander Morgado
2011-05-09manager: avoid assertion warning when enumerating devicesAleksander Morgado
2011-05-09gsm: whitespace fixesDan Williams
2011-05-04longcheer: ensure the plugin on handles devices it's supposed toDan Williams
Other devices from the same vendor (x220) need to be handled by the x22x plugin, so Longcheer can't just rely on the vendor ID match to know whether it should handle the modem.
2011-05-04build: bump version to 0.5.999 for 0.6 developmentDan Williams
2011-05-04build: build docs during distcheck and fix up udev rules install baseDan Williams
2011-05-02samsung: lock plugin to Y3300 to exclude other Samsung USB modemsDan Williams
Like the SGH-Z810/SCH-U209 which are a different chipset, don't have pseudo-ethernet ports, and just wouldn't work with this plugin.
2011-04-29wavecom: enable usage of MM_MODEM_GSM_BAND_ANY in SetBand()Aleksander Morgado
2011-04-29samsung: allow getting more than one bandAleksander Morgado
2011-04-29samsung: allow setting a single band onlyAleksander Morgado
2011-04-29utils: new utils_check_for_single_value() methodAleksander Morgado
It was being used in several places with different static implementations
2011-04-29huawei: enable getting and setting more than one bandAleksander Morgado
2011-04-29gsm: allow setting more than one bandAleksander Morgado
2011-04-28introspection: add missing UMTS 2600 band referenceAleksander Morgado
2011-04-28build: remove unneeded message in configure build reportAleksander Morgado
Location API is always built
2011-04-27build: only require gettext if enabling polkitDan Williams
2011-04-27Revert "build: don't require intltool unless --with-polkit=yes"Dan Williams
This reverts commit 0299cf51c4cf587f79771fe219c6154bf0d0139e.
2011-04-27Revert "build: po shouldn't be built unless --with-polkit=yes"Dan Williams
This reverts commit ba17060219f34b5bb8dbb965be9a5f224955777a.
2011-04-27build: po shouldn't be built unless --with-polkit=yesDan Williams
Since translations are only used with polkit.
2011-04-27build: don't require intltool unless --with-polkit=yesDan Williams
2011-04-27huawei: rework probing and detectionDan Williams
Long ago there were problems where certain Huawei devices would stop responding on various ports, and sometimes would crash randomly. The theory at the time was that touching the secondary ports made the device angry, thus the plugin simply opened the ports and listened for unsolicited messages. But if the device didn't send any during that 7 second period, MM would not detect and secondary ports at all. Plus, it was always a hack. Instead, the new theory is that the device crashes if unsolicited messages are enabled (^CURC=1), the secondary port gets touched, *and* then closed and left for a while. Fix that by turning unsolicited messages off at probe time, on when the device is enabled, and off again when the device is disabled like happens for other modems. Thus when MM first detects the modem, it turns off unsolicited messages and the serial buffer on the secondary port doesn't fill up and crash the modem. Second, this allows us to simplify the probing logic quite a bit so that we can probe all ports we find, but we still wait to probe the first port so we can turn off unsolicited messages and get hints about what port is the secondary.
2011-04-26plugins: allow multiple custom init commands in sequenceDan Williams
Huawei will need this.
2011-04-26plugins: simplify custom init commandsDan Williams
Instead of having two places that custom init stuff got processed (a hook in the MMPluginBase class itself and a callback too) just use a callback, and simplify it somewhat so that the plugin tracks how many tries it cares about and what to do based on the response or error.
2011-04-21mbm: add MBM device IDs for Lenovo F5521gw moduleMarius B. Kotsbak
2011-04-19zte: only dispose Icera data onceDan Williams
2011-04-18samsung: use common Icera codeDan Williams
Port the differences over to the common Icera code (there were only two) and remove the duplicate code from the Samsung plugin. The Icera NWSTATE regex had to be adjusted to capture "-1" in the first element which wasn't handled before but which I've seen on the Samsung Y3300 before the card has registered.