zephyr/doc/releases
Simen S. Røstad adb8087707 net: mqtt: Return -1 if keepalive messages are disabled.
In mqtt_keepalive_time_left(), return -1 if keep alive messages are
disabled by setting CONFIG_MQTT_KEEPALIVE=0.

This allows to use mqtt_keepalive_time_left() directly as an input
for poll(). If no keep-alive is expected, -1 would indicate
that poll() can block until new data is available on the socket.

Signed-off-by: Simen S. Røstad <simen.rostad@nordicsemi.no>
2020-12-08 14:08:36 -05:00
..
index.rst
release-notes-1.5.rst
release-notes-1.6.rst
release-notes-1.7.rst
release-notes-1.8.rst
release-notes-1.9.rst
release-notes-1.10.rst
release-notes-1.11.rst
release-notes-1.12.rst
release-notes-1.13.rst
release-notes-1.14.rst doc: update function references to use :c:func: 2020-08-31 09:57:33 -04:00
release-notes-2.1.rst
release-notes-2.2.rst
release-notes-2.3.rst dts: remove legacy macro support 2020-10-09 08:45:38 -05:00
release-notes-2.4.rst net: openthread: OpenThread RCP mode integration into Zephyr 2020-11-19 12:34:14 +01:00
release-notes-2.5.rst net: mqtt: Return -1 if keepalive messages are disabled. 2020-12-08 14:08:36 -05:00
release-notes-2.0.rst