[PATCH 2/6] libmm-glib: new helper object to handle bearer stats

2015-11-27 Thread Aleksander Morgado
The new MMBearerStats object provides a simple API to interact with the new dictionary containing the bearer connection stats. --- docs/reference/libmm-glib/libmm-glib-docs.xml | 1 + docs/reference/libmm-glib/libmm-glib-sections.txt | 30 +++ libmm-glib/Makefile.am

Bearer connection stats

2015-11-27 Thread Aleksander Morgado
The following patch series implements a new 'Stats' property in the Bearer object which reports connection statistics. The values are directly retrieved from the device (e.g. queried), as opposed to measuring the stats in the network interface. This implementation is currently limited to: *

[PATCH 1/6] introspection: new 'Stats' property in the bearer object

2015-11-27 Thread Aleksander Morgado
The new property is a dictionary which may include different parameters, depending on what is actually supported by the underlying modem. For now, just bytes RX/TX. Note that this object will expose the stats *as reported by the modem*. These values may differ from e.g. what is seen in the