File tree 2 files changed +5
-1
lines changed
2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change 127
127
* CONSTANTS
128
128
******************************************************************************/
129
129
130
+ #if defined(HAS_LORA )
131
+ #define AIOT_CONFIG_RECONNECTION_RETRY_DELAY_ms (10000UL)
132
+ #else
130
133
#define AIOT_CONFIG_RECONNECTION_RETRY_DELAY_ms (1000UL)
134
+ #endif
131
135
#define AIOT_CONFIG_MAX_RECONNECTION_RETRY_DELAY_ms (32000UL)
132
136
#define AIOT_CONFIG_DEVICE_TOPIC_SUBSCRIBE_RETRY_DELAY_ms (5*1000UL)
133
137
#define AIOT_CONFIG_MAX_DEVICE_TOPIC_SUBSCRIBE_RETRY_DELAY_ms (32000UL)
Original file line number Diff line number Diff line change @@ -50,7 +50,7 @@ ArduinoIoTCloudLPWAN::ArduinoIoTCloudLPWAN()
50
50
: _state{State::ConnectPhy}
51
51
, _retryEnable{false }
52
52
, _maxNumRetry{5 }
53
- , _intervalRetry{10000 }
53
+ , _intervalRetry{AIOT_CONFIG_RECONNECTION_RETRY_DELAY_ms }
54
54
{
55
55
56
56
}
You can’t perform that action at this time.
0 commit comments