Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unsupported frame size #72

Closed
infrafast opened this issue May 6, 2024 · 3 comments
Closed

Unsupported frame size #72

infrafast opened this issue May 6, 2024 · 3 comments

Comments

@infrafast
Copy link

infrafast commented May 6, 2024

Hello, using the code adapated for issue #58 ,

I got the below error message when trying to send the below Jsonframe from the browser to the esp32

Unsupported frame size = 476

followed by a:
[189085][E][WiFiClient.cpp:517] flush(): fail on fd 52, errno: 11, "No more processes"

Socket Disconnected

presumably this is just because I need to increase a buffer somewhere, maybe you could help ?
Thanks
BR

{"command":"createModule","param":{"Module 2":{"possibleLayout":3,"currentLayout":0,"icon":"b","strips":[{"id":"ch2bus","index":0,"color":99,"icon":"Z","properties":["/ch/01/name","/bus/01/name"]},{"id":"ch2bus","index":1,"color":99,"icon":"Z","properties":["/ch/01/name","/bus/01/name"]},{"id":"ch2bus","index":2,"color":99,"icon":"Z","properties":["/ch/01/name","/bus/01/name"]},{"id":"ch2bus","index":3,"color":99,"icon":"Z","properties":["/ch/01/name","/bus/01/name"]}]}}}

@skaarj1989
Copy link
Owner

Increase the buffer size (this information is in the README)

constexpr uint16_t kBufferMaxSize{256};

@infrafast
Copy link
Author

my god I missed that sorry for bothering. Do you have a paypal account so I can offer you a beer ?

@skaarj1989
Copy link
Owner

There's no need for that, thank you though.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants