zephyr/subsys/net/lib
Michael Scott bab2f80fa7 net: mqtt: mqtt_live should only return success when ping sent
Users of mqtt_live() have no idea when it actually sends a ping.
As a result it's very hard to know when to use mqtt_input() to
process the incoming PINGACK.

Instead of returning a 0 result when a ping isn't generated in
mqtt_live(), let's return -EAGAIN.

Signed-off-by: Michael Scott <mike@foundries.io>
2020-01-28 15:45:08 -05:00
..
coap include: Fix use of <atomic.h> -> <sys/atomic.h> 2019-12-10 08:39:37 -05:00
config net: config: Initialize semaphore before it's used 2019-12-13 14:42:26 +02:00
conn_mgr kconfig: Clean up header comments and make them consistent 2019-11-04 17:31:27 -05:00
dns net: dns: Support multiple simultaneous mDNS requests 2020-01-24 16:22:18 +02:00
http kconfig: Clean up header comments and make them consistent 2019-11-04 17:31:27 -05:00
lwm2m net: lwm2m: add optional timestamp resources to some IPSO objects 2019-12-18 10:43:59 +02:00
mqtt net: mqtt: mqtt_live should only return success when ping sent 2020-01-28 15:45:08 -05:00
openthread dts: Rename generated_dts_board*.{h,conf} to devicetree*.{h,conf} 2020-01-17 17:57:59 +01:00
sntp kconfig: Clean up header comments and make them consistent 2019-11-04 17:31:27 -05:00
sockets net: sockets: Rework ioctl poll helpers error handling 2020-01-22 22:43:54 -05:00
socks kconfig: Clean up header comments and make them consistent 2019-11-04 17:31:27 -05:00
tls_credentials kconfig: Clean up header comments and make them consistent 2019-11-04 17:31:27 -05:00
utils include: net: socketutils: Allow to build for CONFIG_POSIX_API 2019-09-12 17:30:29 +03:00
websocket tests: net: websocket: Add TX unit tests for websocket API 2020-01-28 19:49:16 +02:00
CMakeLists.txt net: websocket: client: Simple API for Websocket client 2019-10-04 16:38:34 +03:00
Kconfig kconfig: Clean up header comments and make them consistent 2019-11-04 17:31:27 -05:00