aboutsummaryrefslogtreecommitdiff
path: root/libmm-glib/mm-bearer.c
AgeCommit message (Collapse)Author
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-11-16libmm-glib: fix license in sourcesAleksander Morgado
The libmm-glib library is LGPLv2+, not GPLv2+.
2021-07-01libmm-glib,bearer: use helper macros to manage the monitored propertiesAleksander 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-05-23api,bearer: new 'ConnectionError' propertyAleksander Morgado
This new property will provide detailed information about the failed connection attempt, or about the network initiated disconnection. The property will be cleared only if a new connection attempt is triggered, and so it can be used to investigate why a given attempt failed without needing to be the one who triggered the attempt (e.g. so that failures in NetworkManager-triggered connection attempts can be investigated looking at the DBus API). The property is built as a (ss) tuple, but the libmm-glib interface provides methods to read this property as a GError.
2021-04-29api,bearer: new 'ProfileId' propertyAleksander Morgado
To report which is the currently active profile with this bearer, if known. If the modem doesn't support profiles, or if the bearer is disconnected, -1 (MM_3GPP_PROFILE_ID_UNKNOWN) will be reported. It is guaranteed that no two connected bearers will have the same ProfileId property value.
2021-03-10api,bearer: new 'Multiplexed' propertyAleksander Morgado
This property will be TRUE if the bearer has the data session connected through a multiplexed interface. If the bearer is disconnected, or connected without multiplexing, the property will report FALSE.
2019-10-28docs,libmm-glib: provide per-version indicesAleksander Morgado
2018-12-07api,bearer: new 'BearerType' propertyAleksander Morgado
Until now we have only allowed to use and setup 'default bearers' (in 4G) or 'primary contexts' (in 2G/3G). We can define a couple of additional bearer types, though: * The 'dedicated bearers' (in 4G) or 'secondary contexts' (in 2G/3G), which are associated to a specific default/primary one, but which provide specific QoS settings configured via traffic flow templates. * The 'initial default EPS bearer', which is a special case of default bearer in LTE, which is automatically created and connected when the modem is registered in the LTE network. This commit introduces a new 'MMBearerType' enumeration that will be associated to each bearer through a 'BearerType' property in the org.freedesktop.ModemManager1.Bearer interface, showing what kind of bearer/context this is. By default, right now, all bearer objects created are 'default' bearers.
2018-03-13libmm-glib,bearer: cleanup stats related mutex and objectAleksander Morgado
2018-01-25*: Spelling fixesVille Skyttä
2015-12-07libmm-glib: retrieve stats from the bearerAleksander Morgado
The MMBearer object is updated to provide getter methods to retrieve the new MMBearerStats object.
2013-10-24libmm-glib: fix several introspection annotationsAleksander Morgado
2012-10-03libmm-glib,bearer: `MMBearer' is now a real objectAleksander Morgado
Not just a typedef of the gdbus-codegen generated `MmGdbusBearer'.
2012-03-16libmm-common: `MMBearerProperties' won't be considered internal any moreAleksander Morgado
Renamed `MMCommonBearerProperties' to `MMBearerProperties', and removed the `MMBearerProperties' provided in libmm-glib. We'll just use the original one from libmm-common always.
2012-03-16libmm-common: `MMBearerIpConfig' won't be considered internal any moreAleksander Morgado
Renamed `MMCommonBearerIpConfig' to `MMBearerIpConfig', and removed the `MMBearerIpConfig' provided in libmm-glib. We'll just use the original one from libmm-common always.
2012-03-15libmm-glib: allow retrieving the IP timeout value from the bearerAleksander Morgado
2012-03-15libmm-glib: use the common IP config object from libmm-commonAleksander Morgado
2012-03-15libmm-glib: number no longer needed in Connect()Aleksander Morgado
2012-03-15libmm-common,libmm-glib: new object to handle bearer creation propertiesAleksander Morgado
2012-03-15libmm-glib: allow getting properties used when the bearer was createdAleksander Morgado
2012-03-15libmm-glib: generic warning if IP config dictionary has unexpected contentsAleksander Morgado
2012-03-15libmm-glib: new MMBearer objectAleksander Morgado