Aleksander Morgado
68421638f5
at-serial-port: new flag to define the GPS control port
2012-03-28 15:50:51 +02:00
Aleksander Morgado
79c93f4333
at-serial-port: define flags by shifting bits
...
Otherwise glib-mkenums doesn't take the enumeration as being flags.
2012-03-28 15:50:51 +02:00
Aleksander Morgado
62923f9086
serial-port: ensure we close the port when forcing to close it
2012-03-28 15:50:43 +02:00
Aleksander Morgado
b8157228eb
broadband-modem: plug memleak when uppercasing storage names
2012-03-28 15:50:43 +02:00
Aleksander Morgado
029cb2abe9
broadband-modem: plug memleak when building AT command
2012-03-28 15:50:43 +02:00
Aleksander Morgado
f0b02ce321
hso: plug small memleak when building devfile
...
Why do we need the devfile anyway?
2012-03-28 15:50:43 +02:00
Aleksander Morgado
b29eb54080
sim: plug memleak
2012-03-28 15:50:43 +02:00
Aleksander Morgado
121c543711
sim: fix completion of pin-puk check
2012-03-28 15:50:43 +02:00
Aleksander Morgado
45e4f390eb
charsets: plug memleak
2012-03-28 15:50:43 +02:00
Aleksander Morgado
e07786ebb1
option: fix loading current allowed modes
...
The proper command to check the current allowed modes is `AT_OPSYS?'.
2012-03-26 15:23:28 +02:00
Aleksander Morgado
2d02279ba7
Revert "option: fix allowed modes response parsing"
...
This reverts commit 0bc824b452
.
The fix is NOT to change the expected result, but to change the command itself.
2012-03-26 15:20:55 +02:00
Aleksander Morgado
f07d3748c6
broadband-modem: fix error reporting in the modem initialization sequence
...
The initialization sequence doesn't expect any result, so
`mm_base_modem_at_sequence_finish()' will actually return NULL even if there is
no error. Therefore, we base the success of the sequence on the existence of a
GError in the return.
2012-03-26 13:49:02 +02:00
Aleksander Morgado
063c4f9bf8
option: fix disabling sequence handling
...
This provides the proper fix for the disabling sequence, also amending the
erroneous checks introduced in commit 5b10af0f
.
2012-03-26 13:46:30 +02:00
Aleksander Morgado
b581d6765f
hso: skip the 10s timeout in High-Speed Option devices
...
Will only be applied to non-HSO Option modems.
2012-03-26 13:39:21 +02:00
Aleksander Morgado
e69d4974ef
broadband-modem: use current charset when parsing operator name
2012-03-26 13:37:41 +02:00
Aleksander Morgado
28f13c09ec
mmcli: abort certain operations if modem is unlocked
...
Do not try to perform feature/capability specific actions if we're still
unlocked, as the modem didn't yet export the feature/capability specific
interface.
The only interfaces expected while modem is unlocked are the Modem and Simple
interfaces, as well as the SIM interface in the SIM object, of course.
2012-03-26 13:00:07 +02:00
Aleksander Morgado
d10780dcf5
mmcli: fix alignment of properties in IP config output
2012-03-26 12:58:18 +02:00
Aleksander Morgado
e387100eb5
hso: update connection status only in the bearer matching the specific CID
2012-03-26 12:57:44 +02:00
Aleksander Morgado
770511f449
hso: fix segfault in bearer status update handling
2012-03-26 12:57:00 +02:00
Aleksander Morgado
5191dd3d9e
option: fix reading port-specific setup file
...
The `physdev' stored in the probe is the sysfs path of the parent device, that
owning all ports. We need to build the setup file path using the port's sysfs
path instead.
2012-03-26 12:56:18 +02:00
Aleksander Morgado
46fa15c603
broadband-modem: initialize the Simple interface even if unlocked
...
We should be able to unlock the modem during Simple Connect().
2012-03-26 12:54:17 +02:00
Aleksander Morgado
467b8892ae
mmcli: ensure the modem exports the Simple interface before trying to use it
2012-03-26 12:09:33 +02:00
Aleksander Morgado
fec294b226
plugin: bump major plugin version
...
The PluginBase object got modified during the new codebase development, and
therefore we need to ensure that the current codebase doesn't try to load old
plugins.
2012-03-26 11:19:05 +02:00
Aleksander Morgado
f6d8c52bc9
iface-modem: do not try to set new allowed/preferred config if modem already in there
2012-03-26 09:35:09 +02:00
Aleksander Morgado
ae50d291cd
hso: probe for QCDM ports
2012-03-24 20:29:26 +01:00
Aleksander Morgado
6b678bd8cf
hso: fix bearer private data handling
2012-03-24 19:50:10 +01:00
Aleksander Morgado
bd90ee8094
option: handle special 'auto' mode when setting allowed/preferred modes
2012-03-24 19:17:25 +01:00
Aleksander Morgado
43cdb25eb1
option: handle response specifying automatic mode
...
Option modems may reply '_OPSYS: 5,2' to report automatic mode being used.
2012-03-24 19:17:19 +01:00
Aleksander Morgado
41a592b535
iface-modem: treat ANY in allowed modes as being equal to the list of supported modes
2012-03-24 19:16:53 +01:00
Aleksander Morgado
19436a9906
option: fix setting allowed modes
2012-03-24 19:16:53 +01:00
Aleksander Morgado
5b10af0ff3
option: no result expected in unsolicited enabling/disabling sequence
2012-03-24 19:16:44 +01:00
Aleksander Morgado
0bc824b452
option: fix allowed modes response parsing
...
Expecting a `_OSSYS' reply, not `_OPSYS'.
2012-03-24 11:48:34 +01:00
Aleksander Morgado
d841916c4f
port-probe: don't probe product string if vendor string probing failed
2012-03-23 18:25:58 +01:00
Aleksander Morgado
e2730d6a02
port-probe: probed vendor/product string will be NULL when error probing
2012-03-23 18:25:58 +01:00
Dan Williams
d41d62f577
serial: fix crash when sending some commands to a closed port (lp:963102)
...
If the command we're sending doesn't have a callback, don't try
to call NULL. Triggered if the port got closed (because the modem
crashed, or refcounting errors or whatever) with some code like this:
mm_at_serial_port_queue_command (MM_AT_SERIAL_PORT (port), "+CREG=0", 3, NULL, NULL);
2012-03-23 10:58:59 -05:00
M. I. Spozta
ac92ac7498
wmc: increase estimate decapsulation buffer size
...
(dcbw)
Some packets are much larger and require a lot more escaping than
we thought so we need larger buffers here to be able to handle
all packets. In this case, SMS receipt.
2012-03-22 11:34:39 -05:00
Aleksander Morgado
c5a6e1fcab
anydata: plugin fully ported
2012-03-18 17:28:15 +01:00
Aleksander Morgado
58f21a6d94
anydata: ignore several unsolicited messages
2012-03-18 17:28:15 +01:00
Aleksander Morgado
ffee914197
anydata: implement modem reset
2012-03-18 17:28:15 +01:00
Aleksander Morgado
82d72744a2
anydata: get detailed CDMA1x/EVDO registration states
2012-03-18 17:28:14 +01:00
Aleksander Morgado
d58d3f52a2
anydata: don't get serving system with +CSS?
2012-03-18 17:28:14 +01:00
Aleksander Morgado
75c38941a8
anydata: start porting the AnyDATA plugin
2012-03-18 17:28:14 +01:00
Aleksander Morgado
46d16d5c99
libmm-common: new common uint/int/str parsers
2012-03-18 17:28:14 +01:00
Aleksander Morgado
3046059aff
iface-modem-3gpp: if already registered as requested, don't try to register from scratch
2012-03-16 15:52:36 +01:00
Aleksander Morgado
6bb90d92e4
iface-modem-simple: try to skip initial steps in the Simple Connect sequence
2012-03-16 15:38:09 +01:00
Aleksander Morgado
295272196d
iface-modem-simple: don't request to connect the bearer if already connected
2012-03-16 15:37:37 +01:00
Aleksander Morgado
29b955afa2
iface-modem: if we are already unlocked, don't try to check it again
...
We're assuming here we are never getting locked without us knowing it.
2012-03-16 15:37:12 +01:00
Aleksander Morgado
1dbe4a12cf
iface-modem-simple: don't call the enable() methods in the class directly
...
Use the new `mm_base_modem_enable()' instead, which will pass down the
modem-wide cancellable to the enable() implementation.
2012-03-16 15:21:56 +01:00
Aleksander Morgado
686cfbb2c0
iface-modem-simple: don't assume bearer is always set
2012-03-16 15:21:01 +01:00
Aleksander Morgado
f2fee29968
broadband-bearer: pass down cancellable to the 3gpp dialing implementation
2012-03-16 15:20:40 +01:00