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
a34f51b0a5
cli: new `--set-allowed-bands'
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
148025c381
cli: new --set-allowed-modes' and
--set-preferred-modes' actions
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
9a4940c4b2
libmm-common: handle strings coming in capitals when building bands or modes
2012-03-15 14:14:41 +01:00
Aleksander Morgado
ebbfe9cb61
libmm-common: print modes string with capitals for the acronyms
2012-03-15 14:14:40 +01:00
Aleksander Morgado
15079bcb2d
api,header: fix flags to ensure they all start with 1
2012-03-15 14:14:40 +01:00
Aleksander Morgado
cc55734a01
api,header: don't use '1G' for modem modes, use 'CS' instead.
...
1G is not the proper way to define GSM, which is already 2G. Use CS instead,
which will include all circuit-switched broadband modem technologies.
2012-03-15 14:14:40 +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
eb1c7afc8c
cli: implement `--simple-status'
2012-03-15 14:14:39 +01:00
Aleksander Morgado
fa5064ece3
libmm-glib: implement handling of GetStatus() calls in the Simple interface
2012-03-15 14:14:39 +01:00
Aleksander Morgado
f58a23c9c2
libmm-glib: new interface to handle simple status properties
2012-03-15 14:14:39 +01:00
Aleksander Morgado
1745d8c9eb
libmm-common: let the simple properties object be built from a dictionary
2012-03-15 14:14:39 +01:00
Aleksander Morgado
0edf403734
build: fix libmm-glib library headers
...
Remove headers from libmm-common, and include all public headers.
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
ba1a448717
api,dbus: improve GetStatus() documentation in the Simple interface
...
* We will also return 'registration-state' in 3GPP networks
* Specified that 'operator-code' and 'operator-name' are only set if
registered in a 3GPP network.
2012-03-15 14:14:39 +01:00
Aleksander Morgado
111cd56a2b
libmm-common: new helper object to handle simple properties from all interfaces
2012-03-15 14:14:39 +01:00
Aleksander Morgado
b0272444cb
libmm-common: new helpers to work with bands arrays
2012-03-15 14:14:39 +01:00
Aleksander Morgado
0cdb293452
cli: new `simple-disconnect' command
...
This command doesn't expect any argument, it will disconnect all available
bearers. You can disconnect specific bearers using `--bearer' and
`--disconnect'.
2012-03-15 14:14:38 +01:00
Aleksander Morgado
dd4b073e08
libmm-glib: handle simple Disconnect()
2012-03-15 14:14:38 +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
e08ce775c5
libmm-common: let the connection properties use bearer properties internally
...
Removes lots of duplicated code.
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
6cdc6a4f73
cli: use the new properties handler object in bearer
2012-03-15 14:14:38 +01:00
Aleksander Morgado
fe7f71b677
libmm-common,libmm-glib: new object to handle bearer creation properties
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