1

(4 replies, posted in wolfMQTT)

Change from Harmony 1 to 3 is a major rewrite.  I will Check with Microchip.
To me, for embedded use, the Stack is better.  The Heap can get fragmented.

Right now the Connection to Azure is working very well. Subscribe and Publish.
I just need to handle disconnects. 
MqttClient_NetDisconnect() and MqttClient_Disconnect() seem to cause exceptions an do no restore the connection.
They maybe better in later versions.
I need to handle certificate expiration, Sever timeouts, and Network disconnects.

I will Check with Microchip about updates.
If not I will need to make my own reconnect function.

Thank you for all you help

Thank you for your Response.
I will Need to look at the links.

1. I will Look (The sample is for MQTT V0.10)

2. Will 5.7.0 work with Harmony 1 or does it need Harmony 3? Or is that a question for Microchip.

3. I am making a single connection to an Azure MQTT Broker.
I did not choose small stack. I should look at that too.
The Question is how much I need add to the Heap / Stack to insure SSL is Good. I still have plenty of RAM
Can I have it do all the mallocs and hold them. I assume large stack will do less mallocs. Does either work faster?

4. I will Look.
(instructions here: https://github.com/wolfSSL/wolfssl-exam … aster/tls) this link is Bad

Right now my Subscription is working well.
This is a Commercial Product. (Or will Be)
Will the two links help a shut down and start up if the connection is lost.
My Application will run for months at a time unattended. I would like it to restore the connecyion on its own.

I am trying to Add WolfMQTT to Microchip Harmony 1.06 Project.
I am having some Issues so
1> I am Assuming the sample Works.
2>What would be the Newest version of Wolf SSL / Wolf MQTT that will work with that version of the Microchip Network Stack
    Wolf SSL =3.9.0 and Wolf MQTT = V0.10 / Wolf MQTT
3> How Much Heap does it need I am sending to Azure.
4> If I close MQTT and Net The SSL fails when I call MQTT INIT. Is there a way to leave the SSL Initialized. I may send as little as once per day so I do not want to keep the connection Open.