-
Notifications
You must be signed in to change notification settings - Fork 1k
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
umqtt.simple cannot transmit longer messages than 125 ascii characters on Pico1 W #994
Comments
both the MQTT client and server can enforce message limits. What server are you sending to? could it be restricting ? |
I have exactly tried to send long messages to the mosquitto broker from MQTT explorer without any problems. i have tried many things to debug peterhinch/micropython-mqtt#170 but now i have found that it works with older versions of micropython it breaks first time with version RPI_PICO_W-20240602-v1.23.0.uf2 and even the last preview build RPI_PICO_W-20250327-v1.25.0-preview.428.g50da085d9.uf2 is also broken ill stick with the old version for now, im not so experienced in github usage that i know how to file this error in the proper way yet |
I could not reproduce an error in mqtt.simple wrt to topic or message length I recommend to close this issue , and re-open it if/when the issue can be reproduced. |
Hello, I don't know what the problem is. But I have the same error with my ESP32. Just rising the sended data the executions freezes. Thank you very much. PD: https://github.com/orgs/micropython/discussions/17065 |
tried different libraries
started with https://github.com/peterhinch/micropython-mqtt.git
then https://github.com/bobveringa/micropython-mqtt.git
but now reverted to umqtt.simple and they all exhibit same behavior
gradually increasing message lenght up to 125 characters, when reached wireshark show multiple retransmits and the publishing stalls
tried with 200ms to 1000ms interval, no difference
!"#$%&'()+,-./0123456789:;<=>?@abcdefghijklmnopqrstuvwxyz[]^_
abcdefghijklmnopqrstuvwxyz{|}~ !"#$%&'( !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_
abcdefghijklmnopqrstuvwxyz{|}~ !"#$%&'()!"#$%&'()+,-./0123456789:;<=>?@abcdefghijklmnopqrstuvwxyz[]^
abcdefghijklmnopqrstuvwxyz{|}~ !"#$%&'()* !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_
abcdefghijklmnopqrstuvwxyz{|}~ !"#$%&'()+!"#$%&'()+,-./0123456789:;<=>?@abcdefghijklmnopqrstuvwxyz[]^
abcdefghijklmnopqrstuvwxyz{|}~ !"#$%&'()*+, !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_
abcdefghijklmnopqrstuvwxyz{|}~ !"#$%&'()+,-!"#$%&'()+,-./0123456789:;<=>?@abcdefghijklmnopqrstuvwxyz[]^
abcdefghijklmnopqrstuvwxyz{|}~ !"#$%&'()*+,-. !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_
abcdefghijklmnopqrstuvwxyz{|}~ !"#$%&'()+,-./!"#$%&'()+,-./0123456789:;<=>?@abcdefghijklmnopqrstuvwxyz[]^
abcdefghijklmnopqrstuvwxyz{|}~ !"#$%&'()*+,-./0 this one stalls !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_
abcdefghijklmnopqrstuvwxyz{|}~ !"#$%&'()*+,-./01tested with a socket tcp transfer and i can transmit 20000 bytes without problem
The text was updated successfully, but these errors were encountered: