与node.js服务器和esp8266客户端

时间:2018-01-31 19:13:19

标签: node.js ssl esp8266

我正在使用node.js服务器使用SSL与我的ESP8266客户端通信但连接不稳定,有时需要8到9次尝试,有时20-25次尝试连接到服务器尝试次数不是完全固定。 SSL证书使用2048位密钥。使用库websocket

#include <WebSocketsClient.h>
WebSocketsClient webSocket;
WebSocket.beginSSL("hostname.com",port,"/socket.io/transport=websocket","fingerprint");

0 个答案:

没有答案
相关问题