From 1602206f096f21d12bf0d409dfabc8026738f320 Mon Sep 17 00:00:00 2001 From: "Zachary J. Fields" Date: Tue, 27 Feb 2024 12:42:38 -0600 Subject: [PATCH] chore: Address PR feedback --- src/AIoTC_Config.h | 1 + src/ArduinoIoTCloudLPWAN.cpp | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/AIoTC_Config.h b/src/AIoTC_Config.h index e47a8ac2..7828191f 100644 --- a/src/AIoTC_Config.h +++ b/src/AIoTC_Config.h @@ -137,6 +137,7 @@ * CONSTANTS ******************************************************************************/ +#define AIOT_CONFIG_INTERVAL_RETRY_DELAY_ms (10000UL) #define AIOT_CONFIG_RECONNECTION_RETRY_DELAY_ms (1000UL) #define AIOT_CONFIG_MAX_RECONNECTION_RETRY_DELAY_ms (32000UL) #define AIOT_CONFIG_DEVICE_TOPIC_SUBSCRIBE_RETRY_DELAY_ms (5*1000UL) diff --git a/src/ArduinoIoTCloudLPWAN.cpp b/src/ArduinoIoTCloudLPWAN.cpp index 9a3d4ae1..e3f625fb 100644 --- a/src/ArduinoIoTCloudLPWAN.cpp +++ b/src/ArduinoIoTCloudLPWAN.cpp @@ -50,7 +50,7 @@ ArduinoIoTCloudLPWAN::ArduinoIoTCloudLPWAN() : _state{State::ConnectPhy} , _retryEnable{false} , _maxNumRetry{5} -, _intervalRetry{10000} +, _intervalRetry{AIOT_CONFIG_INTERVAL_RETRY_DELAY_ms} { }