Closed BlimbBoat closed 3 hours ago
Noticed that I was missing the CONFIG_NET_LOG=y. Figured out how to solve the NetRead error by increasing my CONFIG_NET_BUF_DATA_SIZE= 4096.
Still have an issue with the Socket Connect. But have to find some information about it first.
Edit: seems to be -313
Hi all,
Goal and working status
I am using Zephyr RTOS and would like to use WolfMQTT to communicate to a MQTT broker using TLS v1.3 and MQTT 5. I managed to communicate using MQTTv3.1.1 and without TLS with the broker.
Current situation
Currently I am trying to communicate with TLSv1.2 and MQTTv3.1.1, using mqttclient_test for now. With some minor changes I managed to get to the point that TLS Setup is successful and a Client Hello has been succesfully send and received by the MQTT broker.
While debugging I can see that the code fails at case FINISHED_DONE while trying to process a reply.
My output from my terminal can be seen below (without WOLFSSL_DEBUG as quite some messages are dropped).
Also attached a Wireshark image.
Any insight is greatly appreciated. Thanks!