Commit Graph

2285 Commits

Author SHA1 Message Date
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
Aleksander Morgado
dda9e2a37f option: enable and disable unsolicited messages 2012-03-16 14:53:25 +01:00
Aleksander Morgado
00094fcad2 option: setup and cleanup unsolicited messages 2012-03-16 14:53:25 +01:00
Aleksander Morgado
657f728025 option: reset expected unsolicited message handlers 2012-03-16 14:53:25 +01:00
Aleksander Morgado
39e0f953b0 option: need to wait some seconds after power up 2012-03-16 14:53:25 +01:00
Aleksander Morgado
15e9943036 plugin-base: avoid launching AT probing on new ports if the modem expects only one
If we got an existing modem showing a new port, and the plugin handling that modem
said that only one AT port was expected, we shouldn't be AT-probing it any more.
2012-03-16 14:53:25 +01:00
Aleksander Morgado
29f23f2a49 base-modem: new method to check if the modem got any AT port
Required for the single-at logic in the plugins.
2012-03-16 14:53:25 +01:00
Aleksander Morgado
3eb4220caa port-probe: new probing result setters
We make them public, so that we can set results before actually running the
probing.
2012-03-16 14:53:25 +01:00
Aleksander Morgado
d2559e2716 plugin-base: only cancel AT probing in probes of the same device 2012-03-16 14:53:25 +01:00
Aleksander Morgado
c52762ea67 build: require gudev >= 147
Since udev 147 the gudev API is no longer marked as experimental, and therefore
`G_UDEV_API_IS_SUBJECT_TO_CHANGE' is no longer needed.
2012-03-16 14:53:25 +01:00
Aleksander Morgado
703ab2590b port-probe: probing may just require vendor or product probing
If we already had probed, e.g. AT capabilities, and a next plugin requires
Vendor AT probing, the task will only show that VENDOR_AT is requested.
2012-03-16 14:53:25 +01:00
Aleksander Morgado
56e7b15f5c base-modem: ensure we cancel any ongoing operation when we're disposing 2012-03-16 14:53:24 +01:00
Aleksander Morgado
09026ed89a iface-modem: treat serial errors also as fatal when checking unlock status 2012-03-16 14:53:24 +01:00
Aleksander Morgado
a20441f4c0 nokia: don't even bother checking for messaging support
Nokia modems/handsets use their own protocol (phonet) for all messaging related
operations, currently unsupported, so don't bother trying to check messaging
support with the generic implementation.
2012-03-16 14:53:24 +01:00
Aleksander Morgado
e2a56ba490 iface-modem-time: let initialization and enabling sequences get cancelled 2012-03-16 14:53:24 +01:00
Aleksander Morgado
9eebb75ca3 iface-modem-messaging: let initialization and enabling sequences get cancelled 2012-03-16 14:53:24 +01:00
Aleksander Morgado
2c4a69b190 iface-modem-location: let initialization and enabling sequences get cancelled 2012-03-16 14:53:24 +01:00
Aleksander Morgado
fea2ef0e5c iface-modem-cdma: let initialization and enabling sequences get cancelled 2012-03-16 14:53:24 +01:00
Aleksander Morgado
0d4b644572 iface-modem-3gpp: let initialization and enabling sequences get cancelled 2012-03-16 14:53:24 +01:00
Aleksander Morgado
e140ff3c5f iface-modem: let initialization and enabling sequences get cancelled 2012-03-16 14:53:24 +01:00
Aleksander Morgado
d27e40ae9a core: new `Initializing' state in the global modem state machine
We need to define a state to be used while the modem is being initialized, so
that we forbid any operation on the modem on already exported interfaces, while
there are interfaces pending to get exported.

This Initializing state will also cover the state between having the SIM
unlocked (which launches re-initialization) and being completely initialized.
2012-03-16 14:53:24 +01:00