aboutsummaryrefslogtreecommitdiff
path: root/libmm-glib
AgeCommit message (Collapse)Author
2021-12-24libmm-glib: new helper to handle the 5GNR registration settingsAleksander Morgado
2021-12-13api, dbus, bearer: Add ReloadStatsSupported bearer dbus propertyFrederic Martinsons
This property means that the current bearer can reload stats and read TX and RX bytes transmitted. The property is initiliazed as soon as the bearer is connected. Signed-off-by: Frederic Martinsons <frederic.martinsons@sigfox.com>
2021-12-11libmm-glib,sim: new 'SimType', 'Removability' and 'EsimStatus' propertiesAleksander Morgado
2021-12-11libmm-glib,sim: reoder get_preferred_networks()Aleksander Morgado
Add it along with the other getters.
2021-11-22libmm-glib,modem: fix warning when loading SIM slotsAleksander Morgado
Fixes https://gitlab.freedesktop.org/mobile-broadband/ModemManager/-/issues/465
2021-11-16libmm-glib: fix license in sourcesAleksander Morgado
The libmm-glib library is LGPLv2+, not GPLv2+.
2021-11-03api,bearer: add 'uplink-speed' and 'downlink-speed' statsSom_SP
These values show the rates that have been negotiated with the network during the PS domain attach. These are not the current ongoing data rates associated to the network usage at some given moment. Includes updates by Aleksander Morgado to fix coding style issues and add missing documentation items.
2021-11-02api,3gpp: new 'SetPacketServiceState()' methodAleksander Morgado
2021-11-02api,3gpp: new 'PacketServiceState' propertyAleksander Morgado
This property allows the user to know whether the device is attached or detached from the packet domain service.
2021-10-22libmm-glib: add documentation for disable_facility_lockMichal Mazur
2021-10-22cli, plugins: factorize usage of iso8601 datetime formatFrederic Martinsons
Signed-off-by: Frederic Martinsons <frederic.martinsons@sigfox.com> Includes updates by Aleksander Morgado to fix coding style issues.
2021-10-22api,bearer: new 'start-date' field in bearer statisticsFrederic Martinsons
It stores the epoch timestamp of the current bearer session start. If there is no connected bearer, it is set to 0 and not displayed in mmcli output. Signed-off-by: Frederic Martinsons <frederic.martinsons@sigfox.com> Includes updates by Aleksander Morgado to fix coding style issues.
2021-10-20libmm-glib: new 'MMSignalThresholdProperties' helper objectAleksander Morgado
To avoid needing to work with GVariants directly.
2021-10-20libmm-glib,mmcli: add support for the new signal 'SetupThresholds()' APISom_SP
Includes updates by Aleksander Morgado to fix mostly coding style issues.
2021-10-20libmm-glib,mmcli: add support for 'error-rate' measurements in signal infoSom_SP
Includes updates by Aleksander Morgado to fix mostly coding style issues.
2021-10-17bearer-properties: Add profile-name to the bearer propertiesAndrew Lassalle
2021-10-173gpp-profile: Add profile nameAndrew Lassalle
QMI modems also report a profile name, and that value can be used to select and update a specific profile.
2021-10-14build,meson: Make use of partial_dependency for generated dependencyIñigo Martínez
The generated objects in `libmm-glib` are include in `libmm_glib_dep` one by one to avoid the link to the generated library that is included as a whole in `libmm-glib`. meson includes a way to include partial objects of a dependency by using the `partial_dependency` method, so by taking advantage of it almost all objects are included.
2021-10-13build,meson: add SAR interface support in libmm-glibAleksander Morgado
2021-10-13docs,libmm-glib: add SAR user-level apilvmaorui
2021-09-10Revert "api: remove Modem.Sar interface"Aleksander Morgado
This reverts commit 686e37ff84daca6096fe18781ad9ba6f29cd4063.
2021-09-07build,meson: add missing Call object support in introspectionAleksander Morgado
2021-09-07build,autotools: add missing Call object support in introspectionAleksander Morgado
2021-09-07libmm-glib,location-3gpp: remove unused variableAleksander Morgado
../libmm-glib/mm-location-3gpp.c: In function ‘mm_location_3gpp_new_from_string_variant’: ../libmm-glib/mm-location-3gpp.c:400:16: warning: unused variable ‘operator_code’ [-Wunused-variable] 400 | gchar *operator_code; | ^~~~~~~~~~~~~
2021-09-07libmm-glib,3gpp-profile: fix profile comparison logicAleksander Morgado
Conveniently warned by the compiler... ../libmm-glib/mm-3gpp-profile.c: In function ‘mm_3gpp_profile_cmp’: ../libmm-glib/mm-3gpp-profile.c:98:1: warning: control reaches end of non-void function [-Wreturn-type] 98 | } | ^
2021-09-07libmm-glib,simple-status: avoid shadowing 'properties' variableAleksander Morgado
../libmm-glib/mm-simple-status.c: In function ‘mm_simple_status_new_from_dictionary’: ../libmm-glib/mm-simple-status.c:426:21: warning: declaration of ‘properties’ shadows a global declaration [-Wshadow] 426 | MMSimpleStatus *properties; | ^~~~~~~~~~ ../libmm-glib/mm-simple-status.c:55:20: note: shadowed declaration is here 55 | static GParamSpec *properties[PROP_LAST]; | ^~~~~~~~~~
2021-09-07libmm-glib,manager: fix warning with -Wdiscarded-qualifiersAleksander Morgado
In file included from /usr/include/glib-2.0/glib.h:50, from ../libmm-glib/mm-common-helpers.h:18, from ../libmm-glib/mm-manager.c:27: /usr/include/glib-2.0/glib/ghash.h:68:61: note: expected ‘gpointer’ {aka ‘void *’} but argument is of type ‘const char *’ 68 | gpointer key, | ~~~~~~~~~~~~~~~~^~~ ../libmm-glib/mm-manager.c:81:43: warning: passing argument 2 of ‘g_hash_table_insert’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 81 | g_hash_table_insert (lookup_hash, "org.freedesktop.ModemManager1.Modem.Simple", GSIZE_TO_POINTER (MM_TYPE_MODEM_SIMPLE)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:50, from ../libmm-glib/mm-common-helpers.h:18, from ../libmm-glib/mm-manager.c:27:
2021-09-07build: Port to mesonIñigo Martínez
meson is a build system focused on speed an ease of use, which helps speeding up the software development. This patch adds meson support along autotools.
2021-08-30location-gps-nmea: Fix handling of multi-sentence NMEA messagesTeemu Ikonen
Fixes the regexp in check_append_or_replace() to accept 1. more multi-sentence NMEA messages (ALM, GSV, RTE, SFI) 2. multi-sentence NMEA messages from all talkers, not just GPS (i.e. GPGSV, GLGSV, GAGSV etc.)
2021-08-09api: remove Modem.Sar interfaceAleksander Morgado
There is no real implementation for it yet, so let's recover these changes once 1.18 has been released.
2021-07-30build: Rename template filesIñigo Martínez
The template files in the `build-aux` directory used in enums sources and headers generation use the `{$name}-template.[ch]` pattern. However, the examples in the official guide[0] and usually GNOME and Freedesktop packages use the `{$name}.[ch].template` pattern. Due to this, the name of the template files and build commands have been changed. [0] https://developer.gnome.org/gobject/stable/glib-mkenums.html
2021-07-09libmm-glib,common-helpers: fix build with glib 2.56Benoît Monin
The support of autoptr for GEnumClass and GFlagsClass was introduced in glib 2.58. To keep compatibility with glib 2.56, declare the autoptr cleanup functions. Fixes #397
2021-07-01libmm-glib,call: use helper macros to manage the monitored propertiesAleksander Morgado
2021-07-01libmm-glib,bearer: use helper macros to manage the monitored propertiesAleksander Morgado
2021-07-01libmm-glib,modem-signal: use helper macros to manage the monitored propertiesAleksander Morgado
2021-07-01libmm-glib,modem-location: use helper macros to manage the monitored propertiesAleksander Morgado
2021-07-01libmm-glib,modem-firmware: use helper macros to manage the monitored propertiesAleksander Morgado
2021-07-01libmm-glib,modem-time: use helper macros to manage the monitored propertiesAleksander Morgado
2021-07-01libmm-glib,modem-oma: use helper macros to manage the monitored propertiesAleksander Morgado
2021-07-01libmm-glib,modem-messaging: use helper macros to manage the monitored propertiesAleksander Morgado
2021-07-01libmm-glib,modem-3gpp: use helper macros to manage the monitored propertiesAleksander Morgado
2021-07-01libmm-glib,modem: use helper macros to manage the monitored propertiesAleksander Morgado
2021-07-01libmm-glib,helpers: new helper macros to define common property managementAleksander Morgado
2021-07-01libmm-glib: use single mutex in each type to sync accessAleksander Morgado
There is truly no need for a per-property mutex, using a global one for the whole object is equally fine.
2021-07-01libmm-glib,common-helpers: refactor helper methodsAleksander Morgado
Remove unused methods, like all the variant_to_array() ones, and reorder some others so that both header and source file have the same order always.
2021-07-01libmm-glib,location: new signaled location API supportAleksander Morgado
We allow clients to receive asynchronous updates of location information, e.g. if "location signaling" is explicitly enabled (with the setup() method). But if so, we should also allow clients to easily process those asynchronous updates in the libmm-glib library, instead of requiring them to run explicit DBus queries to refresh the location information. These new signaled location APIs allow clients to do so; they can enable location signaling, and then just wait for the updates to arrive.
2021-06-30libmm-glib,location: build_locations() doesn't own the dictionaryAleksander Morgado
Rework the build_locations() method so that it doesn't take ownership of the input dictionary. This allows us reusing this method with dictionaries for which ownership cannot be transferred.
2021-06-25libmm-glib,modem: move deprecated methods to compat sourceAleksander Morgado
2021-06-25libmm-glib,location-3gpp: move deprecated methods to compat sourceAleksander Morgado
2021-06-25libmm-glib,simple-status: move deprecated methods to compat sourceAleksander Morgado