Commit Graph

59 Commits

Author SHA1 Message Date
Aleksander Morgado
f9105bff87 api,introspection: update 'Validity' property in the SMS interface
We don't want to support only 'relative' validity, so don't assume that the
Validity property will always be a uint32 value.

Instead, we define the Validity propery as '(uv)' tuple, where the first value
(a MMSmsValidityType) specifies the type of validity, and the second value is
a variant formatted accordingly to what the validity type specifies (e.g. a
uint32 value if the type is MM_SMS_VALIDITY_TYPE_RELATIVE).
2013-04-05 17:48:51 +02:00
Aleksander Morgado
3e33f1bc4d api,introspection: new `ActivationState' property in the CDMA interface 2013-03-22 08:11:00 +01:00
Aleksander Morgado
75d20c15d4 api: notify in the interface about the reason why the modem is FAILED
We currently implement 'SIM missing' and 'SIM error', which are probably the
most common ones.
2013-02-22 16:35:56 +01:00
Aleksander Morgado
091c47d695 libmm-glib,modem: new methods to handle the power state 2013-01-11 10:05:46 +01:00
Aleksander Morgado
49aecb57dc api,modem: new 'SetPowerState()' method and 'PowerState' property
Going into/outof low-power state is now a user-requested action.
2013-01-11 10:05:45 +01:00
Aleksander Morgado
d9241d08db libmm-glib: implement handling the CDMA BS location source 2012-11-02 08:23:11 +01:00
Aleksander Morgado
72068598e5 libmm-glib: new header file for common stuff in location reporting 2012-11-02 08:23:10 +01:00
Aleksander Morgado
79fdddccbf api,modem: new 'PrimaryPort' property
We do need to specify which is the primary port being used for controlling the
modem. This allows us to match the device with an already existing bluetooth
device in NetworkManager.
2012-10-19 00:58:36 +02:00
Aleksander Morgado
ebd792d2aa api,libmm-glib: new `allowed-auth' configuration for bearers
For bearers using STATIC or DHCP IP method, the modem itself is the one
negotiating authentication with the network. The new `allowed-auth' property
allows users to specify which authentication method(s) are allowed to be used.

See the following NetworkManager commit for more reference:
    commit 34aef8aaaa09b7473b9496aa49e550bd2def03f8
    Author: Andrew Bird <ajb@spheresystems.co.uk>
    Date:   Thu Mar 15 16:19:43 2012 -0500
2012-10-07 21:12:00 +02:00
Aleksander Morgado
1ccf89dbb8 api,libmm-glib,cli: handle firmware images of type `MM_FIRMWARE_IMAGE_TYPE_GOBI' 2012-10-04 19:08:03 +02:00
Aleksander Morgado
0d00ee28be api,libmm-glib: use a 'unique-id' as ID of the firmware image, not a 'name'
Also, make only the 'unique-id' mandatory.
2012-10-04 18:52:39 +02:00
Aleksander Morgado
82f253b8ca docs: include the logos in the generated documentation 2012-10-04 12:10:22 +02:00
Aleksander Morgado
8bdf70e1c2 docs: include documentation for enum/flags helpers 2012-10-04 10:17:13 +02:00
Aleksander Morgado
3228ca10be docs: don't rebuild types every time 2012-10-04 10:17:13 +02:00
Aleksander Morgado
2d5000abae docs: fix `libmm-glib-sections.txt' for the gdbus-codegen generated stuff 2012-10-04 10:17:13 +02:00
Aleksander Morgado
239c56cf7f libmm-glib: don't install the common helpers header
And make it only available for internal ModemManager compilation.
2012-10-04 10:17:13 +02:00
Aleksander Morgado
b52bbf7b0b libmm-glib,sms-properties: improve documentation 2012-10-04 10:17:12 +02:00
Aleksander Morgado
054915299a libmm-glib,bearer-ip-config: improve documentation 2012-10-04 10:17:12 +02:00
Aleksander Morgado
52f457bb88 libmm-glib,bearer-properties: improve documentation 2012-10-04 10:17:12 +02:00
Aleksander Morgado
54c2ee77b0 libmm-glib,firmware-properties: improve documentation 2012-10-04 10:17:12 +02:00
Aleksander Morgado
dc4656cead libmm-glib,network-timezone: improve documentation 2012-10-04 10:17:12 +02:00
Aleksander Morgado
487090607d libmm-glib,location-gps-raw: improve documentation 2012-10-04 10:17:12 +02:00
Aleksander Morgado
030daafc45 libmm-glib,location-gps-nmea: improve documentation 2012-10-04 10:17:12 +02:00
Aleksander Morgado
7edc3508c7 libmm-glib,location-3gpp: improve documentation 2012-10-04 10:17:12 +02:00
Aleksander Morgado
f99ac11cbb libmm-glib,simple-status: improve documentation 2012-10-04 10:17:12 +02:00
Aleksander Morgado
8185f24e64 libmm-glib,simple-connect-properties: improve documentation 2012-10-04 10:17:12 +02:00
Aleksander Morgado
4f5dd8afaa libmm-glib,unlock-retries: improve documentation 2012-10-04 10:17:12 +02:00
Aleksander Morgado
c250fa3797 libmm-glib: remove the `libmm-common.h' header
Both the ModemManager daemon and the mmcli will now include `libmm-glib.h' only.

We also handle two new special `_LIBMM_INSIDE_MM' and `LIBMM_INSIDE_MMCLI'
symbols, which if included before the `libmm-glib.h' library allow us to:

 * Don't include the libmm-glib high level API in the ModemManager daemon, as
   the object names would clash with those in the core.

 * Define some of the methods of helper objects to be included only if compiling
   ModemManager daemon or the mmcli.
2012-10-04 10:17:12 +02:00
Aleksander Morgado
b6d628b3a1 build: merge libmm-common into libmm-glib
It's pointless to have libmm-common around, just merge it into libmm-glib and
make ModemManager depend on libmm-glib directly. At the end, the non-common
stuff in libmm-glib is really minimal.
2012-10-04 10:17:05 +02:00
Aleksander Morgado
624fdb6ab4 docs,libmm-glib: properly order the sections 2012-10-04 10:17:05 +02:00
Aleksander Morgado
715a775949 libmm-glib,firmware: new `MMModemFirmware' type to handle the Firmware interface 2012-10-04 10:17:05 +02:00
Aleksander Morgado
dda274437c api,introspection: firmware images require a new `image-type' property
Image types of `MM_FIRMWARE_IMAGE_TYPE_GENERIC' will expose only the mandatory
parameters. Other vendor-specific images may expose other properties.
2012-10-04 10:17:05 +02:00
Aleksander Morgado
ca14de0605 doc: setup gtk-doc generation for libmm-glib 2012-10-01 23:44:47 +02:00
Aleksander Morgado
1111bfa806 api: new `DeliveryState' property in the SMS interface
Given only for STATUS REPORT SMS messages.
2012-09-14 07:05:25 +02:00
Aleksander Morgado
7faa48ea94 api: new `PduType' property in the SMS interface
It will help deciding the type of message.
2012-09-14 07:05:24 +02:00
Aleksander Morgado
1ac18a06bb api,dbus: 'ip-type' property now given as a MMBearerIpFamily (u)
Instead of using a predefined set of string values for 'ip-type' in
Modem.CreateBearer() and Simple.Connect(), we'll use an enumeration. The
implementation will then need to convert the requested IP family type to e.g.
the correct PDP type in 3GPP modems.

