diff options
author | Frederic Martinsons <frederic.martinsons@sigfox.com> | 2021-10-15 08:38:50 +0200 |
---|---|---|
committer | Aleksander Morgado <aleksander@aleksander.es> | 2021-10-22 13:48:13 +0200 |
commit | 0510e9aef8818eeaa445aea246b670871c671ddb (patch) | |
tree | 131380f2a6d70eeb880cbe9b216ef006b4eb1604 /introspection | |
parent | 53bcdaa8c3962abbf2a2f638c64173a7657ab560 (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.xml | 8 |
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 |