diff options
author | Aleksander Morgado <aleksander@lanedo.com> | 2011-11-25 14:36:26 +0100 |
---|---|---|
committer | Aleksander Morgado <aleksander@lanedo.com> | 2012-03-15 14:14:26 +0100 |
commit | 7b59a8091295db52f9eda914b854a96401a8215f (patch) | |
tree | 70eb5c32612e929a907cfb79cf1f22cb7f67bbfb /src/mm-iface-modem.h | |
parent | ec1d94044f493b7e88c41bf45dd497796b71928e (diff) |
iface-modem: load CurrentCapabilities first
With AT+GCAP we load the currently available capabilities, and we store them
in a new "iface-modem-capabilities" property in the MMIfaceModem interface. This
property is bound to the "current-capabilities" property in the MmGdbusModem
skeleton object, so no need to update both when it changes.
ModemCapabilities depend directly on whether the modem can load firmware without
reflashing the device. Currently, just set it equal to CurrentCapabilities.
Diffstat (limited to 'src/mm-iface-modem.h')
-rw-r--r-- | src/mm-iface-modem.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/mm-iface-modem.h b/src/mm-iface-modem.h index de1baf78..2008119b 100644 --- a/src/mm-iface-modem.h +++ b/src/mm-iface-modem.h @@ -24,9 +24,10 @@ #define MM_IS_IFACE_MODEM(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), MM_TYPE_IFACE_MODEM)) #define MM_IFACE_MODEM_GET_INTERFACE(obj) (G_TYPE_INSTANCE_GET_INTERFACE ((obj), MM_TYPE_IFACE_MODEM, MMIfaceModem)) -#define MM_IFACE_MODEM_DBUS_SKELETON "iface-modem-dbus-skeleton" -#define MM_IFACE_MODEM_STATE "iface-modem-state" -#define MM_IFACE_MODEM_SIM "iface-modem-sim" +#define MM_IFACE_MODEM_DBUS_SKELETON "iface-modem-dbus-skeleton" +#define MM_IFACE_MODEM_CURRENT_CAPABILITIES "iface-modem-current-capabilities" +#define MM_IFACE_MODEM_STATE "iface-modem-state" +#define MM_IFACE_MODEM_SIM "iface-modem-sim" typedef struct _MMIfaceModem MMIfaceModem; |