Skip to content

Unable to send b64encoded image data to MQTT #409

Answered by bretambrose
sagark82 asked this question in Q&A
Discussion options

You must be logged in to vote

By default, IoT Core has a 128K message size limit for publishes. While that may be relaxable to a certain extent on a per-account basis, there are substantial restrictions on what can be done with publishes that exceed the limit even if the limit is raised (for example, larger payloads may only be processed by rules engine and won't get sent to subscribers).

You may need to come up with a part-based scheme on top of MQTT. There has been some IoT Core specific work on something like this (https://docs.aws.amazon.com/iot/latest/developerguide/mqtt-based-file-delivery.html) but the SDKs do not yet support it.

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by jmklix
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants