aboutsummaryrefslogtreecommitdiff
path: root/introspection
diff options
context:
space:
mode:
authorFrederic Martinsons <frederic.martinsons@sigfox.com>2021-10-15 08:38:50 +0200
committerAleksander Morgado <aleksander@aleksander.es>2021-10-22 13:48:13 +0200
commit0510e9aef8818eeaa445aea246b670871c671ddb (patch)
tree131380f2a6d70eeb880cbe9b216ef006b4eb1604 /introspection
parent53bcdaa8c3962abbf2a2f638c64173a7657ab560 (diff)
api,bearer: new 'start-date' field in bearer statistics
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.
Diffstat (limited to 'introspection')
-rw-r--r--introspection/org.freedesktop.ModemManager1.Bearer.xml8
1 files changed, 8 insertions, 0 deletions
diff --git a/introspection/org.freedesktop.ModemManager1.Bearer.xml b/introspection/org.freedesktop.ModemManager1.Bearer.xml
index f8c65b46..6ef4a06c 100644
--- a/introspection/org.freedesktop.ModemManager1.Bearer.xml
+++ b/introspection/org.freedesktop.ModemManager1.Bearer.xml
@@ -309,6 +309,14 @@
<literal>"t"</literal>).
</listitem>
</varlistentry>
+ <varlistentry><term><literal>"start-date"</literal></term>
+ <listitem>
+ Timestamp indicating when the ongoing connection started, given
+ as an unsigned 64-bit integer value representing seconds
+ since the epoch (signature <literal>"t"</literal>).
+ Since 1.20.
+ </listitem>
+ </varlistentry>
<varlistentry><term><literal>"duration"</literal></term>
<listitem>
Duration of the ongoing connection, in seconds, given as an