乐鑫技术交流
直播中

文甘翀

7年用户 944经验值
私信 关注
[问答]

ESP32进行websocket通信接收数据出错怎么解决?

I (104793) WEBSOCKET: WEBSOCKET_EVENT_CONNECTED

I (104953) WEBSOCKET: WEBSOCKET_EVENT_DATA

I (104953) WEBSOCKET: Received opcode=1


W (104953) WEBSOCKET: Received=服务端主动向你推送: 点击进入【聊天室】[围观],使用websocket开发,支持一对一私聊和一对多公聊

W (104983) WEBSOCKET: Total payload length=277, data_len=277, current payload offset=0




I (104993) WEBSOCKET: WEBSOCKET_EVENT_DATA

I (104993) WEBSOCKET: Received opcode=1


W (105003) WEBSOCKET: Received=作者(在线):halo~,websocket开发上有什么疑问可以加我微信

W (105013) WEBSOCKET: Total payload length=106, data_len=106, current payload offset=0




I (105603) WEBSOCKET: Sending hello 0009

E (105643) TRANSPORT_WS: Error read data

E (105643) WEBSOCKET_CLIENT: Error read data

E (105643) WEBSOCKET_CLIENT: Error receive data


I (105653) WEBSOCKET_CLIENT: Reconnect after 10000 ms
请问大佬们,为什么发送hello 0000之后,提示会红字?例程就改了URI,其他的都没改。。

更多回帖

发帖
×
20
完善资料,
赚取积分