Aleksander Morgado
05289d094b
iface-modem-3gpp: fix variant ref count
2012-07-25 12:00:28 +02:00
Aleksander Morgado
75d84b7402
cli: get AT command timeout directly from our default operation timeout
...
We remove the `--command-timeout' option, as the AT command timeout is now
directly computed from our default DBus timeout (modifiable with `--timeout').
2012-07-25 11:44:18 +02:00
Aleksander Morgado
8b863c5a4b
libmm-glib: don't change default DBus timeout when running Modem.Command()
...
Just warn if the default DBus timeout is shorter than the one being requested.
2012-07-25 11:44:09 +02:00
Aleksander Morgado
8f8bcd7724
cli: allow modifying default DBus timeout with `--timeout'
...
By default 30s will be used for every operation.
2012-07-25 11:44:01 +02:00
Aleksander Morgado
8a34e41794
cli: fix showing CDMA related info in sync mode
2012-07-25 11:43:53 +02:00
Aleksander Morgado
001f35234e
cli: ensure modem is enabled when performing actions
...
Don't rely on the lock status, as the modem may say it requires SIM PIN 2, but
we're allowed to run most operations even with that unlock required.
2012-07-25 11:43:45 +02:00
Aleksander Morgado
c6c1e0fb50
broadband-modem: fallback to unencoded command in USSD if encoded fails
2012-07-22 14:51:31 +02:00
Aleksander Morgado
19e65253de
broadband-bearer: debug logs when disconnecting 3GPP bearer
2012-07-22 13:40:02 +02:00
Aleksander Morgado
aa11a0bf7d
broadband-modem: assume CS if 2G supported
2012-07-22 13:39:50 +02:00
Aleksander Morgado
79fbe274e9
iface-modem: new async method to be run just after the successful SIM unlock
2012-07-22 13:39:35 +02:00
Aleksander Morgado
2aceb907f4
mm-broadband-modem: fix result completion on hex encoding errors
2012-07-22 13:36:43 +02:00
Aleksander Morgado
9670b362bf
mm-broadband-modem: fix USSD command sending, don't use cached AT replies
2012-07-22 13:35:18 +02:00
Aleksander Morgado
ea10c57056
broadband-modem: cancel pending USSD request if USSD session cancelled
2012-07-22 13:33:34 +02:00
Aleksander Morgado
ce33bcfd7a
iface-modem-3gpp-ussd: set proper initial session state
2012-07-22 13:33:25 +02:00
Aleksander Morgado
89cdb8819a
iface-modem-3gpp-ussd: don't allow USSD actions if the modem is not enabled
2012-07-22 13:33:15 +02:00
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