User Activity

Attached is the test code for the tcp socket loop test. I have seen very high failures up to 26 failures out of 40 tcp socket create/connect attempts.
Code is attached. When the mosquitto server is shut down, the code loops, failing to connect via this call nxd_mqtt_client_login_set(&mqtt_client,MQTTNAME, STRLEN(MQTTNAME),MQTTPASS, STRLEN(MQTTPASS)). After failing, nxd_mqtt_client_disconnect(&mq...
In this loop the mqtt client is created, connected and as long as the mqtt server/broker is up, the client continues processing messages. But when the remote mqtt server/broker is manually shut down, and after the timeout expires, nxd_mqtt_client_c...