Skip to content
Commit 3e24eb8a authored by Michael Scott's avatar Michael Scott Committed by Anas Nashif
Browse files

samples: net: mqtt_publisher: handle EAGAIN from mqtt_live()



Now that mqtt_live() can send an EAGAIN message meaning: no ping
was generated, let's handle that in process_mqtt_and_sleep() by
skipping the call to mqtt_input() since no data will be expected.

Signed-off-by: default avatarMichael Scott <mike@foundries.io>
parent bab2f80f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment