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
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
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
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
f1999ef4a3
api,header: cleanup public header file
2012-03-16 14:53:17 +01:00
Aleksander Morgado
e68db23a97
introspection: setup all new files and remove old ones
2012-03-16 14:53:17 +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
0793522d28
errors: new TOO_MANY and NOT_FOUND core errors
2012-03-15 14:14:33 +01:00
Aleksander Morgado
7b12da9169
errors: new MM_CORE_ERROR_CONNECTED error
...
To be returned when we try to send an AT command to a modem, but there is no
usable AT port available, as the primary port is connected (hence the name)
and there is no secondary port.
2012-03-15 14:14:31 +01:00
Aleksander Morgado
6b69605633
build: chain up new 0.6 API and link against libmm-common
...
Also removed the MMSerialError implementation from `src/mm-errors.[h|c]', as it
is now included in the new `include/ModemManager-errors.h' header file. All the
other enums and errors without clashing names will be ported afterwards to the
new base code.
2012-03-15 14:14:19 +01:00
Aleksander Morgado
49bbaf8e31
build: disable autogeneration of the 0.5 API header file
...
But keep it around as a static file, while we do the migration to the new
interface.
2012-03-15 14:14:19 +01:00
Aleksander Morgado
b5a1c38cc4
api: new `include/ModemManager1.h' as main header of the new API
...
Filename is temporary as we keep the old `include/ModemManager.h' around during
the transition to the new codebase.
2012-03-15 14:14:18 +01:00
Aleksander Morgado
ff5ea7b76a
build: setup autogeneration of names header for the new API
...
The `include/ModemManager-names.h' autogenerated header includes the list of
Interface, Method, Signal and Property names defined in the DBus API.
2012-03-15 14:14:18 +01:00
Aleksander Morgado
365b906a3e
build: setup header generator in its own include/Makefile
...
Also move helper files to the new `build-aux' directory.
2012-03-15 14:14:18 +01:00
Aleksander Morgado
4643dca4a2
api,errors: implement all errors from the new API
...
Errors that will/may be reported via DBus are defined in the public interface
header.
2012-03-15 14:14:18 +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