Commit Graph

2208 Commits

Author SHA1 Message Date
Aleksander Morgado
1df1fe4f4a mmcli: new Time-specific actions 2012-03-16 14:53:22 +01:00
Aleksander Morgado
a3e6faeaca libmm-glib: implement Time interface specific actions 2012-03-16 14:53:22 +01:00
Aleksander Morgado
b50c5d42e0 mmcli: print own numbers in modem info 2012-03-16 14:53:21 +01:00
Aleksander Morgado
59d8110767 libmm-glib: add support to retrieve own numbers 2012-03-16 14:53:21 +01:00
Aleksander Morgado
1f250585dd modem-helpers: refactor and reorganize sources 2012-03-16 14:53:21 +01:00
Aleksander Morgado
c824ee3106 broadband-modem: implement own numbers generic loading 2012-03-16 14:53:21 +01:00
Aleksander Morgado
51c28d0f79 modem-helpers: new +CNUM response parser and tests 2012-03-16 14:53:21 +01:00
Aleksander Morgado
4a52a19c41 tests,modem-helpers: cleanup tests
Properly order the tests in blocks, and ensure that the common data for
registration tests is not passed to other non-registration related tests.
2012-03-16 14:53:21 +01:00
Aleksander Morgado
4c38ab4864 test,modem-helpers: remove conditional compilation
We require already GLib 2.30
2012-03-16 14:53:21 +01:00
Aleksander Morgado
2dcff5590e iface-modem: setup loading of own numbers during the initialization phase 2012-03-16 14:53:21 +01:00
Aleksander Morgado
238e2a5341 api,dbus: new `OwnNumbers' property in the Modem interface 2012-03-16 14:53:21 +01:00
Aleksander Morgado
478b9c5f36 cinterion: no need to complete in idle in sleep_ready() 2012-03-16 14:53:21 +01:00
Aleksander Morgado
22113859c9 messaging: part index may be repeated in different storages 2012-03-16 14:53:21 +01:00
Aleksander Morgado
120e117c49 time: removed old interface sources 2012-03-16 14:53:21 +01:00
Aleksander Morgado
a339546c45 iface-modem-time: setup generic unsolicited message handling
Modems may get notified via unsolicited messages (either AT or QMI or some
other thing), that the network time was updated. This setup allows subclasses
implementing the Time interface to setup/cleanup and enable/disable the
unsolicited messages, as well as notify about the network time updates.
2012-03-16 14:53:21 +01:00
Aleksander Morgado
5b01df5baa iface-modem-time: handle `GetNetworkTime' 2012-03-16 14:53:21 +01:00
Aleksander Morgado
10669881a5 iface-modem-time: only retry if MM_CORE_ERROR_RETRY was returned
We don't want to retry if the error is fatal in some other kind, e.g. a reply
parsing error or something.
2012-03-16 14:53:20 +01:00
Aleksander Morgado
120ac6da39 api,errors: new `MM_CORE_ERROR_RETRY'
Lets operations specify that they cannot be run currently, but that the caller
may retry later. Of course, it depends on the caller to really honour the
retry-later suggestion.
2012-03-16 14:53:20 +01:00
Aleksander Morgado
6e75399629 iface-modem-time: load network timezone information
Following the same logic as in the original implementation, we try to load the
network timezone information only after being registered, and also with up to N
retries. The async operation in charge of the loading can be cancelled
gracefully, i.e. if the interface is disabled before we get ever registered.
2012-03-16 14:53:20 +01:00
Aleksander Morgado
df4e713124 broadband-modem: implement the Time interface 2012-03-16 14:53:20 +01:00
Aleksander Morgado
16cf2a49f6 iface-modem-time: new interface to handle the Time DBus interface 2012-03-16 14:53:20 +01:00
Aleksander Morgado
455fc68d8a libmm-common: new `MMNetworkTimezone' helper object 2012-03-16 14:53:20 +01:00
Aleksander Morgado
bd9d7011b9 api,dbus: rewrote Time interface to be used with gdbus-codegen 2012-03-16 14:53:20 +01:00
Aleksander Morgado
480fe4b808 docs: new section about plugin-specific modems 2012-03-16 14:53:20 +01:00
Aleksander Morgado
52ff02323d plugin-manager: avoid race when port deferred until suggested and suggestion already there
It may happen that we launch the supports task in the port AFTER having received
the suggestion.
2012-03-16 14:53:20 +01:00
Aleksander Morgado
f8f0969289 plugin-base: log also when starting to check support
So that we get logs when net ports are being checked for support, which won't be
probed.
2012-03-16 14:53:20 +01:00
Aleksander Morgado
9c5c072bab iface-modem: fix signal name 2012-03-16 14:53:20 +01:00
Aleksander Morgado
c590cde7e5 TODO: new possible probing improvement 2012-03-16 14:53:20 +01:00
Aleksander Morgado
47265a80ac TODO: pin retry counts and enabled facility locks now ported from master 2012-03-16 14:53:20 +01:00
Aleksander Morgado
41fe01b217 sim: update unlock retry counts after PIN change/enable operations 2012-03-16 14:53:20 +01:00
Aleksander Morgado
cd63df938f libmm-common: `MMSimpleStatus' won't be considered internal any more
Renamed `MMCommonSimpleProperties' to `MMSimpleStatus', and removed the
`MMSimpleStatusProperties' provided in libmm-glib. We'll just use the original
one from libmm-common always.
2012-03-16 14:53:20 +01:00
Aleksander Morgado
bb352d5da3 libmm-common: `MMLocation3gpp' won't be considered internal any more
Renamed `MMCommonLocation3gpp' to `MMLocation3gpp', and removed the
`MMModemLocation3gpp' provided in libmm-glib. We'll just use the original one
from libmm-common always.
2012-03-16 14:53:19 +01:00
Aleksander Morgado
1385eb394f libmm-common: `MMSimpleConnectProperties' won't be considered internal any more
Renamed `MMCommonConnectProperties' to `MMSimpleConnectProperties', and removed
the `MMModemSimpleConnectProperties' provided in libmm-glib. We'll just use the
original one from libmm-common always.
2012-03-16 14:53:19 +01:00
Aleksander Morgado
d306bb082f libmm-common: `MMBearerProperties' won't be considered internal any more
Renamed `MMCommonBearerProperties' to `MMBearerProperties', and removed the
`MMBearerProperties' provided in libmm-glib. We'll just use the original one
from libmm-common always.
2012-03-16 14:53:19 +01:00
Aleksander Morgado
323df60ed9 libmm-common: `MMBearerIpConfig' won't be considered internal any more
Renamed `MMCommonBearerIpConfig' to `MMBearerIpConfig', and removed the
`MMBearerIpConfig' provided in libmm-glib. We'll just use the original one
from libmm-common always.
2012-03-16 14:53:19 +01:00
Aleksander Morgado
ef9fb0bfac libmm-common: `MMSmsProperties' won't be considered internal any more
Renamed `MMCommonSmsProperties' to `MMSmsProperties', and removed the
`MMSmsProperties' provided in libmm-glib. We'll just use the original one
from libmm-common always.
2012-03-16 14:53:19 +01:00
Aleksander Morgado
3ccc78e858 api: `UnlockRetries' will reply a list of per-lock retry counts
Equivalent to `PinRetryCount' in the previous API. We don't have an additional
property for the retry count of the current lock, as it really is duplicating
information.
2012-03-16 14:53:19 +01:00
Aleksander Morgado
036711eb1c libmm-common: new `MMUnlockRetries' helper object 2012-03-16 14:53:19 +01:00
Aleksander Morgado
7ab252f079 cli: print list of enabled facility locks 2012-03-16 14:53:19 +01:00
Aleksander Morgado
2e1a322837 api,header: define facilities flags with bitwise operations instead of hex values
So that glib-mkenums detects that we're talking about flags.
2012-03-16 14:53:19 +01:00
Aleksander Morgado
9a442b01bc api,header: minor alignment fix 2012-03-16 14:53:19 +01:00
Aleksander Morgado
c66817622c broadband-modem: implement default facility locks status loading 2012-03-16 14:53:19 +01:00
Aleksander Morgado
491d8e03f9 iface-modem-3gpp: update facilities mask when SIM PIN lock enabling status changes 2012-03-16 14:53:19 +01:00
Aleksander Morgado
a797d6d683 sim: signal when the pin lock enabling status changes 2012-03-16 14:53:18 +01:00
Aleksander Morgado
eb87c2fe07 iface-modem-3gpp: load initial set of enabled facility locks 2012-03-16 14:53:18 +01:00
Aleksander Morgado
75a2b407bd modem-helpers: port facility lock related helpers to use `MMModemFacility' enums 2012-03-16 14:53:18 +01:00
Aleksander Morgado
1628f495fe libmm-common,tests: include tests when running make check/distcheck 2012-03-16 14:53:18 +01:00
Aleksander Morgado
8f200940ec tests: fix automake rule dependencies
We need to ensure all test programs are built.
2012-03-16 14:53:18 +01:00
Aleksander Morgado
10d9775c54 TODO: new file with a list of pending things and ideas 2012-03-16 14:53:18 +01:00
Aleksander Morgado
64f49c0c72 iface-modem: the Command() method is only allowed when running in debug mode 2012-03-16 14:53:18 +01:00