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

Maximum size of messages #11

Closed
grundid opened this issue Sep 23, 2018 · 1 comment
Closed

Maximum size of messages #11

grundid opened this issue Sep 23, 2018 · 1 comment

Comments

@grundid
Copy link

grundid commented Sep 23, 2018

I'm having issues with larger messages. Messages with more than 76 characters are not send.
After looking at the source code I've noticed that you have a StaticJsonBuffer with 100 bytes in the sendState method.

Since the examples already use StaticJsonBuffer with 500 bytes I guess it would be good to increase the buffer or maybe document the limitation.

@anaptfox
Copy link
Contributor

@grundid, thanks for bringing this up. I can add a note about it in the README.md

Overall, the issue has to do with the underlying MQTT client (PubSubClient) we use.

For more info:
https://forums.losant.com/t/sending-commands-with-larger-payloads/135
knolleary/pubsubclient#110

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