Commit Graph

25 Commits

Author SHA1 Message Date
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
9f5dd85d96 doc: include missing description of the new LTE bands 2012-07-21 16:21:21 +02:00
Aleksander Morgado
2506e3093e api,header: add LTE specific bands in `MMModemBand' 2012-07-18 14:51:11 +02:00
Aleksander Morgado
d25f767559 api,header: fix description of `MMModemBand'
It was a bitmask once...
2012-07-18 14:51:11 +02:00
Aleksander Morgado
7518772d4b core: fatal errors in iface initializations force the modem into a FAILED state
Modems which end up being found unusable (e.g. no SIM, fatal SIM error, no
capabilities) will be exposed in DBus, but just with the Modem interface and
in a FAILED state which allows no actions.
2012-03-30 13:47:00 +02:00
Aleksander Morgado
d27e40ae9a core: new `Initializing' state in the global modem state machine
We need to define a state to be used while the modem is being initialized, so
that we forbid any operation on the modem on already exported interfaces, while
there are interfaces pending to get exported.

This Initializing state will also cover the state between having the SIM
unlocked (which launches re-initialization) and being completely initialized.
2012-03-16 14:53:24 +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
c8f525ee47 api,header: added new Iridium capability 2012-03-15 14:15:07 +01:00
Aleksander Morgado
1e5756c33b api,header: new `MMSmsStorage' enumeration 2012-03-15 14:15:03 +01:00
Aleksander Morgado
69b8742ca3 api,header: renamed MMModemSmsState' to MMSmsState' 2012-03-15 14:15:01 +01:00
Aleksander Morgado
3e866b2330 api,header: new `MM_MODEM_3GPP_USSD_SESSION_STATE_UNKNOWN'
To be set when USSD is not enabled.
2012-03-15 14:14:57 +01:00
Aleksander Morgado
59e903820d api,header: new MM_ACCESS_TECHNOLOGY_ANY
Helps as a mask covering all the available access technologies.
2012-03-15 14:14:56 +01:00
Aleksander Morgado
f94d8ce30a api: include '3gpp' prefix for LAC/CI location, instead of 'gsm' 2012-03-15 14:14:52 +01:00
Aleksander Morgado
4bf03a24a1 api,header: treat CDMA activation errors as any other error 2012-03-15 14:14:51 +01:00
Aleksander Morgado
aaf9234747 api,header: new enum to specify Rm protocol 2012-03-15 14:14:47 +01:00
Aleksander Morgado
3789c10819 api,header: add explanation for the MMModemCdmaActivationErrors 2012-03-15 14:14:44 +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
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
516b097331 api,enums: renamed MMModemAccessTech' to MMModemAccessTechnology'
This one was the last enum without full name.
2012-03-15 14:14:35 +01:00
Aleksander Morgado
ff60251733 api,enums: let MMModemAccessTech be flags instead of enum
We should be able to report more than one access technology used at a given
time.
2012-03-15 14:14:35 +01:00
Aleksander Morgado
ff86bc9f4a api,enums: new enum for the USSD session state 2012-03-15 14:14:18 +01:00
Aleksander Morgado
55eb1f0c50 api,enums: new enum for the 3GPP network availability 2012-03-15 14:14:18 +01:00
Aleksander Morgado
4cdbaa5de3 api,enums: implement all enums and flags from the new API 2012-03-15 14:14:17 +01:00