Commit Graph
24 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 e00705c203 libmm-common,helpers: additional checks in the string to number converters
We won't allow NULL, empty, or strings with non-digits.
2012-03-29 09:18:04 +02:00
Aleksander Morgado bf42082466 libmm-common: new helpers to parse doubles from strings or match infos 2012-03-29 09:18:03 +02:00
Aleksander Morgado 46d16d5c99 libmm-common: new common uint/int/str parsers 2012-03-18 17:28:14 +01:00
Aleksander Morgado 6f1a4514da libmm-common: new bands array comparator 2012-03-16 14:28:13 +01:00
Aleksander Morgado c176117941 libmm-common: no need to check for end of string when looking for spaces 2012-03-15 14:15:06 +01:00
Aleksander Morgado 2234205570 libmm-common: allow empty strings passed to the key value parser 2012-03-15 14:15:06 +01:00
Aleksander Morgado 7df5874a88 libmm-common: new helper key/value parser 2012-03-15 14:15:04 +01:00
Aleksander Morgado 23508ddd7f libmm-common: new helpers to work with SMS storage strings 2012-03-15 14:15:03 +01:00
Aleksander Morgado a3532e7730 libmm-common: flags string builders are now all autogenerated 2012-03-15 14:14:52 +01:00
Aleksander Morgado 1c447ba85b libmm-common: expect 'rm-protocol' in the common bearer properties 2012-03-15 14:14:47 +01:00
Aleksander Morgado 9a4940c4b2 libmm-common: handle strings coming in capitals when building bands or modes 2012-03-15 14:14:41 +01:00
Aleksander Morgado ebbfe9cb61 libmm-common: print modes string with capitals for the acronyms 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 b0272444cb libmm-common: new helpers to work with bands arrays 2012-03-15 14:14:39 +01:00
Aleksander Morgado dcecb94631 libmm-common,libmm-glib: new object to handle properties in simple Connect()
Instead of using type unsafe properties passed to the connect() call, we build
a new object which does the handling of the properties to be passed.
2012-03-15 14:14:37 +01:00
Aleksander Morgado 0343812502 libmm-common: new modes string parser 2012-03-15 14:14:37 +01:00
Aleksander Morgado 6cfccb1452 libmm-common,libmm-glib: new modes string builder 2012-03-15 14:14:37 +01:00
Aleksander Morgado aa3d98d0ff libmm-common: new bands string parser 2012-03-15 14:14:37 +01:00
Aleksander Morgado d81d1d9d6a libmm-common: handle exact mask matches when building capabilities string 2012-03-15 14:14:37 +01:00
Aleksander Morgado 5e0df90272 libmm-common, libmm-glib: new bands string builder 2012-03-15 14:14:37 +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 4495ba180e core: implement Access Technology reporting
For 3GPP modems only for now..
2012-03-15 14:14:35 +01:00
Aleksander Morgado 4d594c50e8 libmm-common: capabilities string builder moved from core
Keep in libmm-common the capabilities string builder.
2012-03-15 14:14:33 +01:00