Azure IoT C SDK
|
This struct defines properties reported from the client. This corresponds to what DTDLv2 calls a "read-only property." This structure is filled out by the application and can be serialized into a payload for IoT Hub via IoTHubClient_Properties_Serializer_CreateReported()
.
More...
#include <iothub_client_properties.h>
Data Fields | |
int | structVersion |
Version of the structure. Currently must be IOTHUB_CLIENT_PROPERTY_REPORTED_STRUCT_VERSION_1. | |
const char * | name |
Name of the property. | |
const char * | value |
Value of the property. This must be legal JSON. Strings need to be escaped by the application, e.g. reported.value="\"MyValue"";. | |
This struct defines properties reported from the client. This corresponds to what DTDLv2 calls a "read-only property." This structure is filled out by the application and can be serialized into a payload for IoT Hub via IoTHubClient_Properties_Serializer_CreateReported()
.