-
Notifications
You must be signed in to change notification settings - Fork 757
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
MQTT auto disconnected after KeepAlive time #219
Comments
You must be able to determine where the broker response gets lost, "STM32" is not the name of a module, analyze your application and determine where you have the problem. Then |
Hello, I have the same problem right now. if you have solved the problem, I will be very grateful for the answer |
Same answer: #219 (comment) |
I think we are adressing the issue (see the referenced commit above). |
Hi all,
Sorry about my English,
I'm working with MQTT and STM32, FreeRTOS and lwIP
I followed this a example
https://github.com/eziya/STM32F4_HAL_ETH_MQTT_CLIENT
No problem if publish to STM32 topic subscribed every second.
But, if I connect to broker (mosquitto), then do nothing, after 60s keepalive, STM32 send PINGREQ and moquitto send back, but I debug that STM32 did not recevied PINGREQ and then disconnected.
In this example, if STM32 reconnect if disconnected, but at 4 times, it can't connected.
Anyone can help me, thanks!
The text was updated successfully, but these errors were encountered: