Aleksander Morgado
2bb43e0020
modem-helpers: new CMGF format query result parser
2012-03-15 14:14:58 +01:00
Aleksander Morgado
4c6765857b
broadband-modem: implement default messaging support check
...
We'll just:
* Report unsupported on CDMA-only modems.
* Check if AT+CNMI=? replies correctly, and if so, assume SMS-based messaging
is supported.
2012-03-15 14:14:58 +01:00
Aleksander Morgado
c9c46b6f51
iface-modem-messaging: check if modem has messaging capabilities
...
The interface won't be exported if the given check fails.
2012-03-15 14:14:58 +01:00
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
ad37101c0d
api,dbus: don't allow for an SMS object to delete itself
...
Managing existence of the SMS objects better done only via the Messaging
interface.
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
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