Add support ws and wss

This commit is contained in:
Tuan PM committed 2018-02-17 01:03:35 +07:00
1 parent c5ff6dd05f
commit 782e1f8042
20 files changed
+2865 -4

No files matched your search

+9
View File
@@ -18,4 +18,13 @@
#define MQTT_NETWORK_TIMEOUT_MS (10000)
#define MQTT_TCP_DEFAULT_PORT (1883)
#define MQTT_SSL_DEFAULT_PORT (8883)
#define MQTT_WS_DEFAULT_PORT (80)
#define MQTT_WSS_DEFAULT_PORT (443)
#define MQTT_ENABLE_SSL 1
#define MQTT_ENABLE_WS 1
#define MQTT_ENABLE_WSS 1
#define OUTBOX_EXPIRED_TIMEOUT_MS (30*1000)
#define OUTBOX_MAX_SIZE (4*1024)
#endif