Commit Graph

2351 Commits

Author SHA1 Message Date
Aleksander Morgado
c2e750d5bf sim: avoid passing source of the async object in finish 2012-03-15 14:14:58 +01:00
Aleksander Morgado
64de09f052 broadband-modem: if failed to initialize an optional interface, shut it down 2012-03-15 14:14:58 +01:00
Aleksander Morgado
ffa374c793 cli: fail if requesting location actions and modem doesn't handle locations 2012-03-15 14:14:58 +01:00
Aleksander Morgado
c075363c2c cli: fail if requesting CDMA actions and modem is not CDMA 2012-03-15 14:14:58 +01:00
Aleksander Morgado
0527667500 cli: include 3GPP-USSD specific actions 2012-03-15 14:14:58 +01:00
Aleksander Morgado
31ce3e5ae1 cli: fail if requesting 3GPP actions and modem is not 3GPP 2012-03-15 14:14:58 +01:00
Aleksander Morgado
a1b199d903 libmm-glib: handle the 3GPP/USSD interface 2012-03-15 14:14:57 +01:00
Aleksander Morgado
e808e04910 broadband-modem: implement USSD cancellation 2012-03-15 14:14:57 +01:00
Aleksander Morgado
8acf9e4fbc broadband-modem: implement USSD command sending 2012-03-15 14:14:57 +01:00
Aleksander Morgado
2bf40184e0 iface-modem-3gpp-ussd: allow error reporting in encode/decode 2012-03-15 14:14:57 +01:00
Aleksander Morgado
7210e6caf1 iface-modem-3gpp-ussd: handle USSD session initiate/respond/cancel 2012-03-15 14:14:57 +01:00
Aleksander Morgado
f3ee74c1e8 broadband-modem: implement default handling of USSD URCs 2012-03-15 14:14:57 +01:00
Aleksander Morgado
e975543316 broadband-modem: implement default USSD encode/decode 2012-03-15 14:14:57 +01:00
Aleksander Morgado
3ea437d522 iface-modem-3gpp-ussd: allow subclassing encode/decode 2012-03-15 14:14:57 +01:00
Aleksander Morgado
5d330154a5 iface-modem-3gpp-ussd: allow setting properties from implementations 2012-03-15 14:14:57 +01:00
Aleksander Morgado
f0bbe7aa11 api,dbus: USSD session state is given as a `MMModem3gppUssdSessionState' 2012-03-15 14:14:57 +01:00
Aleksander Morgado
4718ba0055 broadband-modem: implement generic URC setup/cleanup 2012-03-15 14:14:57 +01:00
Aleksander Morgado
fdbb07ca42 iface-modem-3gpp-ussd: implement logic to setup/cleanup URC message handlers 2012-03-15 14:14:57 +01:00
Aleksander Morgado
259ce3439b iface-modem-3gpp-ussd: set initial property defaults 2012-03-15 14:14:57 +01:00
Aleksander Morgado
3e866b2330 api,header: new `MM_MODEM_3GPP_USSD_SESSION_STATE_UNKNOWN'
To be set when USSD is not enabled.
2012-03-15 14:14:57 +01:00
Aleksander Morgado
81d130b2bb base-modem: initially set the unsolicited CUSD handler with NULL callback 2012-03-15 14:14:57 +01:00
Aleksander Morgado
f37a1a2b62 modem-helpers: new method to get common CUSD regex 2012-03-15 14:14:56 +01:00
Aleksander Morgado
c9c2a9aa4d broadband-modem: default URC enabling/disabling implementation 2012-03-15 14:14:56 +01:00
Aleksander Morgado
b28af06d1c iface-modem-3gpp-ussd: implement logic to enable/disable URCs 2012-03-15 14:14:56 +01:00
Aleksander Morgado
1f01274a5f broadband-modem: implement generic USSD support check 2012-03-15 14:14:56 +01:00
Aleksander Morgado
e491dc2b9c iface-modem-3gpp-ussd: check if USSD supported 2012-03-15 14:14:56 +01:00
Aleksander Morgado
a54226a0dd broadband-modem: implement the 3GPP/USSD interface 2012-03-15 14:14:56 +01:00
Aleksander Morgado
b65f96aec7 iface-modem-3gpp-ussd: new interface for USSD related actions 2012-03-15 14:14:56 +01:00
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