You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to send a binary event from a node.js server to a esp32 client, but I only got the JSON encoded part of the event.
For example I got this: 451-["userData",{"time":1707930541,"data":{_placeholder":true,"num":0}}] but did not get the binary buffer.
Code:
case sIOtype_BINARY_EVENT:
Serial.printf("[IOc] get binary: %u\n", length);
hexdump(payload, length);
I am guessing that the binary buffer frame sent after the first encoded json text is the cause of the [wsIOc] Socket.IO Message Type 5 (35) is not implemented
I've tried this to get the binary buffer, but it did not work:
case WStype_BIN:
Serial.printf("[IOc] get bin: %u\n", length);
hexdump(payload, length);
break;
@Links2004 (I'm sorry for tagging you, but it's kind of urgent) how do I get the binary buffer after the first encoded json text.
The text was updated successfully, but these errors were encountered:
Hi,
I am trying to send a binary event from a node.js server to a esp32 client, but I only got the JSON encoded part of the event.
For example I got this:
451-["userData",{"time":1707930541,"data":{_placeholder":true,"num":0}}]
but did not get the binary buffer.Code:
Serial monitor output:
I am guessing that the binary buffer frame sent after the first encoded json text is the cause of the
[wsIOc] Socket.IO Message Type 5 (35) is not implemented
I've tried this to get the binary buffer, but it did not work:
@Links2004 (I'm sorry for tagging you, but it's kind of urgent) how do I get the binary buffer after the first encoded json text.
The text was updated successfully, but these errors were encountered: