DT won't ansswer when asking for desired properties
Hello.
I'm using mqtt as a protocol to communicate with IoT Hub
When reconnecting the device I follow the flow microsoft describes.
1-Device app connects to an IoT hub.
2-Device app subscribes for desired properties update notifications.
3-Device app retrieves the full document for desired properties.
After the first device's connection, I properly receive the desired properties by requesting them with an empty publish to the topic $iothub/twin/GET/?$rid={request id}.
But on following requests, I get no answer. I foud out that if I delete the device from the Hub and reprovision it, I can again get the first and unique answer to desired parameters request.
Could you please help me?
I'm using an ESP32 with slightly modified versions of pubSubCLient.h and tinyGSM.h
Heres a sample
#define TINY_GSM_MODEM_SIM7000SSL
#include