File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
examples/Azure_IoT_Adu_ESP32 Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change 63
63
#define SAMPLE_MQTT_PAYLOAD_LENGTH 1024
64
64
65
65
// ADU Values
66
+ #define ADU_PPV_DTMI " dtmi:azure:iot:deviceUpdateContractModel;1"
66
67
#define ADU_DEVICE_SHA_SIZE 32
67
68
#define ADU_SHA_PARTITION_READ_BUFFER_SIZE 32
68
69
#define HTTP_DOWNLOAD_CHUNK 4096
@@ -934,7 +935,7 @@ static void initialize_iot_hub_client()
934
935
935
936
az_iot_hub_client_options options = az_iot_hub_client_options_default ();
936
937
options.user_agent = AZ_SPAN_FROM_STR (AZURE_SDK_CLIENT_USER_AGENT);
937
- options.model_id = AZ_SPAN_FROM_STR (AZ_IOT_ADU_CLIENT_AGENT_MODEL_ID );
938
+ options.model_id = AZ_SPAN_FROM_STR (ADU_PPV_DTMI );
938
939
options.component_names = pnp_components;
939
940
options.component_names_length = sizeof (pnp_components) / sizeof (pnp_components[0 ]);
940
941
You can’t perform that action at this time.
0 commit comments