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 6363#define SAMPLE_MQTT_PAYLOAD_LENGTH 1024
6464
6565// ADU Values
66+ #define ADU_PPV_DTMI " dtmi:azure:iot:deviceUpdateContractModel;1"
6667#define ADU_DEVICE_SHA_SIZE 32
6768#define ADU_SHA_PARTITION_READ_BUFFER_SIZE 32
6869#define HTTP_DOWNLOAD_CHUNK 4096
@@ -934,7 +935,7 @@ static void initialize_iot_hub_client()
934935
935936 az_iot_hub_client_options options = az_iot_hub_client_options_default ();
936937 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 );
938939 options.component_names = pnp_components;
939940 options.component_names_length = sizeof (pnp_components) / sizeof (pnp_components[0 ]);
940941
You can’t perform that action at this time.
0 commit comments