Closed tariqmatech closed 4 years ago
I've been working with this source. I haven't gotten it working, but I believe this is how you do it.
Note that there is not currently an Arduino adapted sample for this feature, but if your plan is to adapt that sample, I would probably drop as much of that sample as you need into the current esp Arduino example and see what other files you need to add from the main C SDK.
I am able to receive device twin to arduino, but not sure how to send back the reported properties.
i see there is a function Esp32MQTTClient_ReportState which I believe is to send the state back, but not sure how the object would look like. I tried sending following but the reported property of device twin in azure is still empty.