diff options
author | Aleksander Morgado <aleksander@aleksander.es> | 2015-11-27 14:30:00 +0100 |
---|---|---|
committer | Aleksander Morgado <aleksander@aleksander.es> | 2015-12-07 14:20:54 +0100 |
commit | 03ead02686544c6daee48d8a0b0d51ab8cf255b4 (patch) | |
tree | ccf21e028252901eec4b8be0f219c0c948bb3c6a /introspection | |
parent | ee85a463cf806cd01a61587520245a4818ab1fbb (diff) |
introspection: new 'Stats' property in the bearer object
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 network interface stats.
Diffstat (limited to 'introspection')
-rw-r--r-- | introspection/org.freedesktop.ModemManager1.Bearer.xml | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/introspection/org.freedesktop.ModemManager1.Bearer.xml b/introspection/org.freedesktop.ModemManager1.Bearer.xml index e1463a56..2c844abd 100644 --- a/introspection/org.freedesktop.ModemManager1.Bearer.xml +++ b/introspection/org.freedesktop.ModemManager1.Bearer.xml @@ -242,6 +242,37 @@ <property name="Ip6Config" type="a{sv}" access="read" /> <!-- + Stats: + + If the modem supports it, this property will show statistics of the + ongoing connection. + + When the connection is disconnected automatically or explicitly by the + user, the values in this property will show the last values cached. + The statistics are reset + + The following items may appear in the list of statistics: + <variablelist> + <varlistentry><term><literal>"rx-bytes"</literal></term> + <listitem> + Number of bytes received without error, given as an unsigned 64-bit integer value (signature <literal>"t"</literal>). + </listitem> + </varlistentry> + <varlistentry><term><literal>"tx-bytes"</literal></term> + <listitem> + Number bytes transmitted without error, given as an unsigned 64-bit integer value (signature <literal>"t"</literal>). + </listitem> + </varlistentry> + <varlistentry><term><literal>"duration"</literal></term> + <listitem> + Duration of the connection, in seconds, given as an unsigned integer value (signature <literal>"u"</literal>). + </listitem> + </varlistentry> + </variablelist> + --> + <property name="Stats" type="a{sv}" access="read" /> + + <!-- IpTimeout: Maximum time to wait for a successful IP establishment, when PPP is used. |