ESP32进行websocket通信接收数据出错
Posted: Mon Jul 25, 2022 6:29 am
I (104793) WEBSOCKET: WEBSOCKET_EVENT_CONNECTED
I (104953) WEBSOCKET: WEBSOCKET_EVENT_DATA
I (104953) WEBSOCKET: Received opcode=1
W (104953) WEBSOCKET: Received=<b>服务端主动向你推送:</b> <span style='font-size:20px;'>点击进入<a style='font-weight:900;font-size:16px;' href='http://www.blue-zero.com/chat/' target='_blank'>【聊天室】[围观]</a>,使用websocket开发,支持一对一私聊和一对多公聊</span>
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=<b style='color:#ff9900;'>作者(在线)</b>: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
乐鑫的websocket官方例程,请问大佬们,为什么发送hello 0000之后,提示会红字?例程就改了URI,其他的都没改。。
I (104953) WEBSOCKET: WEBSOCKET_EVENT_DATA
I (104953) WEBSOCKET: Received opcode=1
W (104953) WEBSOCKET: Received=<b>服务端主动向你推送:</b> <span style='font-size:20px;'>点击进入<a style='font-weight:900;font-size:16px;' href='http://www.blue-zero.com/chat/' target='_blank'>【聊天室】[围观]</a>,使用websocket开发,支持一对一私聊和一对多公聊</span>
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=<b style='color:#ff9900;'>作者(在线)</b>: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
乐鑫的websocket官方例程,请问大佬们,为什么发送hello 0000之后,提示会红字?例程就改了URI,其他的都没改。。