Open paulbartell opened 5 months ago
I should point out that building this I'm getting:
error: 'lBytesRead' may be used uninitialized [-Werror=maybe-uninitialized]
in espTlsTransportRecv
I'll put this in a separate comment. I tried this solution and was updating a shadow document. However sometimes it would sends empty messages. I tried increasing xTimeout value to 10000 and that reduces the number of empty updates.
edit: never mind, my previous solution also demonstrates this problem.
Improve mqtt performance by using a non-blocking socket to connect coreMQTT to the MQTT broker.