Commit Graph

2518 Commits

Author SHA1 Message Date
Aleksander Morgado
dd8dcbb899 messaging: don't treat as fatal error if we cannot read from a given storage 2012-07-22 13:33:07 +02:00
Aleksander Morgado
2146553c59 broadband-bearer: fix missing method
It was wrongly removed in commit 2506e3093e.
2012-07-21 17:13:07 +02:00
Aleksander Morgado
9f5dd85d96 doc: include missing description of the new LTE bands 2012-07-21 16:21:21 +02:00
Aleksander Morgado
3653ec4b8e broadband-modem: send always ATZ alone
ITU rec v.250 (6.1.1) says:
  The DTE should not include additional commands on the same command line after
  the Z command because such commands may be ignored.
2012-07-19 16:22:52 +02:00
Aleksander Morgado
b300110055 hso: use common integer string parsers 2012-07-19 16:22:45 +02:00
Aleksander Morgado
487cd29d8b hso: unsolicited %IPDPACT may come before the AT command reply 2012-07-19 16:22:40 +02:00
Aleksander Morgado
c63f42a20c hso: plug memleak when finishing dialling with error 2012-07-19 16:22:32 +02:00
Aleksander Morgado
b43ee56d06 hso: fix cid to report to 2012-07-19 16:22:27 +02:00
Dan Williams
e7715af875 serial: fix AT port carriage return handling
Off-by-one, fix it.
2012-07-18 10:51:44 -05:00
Aleksander Morgado
2506e3093e api,header: add LTE specific bands in `MMModemBand' 2012-07-18 14:51:11 +02:00
Aleksander Morgado
d25f767559 api,header: fix description of `MMModemBand'
It was a bitmask once...
2012-07-18 14:51:11 +02:00
Dan Williams
f08c76f00c decode: handle another UsbSnoop URB function 2012-07-17 16:04:31 -05:00
Ben Chan
717977d0b5 iface-modem-messaging: check if supported storage is allocated before use
load_supported_storages may fail, which results in unallocated storage
memory. This patch modifies load_initial_sms_parts_from_storages and
is_storage_supported to handle that gracefully.
2012-07-17 08:02:13 +02:00
Aleksander Morgado
431b6a0fc5 broadband-modem: remove `USE_WS46' property
3GPP modems will all try to use AT+WS46=? by default to gather supported modes.
2012-07-16 08:34:01 +02:00
Aleksander Morgado
7ce65fe85d broadband-modem: try to guess more specific 2G/3G/4G mode support
For 3GPP modems, we'll try with AT+WS46=?, which is the standard command to
query supported networks. If it returns error, we'll fallback to the defaults.

For CDMA modems, we'll try to gather CDMA1x and/or EV-DO support directly from
the AT+GCAP response.
2012-07-16 08:30:50 +02:00
Aleksander Morgado
f4ad5c805e iface-modem-cdma: new steps to setup/cleanup unsolicited messages 2012-07-16 08:30:45 +02:00
Aleksander Morgado
209f4d4420 iface-modem-[3gpp|cdma]: remove contexts with timeouts when shutting down
Following the same logic as in commit 9ddcf92a, those contexts in the interface
which contain the setup of a timeout are cleared before removing the DBus
skeleton objects, so that we make sure they are not fired out once these have
been disposed.
2012-07-13 09:09:15 +02:00
Ben Chan
9ddcf92a18 iface-modem: fix crashes due to removed skeleton
expire_signal_quality() / mm_iface_modem_update_access_technologies()
may be called after the DBus object skeleton is removed in
mm_iface_modem_shutdown() and before their associated timeout source is
removed (in *_context_free) due to destruction of the modem object.

This patch fixes the issue by removing context objects before removing
the DBus skeleton in mm_iface_modem_shutdown().
2012-07-13 08:42:05 +02:00
Ben Chan
0519af932e port-probe: fix crash in serial_probe_at_parse_response due to NULL response
When the serial port is not open, internal_queue_command
(mm-serial-port.c) invokes serial_probe_at_parse_response
(mm-port-probe.c) with a NULL response. This patch modifies
serial_probe_at_parse_response to handle NULL response properly.
2012-07-12 22:58:58 +02:00
Aleksander Morgado
107c78306e cli: fix showing revision when not multiline 2012-06-29 13:29:13 +02:00
Aleksander Morgado
513abb2ccf polkit: fix authority object disposal 2012-06-27 15:38:28 +02:00
Aleksander Morgado
cb881a2653 uml290: git-ignore generated program 2012-06-26 12:15:59 +02:00
Dan Williams
061b4d202c decode: handle FUNCTION_CLASS_INTERFACE requests like CONTROL_TRANSFER
The Novatel USB551L uses these to send data to the device, but the data
is QMUX.
2012-06-25 12:48:47 -05:00
Dan Williams
d20f33b5c9 trivial: fix format string 2012-06-22 13:56:02 -05:00
Dan Williams
16d85f7b33 decode: update with latest QMI enums
Since QC stopped distributing the database files, we can't easily
decode the TLV names unless we start parsing the C headers.
2012-06-22 12:18:38 -05:00
Dan Williams
ab5e9a49cf zte: try to handle Icera devices that use PPP
Not all devices present a network interface, and on these devices
we need to fall back to PPP using the standard setup commands.  But
they appear to support the Icera custom commands for access technology
and such, so still use those.

Hopefully fixes ZTE MF665C.
2012-06-06 11:47:28 -05:00
Dan Williams
4ac45ba091 uml290: allow setting more global modes 2012-06-04 13:53:38 -05:00
Dan Williams
5337b2277a qcdm: fix 1x/HDR mode pref and add GSM/UMTS mode prefs 2012-06-04 13:53:34 -05:00
Dan Williams
99b877ee68 test: ignore ESN errors in info.py 2012-05-30 12:11:25 -05:00
Dan Williams
fcc4903a83 trivial: whitespace fixes 2012-05-30 11:52:36 -05:00
Dan Williams
e7b1c48daf uml290: add mode switching tool
Switches UML290 mode between 4G/LTE, 3G/EVDO/1X, and auto.
2012-05-30 11:48:42 -05:00
Dan Williams
96166e4b75 wmc: namespace stuff properly 2012-05-30 11:48:42 -05:00
Dan Williams
9fb8158279 qcdm: namespace stuff properly 2012-05-30 11:48:42 -05:00
Dan Williams
e5f787d364 wmc: add command for setting global mode 2012-05-29 13:49:26 -05:00
Aleksander Morgado
6fa3f0b0d7 build: provide pkg-config files for ModemManager, libmm-common and libmm-glib 2012-05-24 09:59:53 +02:00
Aleksander Morgado
e582a22db7 api: install common headers to ${prefix}/include/ModemManager
...instead of ${prefix}/include/mm
2012-05-24 09:59:53 +02:00
Aleksander Morgado
6bf277e794 libmm-glib: install missing headers 2012-05-24 09:59:52 +02:00
Aleksander Morgado
4ae13ef5d9 libmm-common: install missing header 2012-05-24 09:59:52 +02:00
Jiří Klimeš
6d888e2e90 dbus: remove 'max_replies_per_connection' limit from D-Bus configuration
It is leftover from times when D-Bus default limit was 32. Now, it is 8192, see
http://cgit.freedesktop.org/dbus/dbus/commit/?id=8d3d8ff55739eebd84d0d53a20a025329feafc3b
2012-05-23 10:41:45 +02:00
Dan Williams
9bee743a9d vl600: add some reverse engineering docs and an AT com utility 2012-05-16 12:13:48 -05:00
Aleksander Morgado
df1f21d17f sms: fix setting multipart specific properties
Don't make them construct-only, so that we can set them whenever needed.
2012-05-06 18:53:03 +02:00
Aleksander Morgado
8a47621a5c sms,tests: new test to check for multipart support in SMS parts 2012-05-06 18:48:59 +02:00
Aleksander Morgado
97baa44b04 novatel: report error if not properly disconnected
When we request to disconnect, and the disconnection status check fails, return
a proper error.
2012-05-06 17:12:36 +02:00
Aleksander Morgado
b2d376696c novatel: minor coding style fixes 2012-05-06 17:12:36 +02:00
Tore Anderson
6b9ee7c833 broadband-bearer: derive PDP type from the ip-type bearer property
This patch makes it possible to use MM to set up PDP contexts with
PDP types other than 'IP', which is particularly useful when trying
to use the 'IPV6' or 'IPV4V6' PDP types defined in recent 3GPP specs.

If ip-type isn't specified, 'IP' will be used by default, due to the
fact that modem support for the 'IPV4V6' type is still rather scarce.

The patch applies to Aleksander's 'bearer-properties' branch. It has
been tested using mmcli in this fashion:

mmcli -m 0 --simple-connect=apn=internet # default to 'IP'
mmcli -m 0 --simple-connect=apn=internet,ip-type=IP
mmcli -m 0 --simple-connect=apn=internet,ip-type=IPV6
mmcli -m 0 --simple-connect=apn=internet,ip-type=IPV4V6
2012-05-06 17:12:36 +02:00
Aleksander Morgado
caeeae2721 bearer: simplify handling of the bearer configuration
The base MMBearer object will receive the MMBearerProperties configuration,
which contains every generic and plugin-specific set up. Not every configuration
parameter will be used by every implementation (e.g. not every bearer needs
user/password).

The Bearer object will expose every configuration parameter received in its
`Properties' property in the interface, even if it's not really used.
2012-05-06 17:12:36 +02:00
Aleksander Morgado
1984c155ad wavecom: plugin fully ported 2012-05-06 15:34:13 +02:00
Aleksander Morgado
6c26e90610 wavecom: implement custom band setting 2012-05-06 15:34:13 +02:00
Aleksander Morgado
8b329c1012 wavecom: setup custom serial parser
AT+CPIN? replies come without trailing 'OK'; which we need to handle.
2012-05-06 15:34:13 +02:00
Aleksander Morgado
43d7f4f17a wavecom: implement custom current bands loading 2012-05-06 15:34:13 +02:00