Commit Graph

165 Commits

Author SHA1 Message Date
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