From a4db5e79e4fac20a906bd951f75b1b91c06148b5 Mon Sep 17 00:00:00 2001 From: Willem Melching Date: Thu, 28 Jul 2022 14:57:50 +0200 Subject: [PATCH] DeviceState.NetworkStats (#338) * DeviceState.NetworkStats * Update log.capnp --- log.capnp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/log.capnp b/log.capnp index ab3adeb..e7cce28 100644 --- a/log.capnp +++ b/log.capnp @@ -294,6 +294,7 @@ struct DeviceState @0xa4d8b5af2aa492eb { networkType @22 :NetworkType; networkInfo @31 :NetworkInfo; networkStrength @24 :NetworkStrength; + networkStats @43 :NetworkStats; networkMetered @41 :Bool; lastAthenaPingTime @32 :UInt64; @@ -369,6 +370,11 @@ struct DeviceState @0xa4d8b5af2aa492eb { state @5 :Text; } + struct NetworkStats { + wwanTx @0 :Int64; + wwanRx @1 :Int64; + } + # deprecated cpu0DEPRECATED @0 :UInt16; cpu1DEPRECATED @1 :UInt16;