Hi
[MQTT] Is the keepalive of the CONNECT message set to 120 seconds?
https://docs.espressif.com/projects/esp ... /mqtt.html
said
----------------------------------------------
The explanation of MQTT keepalive states,
"MQTT keepalive, default is 120 seconds When configuring this value, keep in mind that the client attempts to communicate with the broker at half the interval that is actually set. This conservative approach allows for more attempts before the broker’s timeout occurs "
----------------------------------------------
By default, the client will send a PINGREQ message at most every 60 seconds, but is it correct to understand that the keepalive of the CONNECT message is set to 120 seconds?
(I was curious as to whether the keepalive of the CONNECT message is also set to 60 seconds, so I checked.)
Best Regards
[MQTT] Is the keepalive of the CONNECT message set to 120 seconds?
-
- Posts: 8
- Joined: Wed Oct 12, 2022 5:16 am
-
- Posts: 111
- Joined: Thu Oct 03, 2019 10:52 pm
- Contact:
Re: [MQTT] Is the keepalive of the CONNECT message set to 120 seconds?
>is it correct to understand that the keepalive of the CONNECT message is set to 120 seconds?
What is keepalive of the CONNECT message?
My understanding is that MQTT keepalive is a timeout when not sending a PINGREQ.
Please let me know if there is any mistake in my understanding.
What is keepalive of the CONNECT message?
My understanding is that MQTT keepalive is a timeout when not sending a PINGREQ.
Please let me know if there is any mistake in my understanding.
Who is online
Users browsing this forum: Bing [Bot] and 89 guests