mirror of
https://github.com/zephyrproject-rtos/zephyr
synced 2025-08-26 17:36:20 +00:00
There are scenarios where there is a NAT firewall in between MQTT client and server. In such case, the NAT TCP timeout may be shorter than MQTT keepalive timeout and TCP timeout. The the MQTT ping request message is dropped by the NAT firewall, so that it cannot be received by the server, resulting in void MQTT ping response message. There is no TCP FIN or RST at all. The application looks hang-up until TCP timeout happens on the client side, which may take too long. Therefore, the event MQTT_EVT_PINGRESP is added to inform the application that the route between client and server is still valid. Signed-off-by: PK Chan <pak.kee.chan@nordicsemi.no> |
||
---|---|---|
.. | ||
bluetooth | ||
canbus | ||
console | ||
cpp | ||
debug | ||
dfu | ||
disk | ||
fb | ||
fs | ||
jwt | ||
logging | ||
mgmt | ||
net | ||
power | ||
random | ||
settings | ||
shell | ||
stats | ||
storage | ||
testsuite | ||
tracing | ||
usb | ||
CMakeLists.txt | ||
Kconfig |