Add mqtt over ssl sample

This commit is contained in:
Tuan PM committed 2018-02-16 22:00:57 +07:00
1 parent 503c540eee
commit 3115db19ae
14 files changed
+1305 -6

No files matched your search

+1 -1
View File
@@ -60,7 +60,7 @@ typedef struct {
int task_prio;
int task_stack;
int buffer_size;
char *cert_pem;
const char *cert_pem;
} esp_mqtt_client_config_t;
esp_mqtt_client_handle_t esp_mqtt_client_init(const esp_mqtt_client_config_t *config);
+1 -1
View File
@@ -11,7 +11,7 @@
#define MQTT_MAX_LWT_TOPIC 32
#define MQTT_MAX_LWT_MSG 32
#define MQTT_TASK_PRIORITY 5
#define MQTT_TASK_STACK (4*1024)
#define MQTT_TASK_STACK (6*1024)
#define MQTT_KEEPALIVE_TICK (120)
#define MQTT_BUFFER_SIZE (1*1024)
#define MQTT_CMD_QUEUE_SIZE (10)