Aleksander Morgado
f4acff17da
broadband-modem: skip SIM creation in CDMA-only modems
2012-03-15 14:14:42 +01:00
Aleksander Morgado
bda0d0c1d4
iface-modem: allow implementations to return no SIM and no error
...
That would mean that the implementation doesn't want to handle a SIM object
around, maybe because it doesn't support it properly, or because there is
no SIM at all (e.g. CDMA-only modems).
2012-03-15 14:14:42 +01:00
Aleksander Morgado
34bf2e6dd1
broadband-modem: helper comments when setting interface implementation
2012-03-15 14:14:42 +01:00
Aleksander Morgado
89646f2b64
broadband-modem: check for 3GPP using capabilities, not availability of the interface
2012-03-15 14:14:42 +01:00
Aleksander Morgado
e107528f87
broadband-modem: skip unlock check in CDMA-only modems
2012-03-15 14:14:42 +01:00
Aleksander Morgado
021ff8a35b
iface-modem: open/close secondary AT/QCDM ports during enable/disable
2012-03-15 14:14:42 +01:00
Aleksander Morgado
be7cee24f3
iface-modem: place all tags/quarks handled together
2012-03-15 14:14:42 +01:00
Aleksander Morgado
d28171b1db
broadband-modem: don't try +CGSN in CDMA-only modems
2012-03-15 14:14:42 +01:00
Aleksander Morgado
0f7716887c
iface-modem: new methods to check for specific capabilities being supported
2012-03-15 14:14:42 +01:00
Aleksander Morgado
dd3d1c0337
broadband-modem: provide default implementation of MMSim creation
2012-03-15 14:14:42 +01:00
Aleksander Morgado
ba5321adf1
iface-modem: let different SIM object creation implementations
...
We let objects implementing the Modem interface to provide their own SIM
creation method. This allows plugins to subclass MMSim themselves.
2012-03-15 14:14:41 +01:00
Aleksander Morgado
7d2626ea44
sim: new SIM path getter
2012-03-15 14:14:41 +01:00
Aleksander Morgado
e4486fd5f0
base-modem: store the AT sequence context GDestroyNotify callback
2012-03-15 14:14:41 +01:00
Aleksander Morgado
5c1d18d156
port-probe: store the task always before completing it
...
If we already got all needed probing results, we complete the task without
launching any new probing, but still, we need to store it internally so
that it's properly disposed.
2012-03-15 14:14:41 +01:00
Aleksander Morgado
51dc93e3d5
manager: plug small leak
2012-03-15 14:14:41 +01:00
Aleksander Morgado
bf69930ede
iface-modem: ensure initial allowed modes is a subset of supported modes
...
Also make loading supported modes a mandatory method that must be provided by
objects implementing the Modem interface.
2012-03-15 14:14:41 +01:00
Aleksander Morgado
f0c5e5145e
iface-modem-simple: include setting bands during simple Connect()
2012-03-15 14:14:41 +01:00
Aleksander Morgado
6002ad1b70
iface-modem: run checks when trying to set allowed bands
...
Allowed bands must be a subset of the supported bands.
2012-03-15 14:14:41 +01:00
Aleksander Morgado
aae179463b
broadband-modem: implement default supported mode loading
...
Try to guess the supported modes, based on the current capabilities.
2012-03-15 14:14:41 +01:00
Aleksander Morgado
1be7c27453
iface-modem: run checks when trying to set allowed modes
...
Allowed modes being set must be a subset of Supported modes.
Preferred mode being set must be a subset of Allowed modes.
2012-03-15 14:14:41 +01:00
Aleksander Morgado
a71e27af96
iface-modem-3gpp: setup context struct for periodic registration checks
2012-03-15 14:14:40 +01:00
Aleksander Morgado
da9d070e8b
iface-modem: don't run signal quality check if last update was less than 15s ago
2012-03-15 14:14:40 +01:00
Aleksander Morgado
73eeffbd5e
iface-modem: handle struct signal quality check/update contexts as object data
2012-03-15 14:14:40 +01:00
Aleksander Morgado
d05a7a0a3e
broadband-modem: handle signal quality changes reported by unsolicited CIEV
2012-03-15 14:14:40 +01:00
Aleksander Morgado
b0d3f59397
base-modem: fully ignore CIEV messages on startup
2012-03-15 14:14:40 +01:00
Aleksander Morgado
d5e6776a52
modem-helpers: new common regex for CIEV unsolicited messages
2012-03-15 14:14:40 +01:00
Aleksander Morgado
d9338049c6
broadband-modem: implement indicators setup and unsolicited event handling
2012-03-15 14:14:40 +01:00
Aleksander Morgado
953be3e81d
iface-modem: new methods to setup/cleanup unsolicited result codes
2012-03-15 14:14:40 +01:00
Aleksander Morgado
b29acbb239
iface-modem: renamed modem_charset' to setup_charset'
...
And changed broadband modem accordingly.
2012-03-15 14:14:40 +01:00
Aleksander Morgado
7b506bc8a6
iface-modem: renamed modem_flow_control' to setup_flow_control'
...
Changed broadband modem and Cinterion plugin accordingly.
2012-03-15 14:14:40 +01:00
Aleksander Morgado
08b7620b7a
broadband-modem: implement on demand signal quality checks with AT+CIND?
2012-03-15 14:14:40 +01:00
Aleksander Morgado
e06d42c868
broadband-modem: implement on demand signal quality checks with AT+CSQ
...
Still need to implement CIND-based signal quality checks.
2012-03-15 14:14:39 +01:00
Aleksander Morgado
f0433a4dda
iface-modem: setup periodic signal quality checks
2012-03-15 14:14:39 +01:00
Aleksander Morgado
045d0c2df8
broadband-modem: run property bindings for simple status on each interface
...
Once an interface gets initialized, we run the property binding method in the
interface in order to get the simple properties bound.
2012-03-15 14:14:39 +01:00
Aleksander Morgado
2eb3dbb010
iface-modem-3gpp: implement property binding for the simple status
2012-03-15 14:14:39 +01:00
Aleksander Morgado
0c009a2c4a
iface-modem: implement property binding for the simple status
2012-03-15 14:14:39 +01:00
Aleksander Morgado
93880155f0
iface-modem-simple: implement GetStatus()
2012-03-15 14:14:39 +01:00
Aleksander Morgado
adcc33d0ea
iface-modem-simple: implement Disconnect()
2012-03-15 14:14:38 +01:00
Aleksander Morgado
e435deb2ba
iface-modem-simple: implement bearer creation and connection during Connect()
2012-03-15 14:14:38 +01:00
Aleksander Morgado
4ccc00fc6d
iface-modem: return a MMBearer reference when creating a new bearer
...
Not just the bearer path.
2012-03-15 14:14:38 +01:00
Aleksander Morgado
b232cc4f11
bearer: allow launching connection not only via DBus
2012-03-15 14:14:38 +01:00
Aleksander Morgado
b37c951cb1
bearer-list: new method to remove all existing bearers
2012-03-15 14:14:38 +01:00
Aleksander Morgado
93732cf075
bearers: base bearer creation in the new bearer properties object
2012-03-15 14:14:38 +01:00
Aleksander Morgado
10a4360d83
bearer: provide reason of why connection is forbidden
2012-03-15 14:14:38 +01:00
Aleksander Morgado
8ff310be28
iface-modem-simple: use the new connect properties object
2012-03-15 14:14:38 +01:00
Aleksander Morgado
9d7e3de4cd
api: MMModemBand is now an enum, not flags
...
We don't want to handle bands as flags, in order to avoid the need of 64-bits
for the enum. This change implies that setting allowed bands will be done by
giving an array of uint32 values, signature "au".
2012-03-15 14:14:37 +01:00
Aleksander Morgado
a142a209ec
broadband-modem: update registration state when disabling
2012-03-15 14:14:37 +01:00
Aleksander Morgado
5c74c53354
iface-modem: don't update access tech if it didn't change
2012-03-15 14:14:37 +01:00
Aleksander Morgado
54d718efe5
broadband-modem: try to simplify 3GPP network registration
...
When requesting to register in the network manually, we will poll every once
in a while to check whether we got registered or not. We remove the registration
timeout and we handle the case where it never gets registered by allowing a
maximum number of registration checks in our request.
2012-03-15 14:14:37 +01:00
Aleksander Morgado
ab9c7d9013
iface-modem-simple: implement Connect()
2012-03-15 14:14:37 +01:00