Commit Graph

1923 Commits

Author SHA1 Message Date
Aleksander Morgado
18531e5a2d cinterion: implement supported bands loading logic 2012-03-15 14:14:56 +01:00
Aleksander Morgado
45ca92ee2e cinterion: implement allowed modes setting logic 2012-03-15 14:14:56 +01:00
Aleksander Morgado
a6301ee0c4 cinterion: implement access technology loading logic 2012-03-15 14:14:56 +01:00
Aleksander Morgado
8321bd5875 iface-modem: periodically request to update current access technologies 2012-03-15 14:14:56 +01:00
Aleksander Morgado
59e903820d api,header: new MM_ACCESS_TECHNOLOGY_ANY
Helps as a mask covering all the available access technologies.
2012-03-15 14:14:56 +01:00
Aleksander Morgado
65455558be iface-modem: s/access_tech/access_technologies 2012-03-15 14:14:56 +01:00
Aleksander Morgado
6d5c98b30c cinterion: implement custom unsolicited events enabling command 2012-03-15 14:14:56 +01:00
Aleksander Morgado
5667339ead broadband-modem: implement the default setup/enable unsolicited events logic 2012-03-15 14:14:55 +01:00
Aleksander Morgado
3acdf7b9b8 iface-modem-3gpp: split unsolicited events setup and enabling
Configuring unsolicited events involves:

 * Setup unsolicited events. This handles the setup of the unsolicited message
   handlers in the AT ports, including the setup of the callback to get called
   when the unsolicited messages are received.

 * Enable unsolicited events. This tells the modem to actually send the
   unsolicited messages.

 * Disable unsolicited events. This tells the modem to stop sending unsolicited
   messages.

 * Cleanup unsolicited events. This removes the unsolicited message handlers
   in the AT ports.
2012-03-15 14:14:55 +01:00
Aleksander Morgado
050c30db1c iface-modem-simple: don't create a bearer if we can reuse an existing one 2012-03-15 14:14:55 +01:00
Aleksander Morgado
77999f3bce bearer-list: new method to look for a bearer using its properties 2012-03-15 14:14:55 +01:00
Aleksander Morgado
718093dc59 broadband-bearer: implement comparison with bearer properties 2012-03-15 14:14:55 +01:00
Aleksander Morgado
1603fd1109 bearer: allow comparing current bearer with a set of properties 2012-03-15 14:14:55 +01:00
Aleksander Morgado
cf46336494 cli: allow specifying bearers and SIMs by index
So, these two are equivalent:
   $> mmcli -b 0
   $> mmcli -b /org/freedesktop/ModemManager1/Bearer/0

and also this two:
   $> mmcli -s 0
   $> mmcli -s /org/freedesktop/ModemManager1/SIM/0
