Microsoft seems to have recently added support for JSON Array fields in the Device Twin. I can successfully set an array as a desired property and can receive and parse it on my device. However, when I try to generate a reported property in array form and send this from my device back to the cloud, it fails with a 400 error.
I am using version 0.2.0.0-26xenial of the Azure IoT C SDK to implement an IoTHubDeviceClient
and then using IoTHubDeviceClient_SendReportedState()
to send updates to the reported properties.
What is the latest on support for JSON arrays in the device twin?