Commit Graph

2375 Commits

Author SHA1 Message Date
Aleksander Morgado
52f1c87b06 broadband-modem: implement the Messaging interface 2012-03-15 14:14:58 +01:00
Aleksander Morgado
bc0454badf iface-modem-messaging: new interface to handle the Messaging DBus interface 2012-03-15 14:14:58 +01:00
Aleksander Morgado
37bc2103c9 broadband-bearer: fix default implementations of connect_3gpp() and connect_cdma()
These implementations must not update neither port nor connection_type, as
these items are specific of the MMBroadbandBearer object, and hence not
available by subclasses.
2012-03-15 14:14:58 +01:00
Aleksander Morgado
c9e7e80c3b iface-modem-3gpp: update access tech and location even if registration didn't change 2012-03-15 14:14:58 +01:00
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
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
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
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
8321bd5875 iface-modem: periodically request to update current 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
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
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
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
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