From 03cb7c4b2256d29a40d5148d50bcfeb00cb12863 Mon Sep 17 00:00:00 2001 From: Jm Casler Date: Tue, 7 Dec 2021 11:26:30 -0800 Subject: [PATCH] Add airtime protos Feature request: add airtime to NodeInfo #970 https://github.com/meshtastic/Meshtastic-device/issues/970 --- mesh.proto | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/mesh.proto b/mesh.proto index 865053f..74c37e7 100644 --- a/mesh.proto +++ b/mesh.proto @@ -952,6 +952,22 @@ message MyNodeInfo { */ uint32 min_app_version = 14; + /* + * 48 time windows of 1hr each with the airtime transmitted out of the device per hour. + */ + repeated uint32 air_period_tx = 16; + + /* + * 48 time windows of 1hr each with the airtime of valid packets for your mesh. + */ + repeated uint32 air_period_rx = 17; + + /* + * 48 time windows of 1hr each with the airtime of valid lora packets. This includes + * packets that doesn't belong to your mesh. + */ + repeated uint32 air_period_tx_all = 18; + /* * FIXME - add more useful debugging state (queue depths etc) */