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

[Feature Request] Increase payload size limit to 128 kB (same limit as IoT quota) #14

Open
davidallenmann opened this issue May 15, 2022 · 1 comment

Comments

@davidallenmann
Copy link

Is the MQTT payload size limit 5kB?

I am trying to send 100 kB of audio data, and it is not practical to break that up into 20 messages that have to be reassembled on the backend.

Could you increase the payload size to the maximum payload size supported by IOT quotas?

@davidallenmann davidallenmann changed the title [Feature Request] <replace with your title> [Feature Request] Increase payload size limit to 128 kB (same limit as IoT quota) May 15, 2022
@n9wxu
Copy link
Member

n9wxu commented Jun 30, 2022

Currently that will be a challenge due to RAM restrictions on the modules. The current protocol requires that the entire message be accepted/validated before processing. The 5kB limit is to reduce the incoming message buffer size. Increasing that message size to 100kB would be a significant fraction of the physical RAM in the current modules.

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