2012-03-15 14:14:55 +01:00
Aleksander Morgado
885042e365 api,header: define common object prefixes in the daemon header 2012-03-15 14:14:55 +01:00
Aleksander Morgado
93a776b17c sim: allow subclassing pin change/enabling 2012-03-15 14:14:55 +01:00
Aleksander Morgado
c65c5aedc3 sim: allow subclassing pin/puk sending operations 2012-03-15 14:14:55 +01:00
Aleksander Morgado
72afc058bf sim: allow subclassing the SIM object
Plugins can subclass the MMSim object and provide custom implementations of the
actions performed by the object.
2012-03-15 14:14:55 +01:00
Aleksander Morgado
24c28c2692 sim: export only valid objects 2012-03-15 14:14:55 +01:00
Nathan Williams
418e0ac559 libmm-common: CDMA sid/nid are uint, not enum 2012-03-15 14:14:55 +01:00
Aleksander Morgado
4aeadbb776 iface-modem: proper fallback state when bearer connection fails 2012-03-15 14:14:55 +01:00
Aleksander Morgado
a2203d7d14 broadband-bearer: expose properties used by the bearer implementation 2012-03-15 14:14:54 +01:00
Aleksander Morgado
9feb177e21 bearer: expose IP config dictionaries with unknown method 2012-03-15 14:14:54 +01:00
Aleksander Morgado
507b48dcd9 cli: IP config getters return newly created objects 2012-03-15 14:14:54 +01:00
Aleksander Morgado
2a5e9b46b6 libmm-glib: use the common IP config object from libmm-common 2012-03-15 14:14:54 +01:00
Aleksander Morgado
f797beefac libmm-common: build dictionary even if IP config object not given 2012-03-15 14:14:54 +01:00
Aleksander Morgado
af1f8ed6b3 broadband-modem: disconnect all bearers when disabling 2012-03-15 14:14:54 +01:00
Aleksander Morgado
a33b05cc10 broadband-bearer: reimplement CDMA and 3GPP disconnection logic 2012-03-15 14:14:54 +01:00
Aleksander Morgado
9ab4ad28ff bearer-list: new async method to disconnect all bearers 2012-03-15 14:14:54 +01:00
Aleksander Morgado
43ac87170c bearer: don't handle reasons to forbid connection in the generic Bearer object 2012-03-15 14:14:54 +01:00
Aleksander Morgado
6ae1785b64 broadband-bearer: don't connect if roaming forbidden or unregistered 2012-03-15 14:14:54 +01:00
Aleksander Morgado
015756e572 broadband-bearer: reimplement CDMA and 3GPP connection logic 2012-03-15 14:14:54 +01:00
Aleksander Morgado
1d450d7c4e broadband-modem: by default, just create a single broadband bearer 2012-03-15 14:14:54 +01:00
Aleksander Morgado
c6b9aead81 bearer: subclasses need to report IPv4/v6 config when connection ready 2012-03-15 14:14:54 +01:00
Aleksander Morgado
aa36af424d bearer: number in Connect() no longer needed 2012-03-15 14:14:54 +01:00
Aleksander Morgado
a400db4b5c bearer: remove allow-roaming, only meaningful in the broadband bearer 2012-03-15 14:14:53 +01:00
Aleksander Morgado
22846fc46f cli: remove `--connect-with-number' option, no longer needed 2012-03-15 14:14:53 +01:00
Aleksander Morgado
98d7edadb5 libmm-glib: number no longer needed in Connect() 2012-03-15 14:14:53 +01:00
Aleksander Morgado
009582b6fd api,dbus: remove optional 'number' in bearer Connect() call
We can already give the number as a parameter in the dictionary when creating
the Bearer object.
2012-03-15 14:14:53 +01:00
Aleksander Morgado
ff7406005d libmm-common: new helper object to handle Bearer IP config 2012-03-15 14:14:53 +01:00
Aleksander Morgado
fa17f90082 bearer-3gpp, bearer-cdma: removed, they were mixed in broadband-bearer 2012-03-15 14:14:53 +01:00
Aleksander Morgado
2b1aabe4fd iface-modem-3gpp: 3GPP bearer creation removed 2012-03-15 14:14:53 +01:00
Aleksander Morgado
63f209d6da iface-modem-cdma: CDMA bearer creation removed 2012-03-15 14:14:53 +01:00
Aleksander Morgado
24dd208b59 iface-modem-simple: remove dual 3GPP/CDMA bearers logic
Just rely on a single Bearer object created.
2012-03-15 14:14:53 +01:00
Aleksander Morgado
a3b5c9faef broadband-bearer: new generic 3GPP+CDMA bearer 2012-03-15 14:14:53 +01:00
Aleksander Morgado
6c2dc9eef1 bearer: set unique path when the bearer gets exported 2012-03-15 14:14:53 +01:00
Aleksander Morgado
2ca4d36e5e libmm-common: 3gpp location doesn't use any of our enum/flags 2012-03-15 14:14:53 +01:00
Aleksander Morgado
d5b74be899 build: fix errors template
Equivalent to the fix in d15b1f201 applied to the enums template.

Spotted by Nathan Williams.
2012-03-15 14:14:53 +01:00
Aleksander Morgado
332d1a0891 build: add missing build dependency in libmm-common
Spotted by Nathan Williams.
2012-03-15 14:14:53 +01:00
Aleksander Morgado
8d25f46292 build: we no longer need to have the DBus.Properties introspection XML
Not needed in gdbus-based code.
2012-03-15 14:14:53 +01:00