Skip to content

Commit 36f6c4f

Browse files
committed
nother central update
1 parent 7bb40b9 commit 36f6c4f

File tree

1 file changed

+28
-26
lines changed

1 file changed

+28
-26
lines changed

includes/iot-develop-send-telemetry-central-csharp.md

Lines changed: 28 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
author: timlt
55
ms.service: iot-develop
66
ms.topic: include
7-
ms.date: 04/28/2021
7+
ms.date: 10/08/2021
88
ms.author: timlt
99
ms.custom: include file
1010
---
@@ -84,11 +84,13 @@ In this section, you configure your local environment, install the Azure IoT C#
8484
1. Navigate to the sample directory.
8585

8686
**Windows**
87+
8788
```console
8889
cd azure-iot-samples-csharp\iot-hub\Samples\device\PnpDeviceSamples\TemperatureController
8990
```
9091

9192
**Linux or Raspberry Pi OS**
93+
9294
```console
9395
cd azure-iot-samples-csharp/iot-hub/Samples/device/PnpDeviceSamples/TemperatureController
9496
```
@@ -109,31 +111,31 @@ In this section, you configure your local environment, install the Azure IoT C#
109111
dotnet run
110112
```
111113

112-
After your simulated device connects to your IoT Central application, it connects to the device instance you created in the application and begins to send telemetry. The connection details and telemetry output are shown in your console:
114+
After your simulated device connects to your IoT Central application, it connects to the device instance you created in the application and begins to send telemetry. The connection details and telemetry output are shown in your console:
113115

114116
```output
115-
[05/04/2021 11:53:50]info: Microsoft.Azure.Devices.Client.Samples.TemperatureControllerSample[0]
116-
Press Control+C to quit the sample.
117-
[05/04/2021 11:53:50]dbug: Microsoft.Azure.Devices.Client.Samples.TemperatureControllerSample[0]
118-
Set up the device client.
119-
[05/04/2021 11:53:50]dbug: Microsoft.Azure.Devices.Client.Samples.TemperatureControllerSample[0]
120-
Initializing via DPS
121-
[05/04/2021 11:53:56]dbug: Microsoft.Azure.Devices.Client.Samples.TemperatureControllerSample[0]
122-
Set handler for 'reboot' command.
123-
[05/04/2021 11:53:57]dbug: Microsoft.Azure.Devices.Client.Samples.TemperatureControllerSample[0]
124-
Connection status change registered - status=Connected, reason=Connection_Ok.
125-
[05/04/2021 11:53:57]dbug: Microsoft.Azure.Devices.Client.Samples.TemperatureControllerSample[0]
126-
Set handler for "getMaxMinReport" command.
127-
[05/04/2021 11:53:57]dbug: Microsoft.Azure.Devices.Client.Samples.TemperatureControllerSample[0]
128-
Set handler to receive 'targetTemperature' updates.
129-
[05/04/2021 11:53:57]dbug: Microsoft.Azure.Devices.Client.Samples.TemperatureControllerSample[0]
130-
Property: Update - component = 'deviceInformation', properties update is complete.
131-
[05/04/2021 11:53:58]dbug: Microsoft.Azure.Devices.Client.Samples.TemperatureControllerSample[0]
132-
Property: Update - { "serialNumber": "SR-123456" } is complete.
133-
[05/04/2021 11:53:58]dbug: Microsoft.Azure.Devices.Client.Samples.TemperatureControllerSample[0]
134-
Telemetry: Sent - component="thermostat1", { "temperature": 44.9 } in °C.
135-
[05/04/2021 11:53:58]dbug: Microsoft.Azure.Devices.Client.Samples.TemperatureControllerSample[0]
136-
Property: Update - component="thermostat1", { "maxTempSinceLastReboot": 44.9 } in °C is complete.
137-
[05/04/2021 11:53:58]dbug: Microsoft.Azure.Devices.Client.Samples.TemperatureControllerSample[0]
138-
Telemetry: Sent - component="thermostat2", { "temperature": 40.8 } in °C.
117+
[10/09/2021 00:29:18]info: Microsoft.Azure.Devices.Client.Samples.TemperatureControllerSample[0]
118+
Press Control+C to quit the sample.
119+
[10/09/2021 00:29:18]dbug: Microsoft.Azure.Devices.Client.Samples.TemperatureControllerSample[0]
120+
Set up the device client.
121+
[10/09/2021 00:29:18]dbug: Microsoft.Azure.Devices.Client.Samples.TemperatureControllerSample[0]
122+
Initializing via DPS
123+
[10/09/2021 00:29:38]dbug: Microsoft.Azure.Devices.Client.Samples.TemperatureControllerSample[0]
124+
Set handler for 'reboot' command.
125+
[10/09/2021 00:29:39]dbug: Microsoft.Azure.Devices.Client.Samples.TemperatureControllerSample[0]
126+
Connection status change registered - status=Connected, reason=Connection_Ok.
127+
[10/09/2021 00:29:39]dbug: Microsoft.Azure.Devices.Client.Samples.TemperatureControllerSample[0]
128+
Set handler for "getMaxMinReport" command.
129+
[10/09/2021 00:29:39]dbug: Microsoft.Azure.Devices.Client.Samples.TemperatureControllerSample[0]
130+
Set handler to receive 'targetTemperature' updates.
131+
[10/09/2021 00:29:39]dbug: Microsoft.Azure.Devices.Client.Samples.TemperatureControllerSample[0]
132+
Property: Update - component = 'deviceInformation', properties update is complete.
133+
[10/09/2021 00:29:39]dbug: Microsoft.Azure.Devices.Client.Samples.TemperatureControllerSample[0]
134+
Property: Update - { "serialNumber": "SR-123456" } is complete.
135+
[10/09/2021 00:29:40]dbug: Microsoft.Azure.Devices.Client.Samples.TemperatureControllerSample[0]
136+
Telemetry: Sent - component="thermostat1", { "temperature": 23.7 } in °C.
137+
[10/09/2021 00:29:40]dbug: Microsoft.Azure.Devices.Client.Samples.TemperatureControllerSample[0]
138+
Property: Update - component="thermostat1", { "maxTempSinceLastReboot": 23.7 } in °C is complete.
139+
[10/09/2021 00:29:40]dbug: Microsoft.Azure.Devices.Client.Samples.TemperatureControllerSample[0]
140+
Telemetry: Sent - component="thermostat2", { "temperature": 25.8 } in °C.
139141
```

0 commit comments

Comments
 (0)