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

Character limit when doing publishing through MQTT #14

Open
louistaannn opened this issue May 3, 2021 · 2 comments
Open

Character limit when doing publishing through MQTT #14

louistaannn opened this issue May 3, 2021 · 2 comments
Assignees

Comments

@louistaannn
Copy link

I would like to ask if this A9G module has a character limit when doing publishing though MQTT. I tried publishing the word "test" and it worked fine (it showed up in the broker). Then, when I publish some string with length 512 chars, the A9G module delays for a while (I guess about 40 seconds) and gives the response "OK". However, it does not show up in the broker. How can I fix this issue? Thanks

@tejpochiraju
Copy link
Member

@KaranRajPradhan - could you help out @louistaannn

@KaranRajPradhan
Copy link
Member

@louistaannn - Are you using AT commands or a custom firmware for the A9G?

We haven't come across such issues with publishing messages due to their message size. The MQTT protocol allows up to a maximum message size of about 260MB which however is most definitely restricted by brokers to different sizes. For example, AWS IoT limits this to 128KB in size.

Your problem could actually be the broker configuration limiting your packet size. What broker are you using?

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

3 participants