From f40243dcf5dcf4ccdc1fe9cd28667f9aaeb2360a Mon Sep 17 00:00:00 2001 From: Ben Meadors Date: Thu, 2 Feb 2023 13:10:16 -0600 Subject: [PATCH] Added properties to NetworkConnectionStatus --- meshtastic/connection_status.proto | 18 ++++++++++++++---- 1 file changed, 14 insertions(+), 4 deletions(-) diff --git a/meshtastic/connection_status.proto b/meshtastic/connection_status.proto index a5a2ef0..d71b93f 100644 --- a/meshtastic/connection_status.proto +++ b/meshtastic/connection_status.proto @@ -13,7 +13,7 @@ message DeviceConnectionStatus { /* * WiFi Status */ - optional TcpConnectionStatus wifi = 1; + optional WifiConnectionStatus wifi = 1; /* * WiFi Status */ @@ -37,7 +37,7 @@ message WifiConnectionStatus { /* * Connection status */ - TcpConnectionStatus status = 1; + EthernetConnectionStatus status = 1; /* * WiFi access point ssid @@ -57,13 +57,13 @@ message EthernetConnectionStatus { /* * Connection status */ - TcpConnectionStatus status = 1; + NetworkConnectionStatus status = 1; } /* * Ethernet or WiFi connection status */ -message TcpConnectionStatus { +message NetworkConnectionStatus { /* * IP address of device */ @@ -73,6 +73,16 @@ message TcpConnectionStatus { * Whether the device has an active connection or not */ bool is_connected = 2; + + /* + * Whether the device has an active connection to an MQTT broker or not + */ + bool is_mqtt_connected = 3; + + /* + * Whether the device is actively remote syslogging or not + */ + bool is_syslog_connected = 4; } /*