coreMQTT
v1.1.2
MQTT 3.1.1 Client Library
core_mqtt_config_defaults.h
Go to the documentation of this file.
1
/*
2
* coreMQTT v1.1.2
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
/* *INDENT-OFF* */
39
#ifdef __cplusplus
40
extern
"C"
{
41
#endif
42
/* *INDENT-ON* */
43
44
/* The macro definition for MQTT_DO_NOT_USE_CUSTOM_CONFIG is for Doxygen
45
* documentation only. */
46
57
#ifdef DOXYGEN
58
#define MQTT_DO_NOT_USE_CUSTOM_CONFIG
59
#endif
60
80
#ifndef MQTT_STATE_ARRAY_MAX_COUNT
81
/* Default value for the maximum acknowledgment pending PUBLISH messages. */
82
#define MQTT_STATE_ARRAY_MAX_COUNT ( 10U )
83
#endif
84
97
#ifndef MQTT_MAX_CONNACK_RECEIVE_RETRY_COUNT
98
/* Default value for the CONNACK receive retries. */
99
#define MQTT_MAX_CONNACK_RECEIVE_RETRY_COUNT ( 5U )
100
#endif
101
121
#ifndef MQTT_PINGRESP_TIMEOUT_MS
122
/* Wait 5 seconds by default for a ping response. */
123
#define MQTT_PINGRESP_TIMEOUT_MS ( 5000U )
124
#endif
125
147
#ifndef MQTT_RECV_POLLING_TIMEOUT_MS
148
#define MQTT_RECV_POLLING_TIMEOUT_MS ( 10U )
149
#endif
150
172
#ifndef MQTT_SEND_RETRY_TIMEOUT_MS
173
#define MQTT_SEND_RETRY_TIMEOUT_MS ( 10U )
174
#endif
175
192
#ifndef LogError
193
#define LogError( message )
194
#endif
195
212
#ifndef LogWarn
213
#define LogWarn( message )
214
#endif
215
232
#ifndef LogInfo
233
#define LogInfo( message )
234
#endif
235
252
#ifndef LogDebug
253
#define LogDebug( message )
254
#endif
255
256
/* *INDENT-OFF* */
257
#ifdef __cplusplus
258
}
259
#endif
260
/* *INDENT-ON* */
261
262
#endif
/* ifndef CORE_MQTT_CONFIG_DEFAULTS_H_ */
source
include
core_mqtt_config_defaults.h
Generated by
1.9.2