Skip to content

Commit cee05a5

Browse files
Merge pull request #213666 from w-azure/winona-msg
Removed redundant step
2 parents 652168c + 694b698 commit cee05a5

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

articles/iot-hub/iot-hub-distributed-tracing.md

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -139,10 +139,6 @@ These instructions are for building the sample on Windows. For other environment
139139
140140
Replace the value of the `connectionString` constant with the device connection string you saved in the [register a device](../iot-develop/quickstart-send-telemetry-iot-hub.md?pivots=programming-language-ansi-c#register-a-device) section of the [Send telemetry C Quickstart](../iot-develop/quickstart-send-telemetry-iot-hub.md?pivots=programming-language-ansi-c).
141141
142-
1. Change the `MESSAGE_COUNT` define to `5000`:
143-
144-
:::code language="c" source="~/samples-iot-distributed-tracing/iothub_ll_telemetry_sample-c/iothub_ll_telemetry_sample.c" range="56-60" highlight="3":::
145-
146142
1. Find the line of code that calls `IoTHubDeviceClient_LL_SetConnectionStatusCallback` to register a connection status callback function before the send message loop. Add code under that line as shown below to call `IoTHubDeviceClient_LL_EnablePolicyConfiguration` enabling distributed tracing for the device:
147143
148144
:::code language="c" source="~/samples-iot-distributed-tracing/iothub_ll_telemetry_sample-c/iothub_ll_telemetry_sample.c" range="144-152" highlight="5":::

0 commit comments

Comments
 (0)