|
45 | 45 | #endif
|
46 | 46 |
|
47 | 47 | #ifndef DEBUG_VERBOSE
|
48 |
| - #define DEBUG_VERBOSE(fmt, ...) //Debug.print(DBG_VERBOSE, fmt, ## __VA_ARGS__) |
| 48 | + #define DEBUG_VERBOSE(fmt, ...) Debug.print(DBG_VERBOSE, fmt, ## __VA_ARGS__) |
49 | 49 | #endif
|
50 | 50 |
|
51 | 51 | /******************************************************************************
|
|
146 | 146 | #define AIOT_CONFIG_LPWAN_UPDATE_RETRY_DELAY_ms (10000UL)
|
147 | 147 | #endif
|
148 | 148 |
|
149 |
| -#define AIOT_CONFIG_RECONNECTION_RETRY_DELAY_ms (1000UL) |
150 |
| -#define AIOT_CONFIG_MAX_RECONNECTION_RETRY_DELAY_ms (32000UL) |
| 149 | +#if defined(HAS_TCP) |
| 150 | + #define AIOT_CONFIG_RECONNECTION_RETRY_DELAY_ms (1000UL) |
| 151 | + #define AIOT_CONFIG_MAX_RECONNECTION_RETRY_DELAY_ms (32000UL) |
151 | 152 |
|
152 |
| -#define AIOT_CONFIG_THING_ID_REQUEST_RETRY_DELAY_ms (2000UL) |
153 |
| -#define AIOT_CONFIG_MAX_THING_ID_REQUEST_RETRY_DELAY_ms (32000UL) |
154 |
| -#define AIOT_CONFIG_THING_ID_REQUEST_MAX_RETRY_CNT (10UL) |
| 153 | + #define AIOT_CONFIG_THING_ID_REQUEST_RETRY_DELAY_ms (2000UL) |
| 154 | + #define AIOT_CONFIG_MAX_THING_ID_REQUEST_RETRY_DELAY_ms (32000UL) |
| 155 | + #define AIOT_CONFIG_THING_ID_REQUEST_MAX_RETRY_CNT (10UL) |
155 | 156 |
|
156 |
| -#define AIOT_CONFIG_DEVICE_REGISTERED_RETRY_DELAY_k (10UL) |
157 |
| -#define AIOT_CONFIG_MAX_DEVICE_REGISTERED_RETRY_DELAY_k (4UL) |
| 157 | + #define AIOT_CONFIG_DEVICE_REGISTERED_RETRY_DELAY_k (10UL) |
| 158 | + #define AIOT_CONFIG_MAX_DEVICE_REGISTERED_RETRY_DELAY_k (4UL) |
158 | 159 |
|
159 |
| -#define AIOT_CONFIG_TIMEOUT_FOR_LASTVALUES_SYNC_ms (30000UL) |
160 |
| -#define AIOT_CONFIG_LASTVALUES_SYNC_MAX_RETRY_CNT (10UL) |
| 160 | + #define AIOT_CONFIG_TIMEOUT_FOR_LASTVALUES_SYNC_ms (30000UL) |
| 161 | + #define AIOT_CONFIG_LASTVALUES_SYNC_MAX_RETRY_CNT (10UL) |
| 162 | +#endif |
161 | 163 |
|
162 | 164 | #define AIOT_CONFIG_LIB_VERSION "2.0.3"
|
163 | 165 |
|
|
0 commit comments