Azure IoT middleware for FreeRTOS
azure_iot_config_defaults.h
1 /* Copyright (c) Microsoft Corporation.
2  * Licensed under the MIT License. */
3 
4 #ifndef AZURE_IOT_CONFIG_DEFAULTS_H
5 #define AZURE_IOT_CONFIG_DEFAULTS_H
6 
11 #ifndef azureiotconfigDEFAULT_TOKEN_TIMEOUT_IN_SEC
12  #define azureiotconfigDEFAULT_TOKEN_TIMEOUT_IN_SEC ( 60 * 60U )
13 #endif
14 
19 #ifndef azureiotconfigKEEP_ALIVE_TIMEOUT_SECONDS
20  #define azureiotconfigKEEP_ALIVE_TIMEOUT_SECONDS ( 60U )
21 #endif
22 
27 #ifndef azureiotconfigCONNACK_RECV_TIMEOUT_MS
28  #define azureiotconfigCONNACK_RECV_TIMEOUT_MS ( 1000U )
29 #endif
30 
34 #ifndef azureiotconfigSUBACK_WAIT_INTERVAL_MS
35  #define azureiotconfigSUBACK_WAIT_INTERVAL_MS ( 10U )
36 #endif
37 
41 #ifndef azureiotconfigUSERNAME_MAX
42  #define azureiotconfigUSERNAME_MAX ( 256U )
43 #endif
44 
48 #ifndef azureiotconfigPASSWORD_MAX
49  #define azureiotconfigPASSWORD_MAX ( 256U )
50 #endif
51 
55 #ifndef azureiotconfigTOPIC_MAX
56  #define azureiotconfigTOPIC_MAX ( 128U )
57 #endif
58 
63 #ifndef azureiotconfigPROVISIONING_REQUEST_PAYLOAD_MAX
64  #define azureiotconfigPROVISIONING_REQUEST_PAYLOAD_MAX ( 512U )
65 #endif
66 
73 #ifndef azureiotconfigPROVISIONING_POLLING_INTERVAL_S
74  #define azureiotconfigPROVISIONING_POLLING_INTERVAL_S ( 3U )
75 #endif
76 
90 #ifndef AZLogError
91  #define AZLogError( message )
92 #endif
93 
107 #ifndef AZLogWarn
108  #define AZLogWarn( message )
109 #endif
110 
124 #ifndef AZLogInfo
125  #define AZLogInfo( message )
126 #endif
127 
141 #ifndef AZLogDebug
142  #define AZLogDebug( message )
143 #endif
144 
145 #endif /* AZURE_IOT_CONFIG_DEFAULTS_H */