Hi All,
I am using TI RTOS and CCS6 with tm4c129encpdt and xdc tools 3.32
I am using httpcli library for https and mqtt.
I am creating MQTT client and able to send and receive messages. Also, I am able to do https using the same.
My issue is-
When I am creating mqtt client and does not close this connection (mqtt), my https is working fine.
But when I close the connection for MQTT and again the try the HTTPS, my device is going into some hard loop.
For https-
HTTPCli struct and others things are local but TLS for https is global. I am creating TLS only one time and using the same for each HTTP connection.
For MQTT,
Upon closing the connection, I am deleting the TLS for MQTT also along with httpcli handle and all.
I tried with different combinations of HEAP and STACKS but nothing is working out. But when I close MQTT connection and along with it, if I delete the TLS of HTTPS, and upon creating the new TLS for HTTPS, my HTTPS is working fine.
What I can see is somehow closing and deleting MQTT resources (cli handle and TLS) affecting the TLS of HTTPS. It is failing into some semaphore (screenshots attached)
Let me know
Thanks
Akhi