Commit Graph

2505 Commits

Author SHA1 Message Date
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
Aleksander Morgado
8f488d6049 hso,option: plugins fully ported 2012-03-16 14:53:27 +01:00
Aleksander Morgado
3a7270930a hso: custom disconnection implementation 2012-03-16 14:53:26 +01:00
Aleksander Morgado
93b4256fb6 broadband-bearer: pass down CID to the 3GPP-specific disconnection logic 2012-03-16 14:53:26 +01:00
Aleksander Morgado
51956459dc hso: custom IP config retrieval implementation 2012-03-16 14:53:26 +01:00
Aleksander Morgado
cd7d4c3019 broadband-bearer: let subclasses handle their own IP config retrieval mechanism
Mainly given for bearers requiring static IP addresses in net ports.
2012-03-16 14:53:26 +01:00
Aleksander Morgado
6900348b64 broadband-bearer: let subclasses know the CID being used 2012-03-16 14:53:26 +01:00
Aleksander Morgado
327a69ed16 novatel: assume only IPv4 supported for now 2012-03-16 14:53:26 +01:00
Aleksander Morgado
70c70a61ab hso: let modem report connection status to the bearer
Connection status notifications are unsolicited; the modem will receive them
and it will forward them to the available bearer.
2012-03-16 14:53:26 +01:00
Aleksander Morgado
5a8a5d0f22 hso: always create a HSO-specific broadband bearer 2012-03-16 14:53:26 +01:00
Aleksander Morgado
7de8b588b6 hso: setup connection sequence 2012-03-16 14:53:26 +01:00
Aleksander Morgado
fe13d4cb66 broadband-bearer: ensure a result is always set
Just a convenience, as it is anyway not used afterwards.
2012-03-16 14:53:26 +01:00
Aleksander Morgado
d374b995f9 hso: new `MMBroadbandBearerHso'
Includes handling of user and password.
2012-03-16 14:53:26 +01:00
Aleksander Morgado
473c5fee4d bearer: properties are exposed before exporting the bearer object
And we let subclasses to specify which of the input properties need to be
exposed.
2012-03-16 14:53:26 +01:00
Aleksander Morgado
4f06aa5106 api,dbus: include user' and password' as properties given to Simple Connect 2012-03-16 14:53:26 +01:00
Aleksander Morgado
52ac88824e hso: setup ports
Only the primary port will get the OWANCALL unsolicited messages, so we only
setup not to remove the echo in that specific port.
2012-03-16 14:53:26 +01:00
Aleksander Morgado
db052c2e50 hso: started porting the High-Speed Option plugin
Just skeleton for now.
2012-03-16 14:53:26 +01:00
Aleksander Morgado
1b394ebfe7 option: allow setting allowed/preferred modes 2012-03-16 14:53:25 +01:00
Aleksander Morgado
63926eac02 option: load initial allowed/preferred modes 2012-03-16 14:53:25 +01:00
Aleksander Morgado
7400b14ee6 mmcli: fix looking for unexisting SMS
We need to ensure we iterate over all modems available.
2012-03-16 14:53:25 +01:00
Aleksander Morgado
6dea9964be mmcli: fix looking for unexisting bearers
We need to ensure we iterate over all modems available.
2012-03-16 14:53:25 +01:00
Aleksander Morgado
979c520381 cli: don't assume every modem exposes the Messaging interface 2012-03-16 14:53:25 +01:00
Aleksander Morgado
346de780be option: completely ignore +PACSP0 unsolicited messages 2012-03-16 14:53:25 +01:00