coreMQTT
v1.1.0
MQTT 3.1.1 Client Library
core_mqtt_config_defaults.h
Go to the documentation of this file.
1
/*
2
* coreMQTT v1.1.0
3
* Copyright (C) 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved.
4
*
5
* Permission is hereby granted, free of charge, to any person obtaining a copy of
6
* this software and associated documentation files (the "Software"), to deal in
7
* the Software without restriction, including without limitation the rights to
8
* use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
9
* the Software, and to permit persons to whom the Software is furnished to do so,
10
* subject to the following conditions:
11
*
12
* The above copyright notice and this permission notice shall be included in all
13
* copies or substantial portions of the Software.
14
*
15
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
17
* FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
18
* COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
19
* IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
20
* CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
21
*/
22
35
#ifndef CORE_MQTT_CONFIG_DEFAULTS_H_
36
#define CORE_MQTT_CONFIG_DEFAULTS_H_
37
38
/* The macro definition for MQTT_DO_NOT_USE_CUSTOM_CONFIG is for Doxygen
39
* documentation only. */
40
51
#ifdef DOXYGEN
52
#define MQTT_DO_NOT_USE_CUSTOM_CONFIG
53
#endif
54
74
#ifndef MQTT_STATE_ARRAY_MAX_COUNT
75
/* Default value for the maximum acknowledgment pending PUBLISH messages. */
76
#define MQTT_STATE_ARRAY_MAX_COUNT ( 10U )
77
#endif
78
91
#ifndef MQTT_MAX_CONNACK_RECEIVE_RETRY_COUNT
92
/* Default value for the CONNACK receive retries. */
93
#define MQTT_MAX_CONNACK_RECEIVE_RETRY_COUNT ( 5U )
94
#endif
95
111
#ifndef MQTT_PINGRESP_TIMEOUT_MS
112
/* Wait 0.5 seconds by default for a ping response. */
113
#define MQTT_PINGRESP_TIMEOUT_MS ( 500U )
114
#endif
115
137
#ifndef MQTT_RECV_POLLING_TIMEOUT_MS
138
#define MQTT_RECV_POLLING_TIMEOUT_MS ( 10U )
139
#endif
140
162
#ifndef MQTT_SEND_RETRY_TIMEOUT_MS
163
#define MQTT_SEND_RETRY_TIMEOUT_MS ( 10U )
164
#endif
165
182
#ifndef LogError
183
#define LogError( message )
184
#endif
185
202
#ifndef LogWarn
203
#define LogWarn( message )
204
#endif
205
222
#ifndef LogInfo
223
#define LogInfo( message )
224
#endif
225
242
#ifndef LogDebug
243
#define LogDebug( message )
244
#endif
245
246
#endif
/* ifndef CORE_MQTT_CONFIG_DEFAULTS_H_ */
source
include
core_mqtt_config_defaults.h
Generated by
1.9.2