This change also consolidates the use of enums in dictionary properties when
possible to do so, as with the Rm Protocol.
2012-08-22 09:38:21 +02:00
Aleksander Morgado
84d205c9be plugin: new filters for forbidden product IDs/strings
Plugins may specify that specific vendor & product IDs or strings are not
supported. This is useful when plugins need to specify that they support
all devices of a given vendor except for some specific ones.
2012-08-20 16:26:55 +02:00
Aleksander Morgado
edc9825788 plugin: let plugins request Icera support checks and Icera based filters 2012-08-06 20:07:27 +02:00
Aleksander Morgado
6e3d90e2a4 plugin: new `MM_PLUGIN_CUSTOM_INIT' property
We let plugins execute some custom initialization in the ports, specified by
a `MMAsyncMethod'.
2012-08-06 20:06:46 +02:00
Aleksander Morgado
f5fdf946c9 plugin: new `MM_PLUGIN_FORBIDDEN_DRIVERS' property
It allows plugins to specify whether they cannot support ports handled by
specific drivers.
2012-08-06 20:06:46 +02:00
Aleksander Morgado
9b0f6c83f2 plugin: renamed custom-init' property to custom-at-probe'
The `custom-at-probe' property is just to modify the way we check for AT port
support.
2012-08-06 20:06:46 +02:00
Aleksander Morgado
e5e46f489e core: merge MMPluginBase' and MMPlugin'
There's no real point in maintaining a separate `MMPlugin' interface, as all the
plugins will inherit from `MMPluginBase', so just merge them and simplify
everything.
2012-08-06 20:06:45 +02:00
Aleksander Morgado
a416f6eaea docs: document MM_PLUGIN_BASE_ALLOWED_SINGLE_AT 2012-03-30 13:53:24 +02:00
Aleksander Morgado
961290ddd7 build: autogenerate `mm-errors-quarks.c'
We define custom nicks for each error enum, matching the DBus error entry that
we want to have with each of them.
2012-03-16 14:53:23 +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
36fbfab3e6 docs: document Modem probing and global state machine 2012-03-16 14:53:18 +01:00
Aleksander Morgado
5f85cfc352 docs: fix path of images
PNGs are copied over to the HTML directory, so they will always be available in
the same directory as the final HTML files.
2012-03-16 14:53:17 +01:00
Aleksander Morgado
c4581af5d9 docs: set ModemManager' as module name instead of mm' 2012-03-16 14:53:17 +01:00
Aleksander Morgado
ca9104dcb4 build: generate PNG files automatically from DIA files 2012-03-16 14:53:17 +01:00