I am trying to send a python command to an ESP32 based board using a websocket. There appears to be a limitation on the size of the command that can be sent via websocket (the same command works fine over serial). A 351 byte command works, while a 352 byte command does not.
Has anyone else encountered this limitation? And is it possible to circumvent it?
Websocket limitations on command size?
Re: Websocket limitations on command size?
Can you provide a bit more information? Doesn't sound like it, but just to confirm this is unrelated to WebREPL?
Is the issue that when you read(/readinto/readline?) from the websocket you get nothing, or truncated? Or does it fail when you try to exec it? How does it work over serial? Using the REPL or something else?
Maybe if you can share the code, that would be great.
Is the issue that when you read(/readinto/readline?) from the websocket you get nothing, or truncated? Or does it fail when you try to exec it? How does it work over serial? Using the REPL or something else?
Maybe if you can share the code, that would be great.