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

Packet size in MQTT #114

Open
kaminj opened this issue Jul 28, 2021 · 2 comments
Open

Packet size in MQTT #114

kaminj opened this issue Jul 28, 2021 · 2 comments

Comments

@kaminj
Copy link

kaminj commented Jul 28, 2021

Hello
I’m using IoLibrary and I have this problem.
I’m using w5500 as my chip and I’m a mqtt client who is using iolibrary.
Until packet size is less than my socket dedicated volume everything is ok . I can subscribe and get message successfully .
But when packet size is more than socket dedicated volume, I receive nothing despite of subscribing this special topic.
Maximum socket dedicated volume is 16kb in w5500 chip, but my desired data size is more than 16kb its about 40kb .

Please help me solve this problem . what should I do ?
Thank you.

@Nefrin
Copy link

Nefrin commented Jul 30, 2021

According to the datasheet the w5500 has only 32Kb of memory.
I don't know the exact behavior on a buffer overflow but I guess packets above 32Kb just get dropped.

@kaminj
Copy link
Author

kaminj commented Aug 1, 2021

Thanks Hans.

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