Resolve conenct issues with ip
This commit is contained in:
1 parent
eb1595f1e8
commit
526109fd37
3 files changed
+67
-39
No files matched your search
@@ -1,23 +1,22 @@
|
||||
#ifndef _MQTT_CONFIG_H_
|
||||
#define _MQTT_CONFIG_H_
|
||||
#include "sdkconfig.h"
|
||||
|
||||
|
||||
#include <stdio.h>
|
||||
|
||||
#ifdef CONFIG_MQTT_LOG_ERROR_ON
|
||||
#define mqtt_error( format, ... ) printf( "[MQTT ERROR] "format, ## __VA_ARGS__ )
|
||||
#define mqtt_error(format, ... ) printf( "[MQTT ERROR] " format "\n", ##__VA_ARGS__)
|
||||
#else
|
||||
#define mqtt_error( format, ... )
|
||||
#define mqtt_error( format, ... )
|
||||
#endif
|
||||
#ifdef CONFIG_MQTT_LOG_WARN_ON
|
||||
#define mqtt_warn( format, ... ) printf( "[MQTT WARN] "format, ## __VA_ARGS__ )
|
||||
#define mqtt_warn(format, ... ) printf( "[MQTT WARN] " format "\n", ##__VA_ARGS__)
|
||||
#else
|
||||
#define mqtt_warn( format, ... )
|
||||
#define mqtt_warn( format, ... )
|
||||
#endif
|
||||
#ifdef CONFIG_MQTT_LOG_INFO_ON
|
||||
#define mqtt_info( format, ... ) printf( "[MQTT INFO] "format, ## __VA_ARGS__ )
|
||||
#define mqtt_info(format, ... ) printf( "[MQTT INFO] " format "\n", ##__VA_ARGS__)
|
||||
#else
|
||||
#define mqtt_info( format, ... )
|
||||
#define mqtt_info(format, ... )
|
||||
#endif
|
||||
|
||||
#ifndef CONFIG_MQTT_QUEUE_BUFFER_SIZE_WORD
|
||||
|
||||
Reference in new issue
Block a user