From 1d7abf732e509294edf99de1c10bcf0c7cd19700 Mon Sep 17 00:00:00 2001 From: sh123 Date: Tue, 26 Oct 2021 16:49:03 +0300 Subject: [PATCH] Logging --- loraprs_service.cpp | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/loraprs_service.cpp b/loraprs_service.cpp index b74e50d..ba9ecf3 100644 --- a/loraprs_service.cpp +++ b/loraprs_service.cpp @@ -78,7 +78,6 @@ void Service::setup(const Config &conf) // APRS-IS if (needsAprsis() && config_.EnablePersistentAprsConnection) { - LOG_INFO("Using persistent APRS-IS connection"); reconnectAprsis(); } @@ -97,6 +96,15 @@ void Service::printConfig() { LOG_INFO("Built with arduino-LoRa library"); #endif LOG_INFO(disableKiss_ ? "Using TNC2 text mode" : "Using TNC KISS and AX.25 mode"); + LOG_INFO("UsbSerialEnable:", config_.UsbSerialEnable ? "yes" : "no"); + if (!config_.IsClientMode) { + LOG_INFO("EnableSignalReport:", config_.EnableSignalReport ? "yes" : "no"); + LOG_INFO("EnablePersistentAprsConnection:", config_.EnablePersistentAprsConnection ? "yes" : "no"); + LOG_INFO("EnableRfToIs:", config_.EnableRfToIs ? "yes" : "no"); + LOG_INFO("EnableIsToRf:", config_.EnableIsToRf ? "yes" : "no"); + LOG_INFO("EnableRepeater:", config_.EnableRepeater ? "yes" : "no"); + LOG_INFO("EnableBeacon:", config_.EnableBeacon ? "yes" : "no"); + } } void Service::setupWifi(const String &wifiName, const String &wifiKey)