Skip to content

Commit 6cd968b

Browse files
committed
Merge branch 'master' of https://github.com/MicrosoftDocs/azure-docs-pr into tamram21-1018
2 parents 0e3f1ce + 9c7e080 commit 6cd968b

14 files changed

+64
-65
lines changed

articles/iot-develop/quickstart-send-telemetry-central.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
title: Quickstart - connect a device and send telemetry to Azure IoT Central
3-
description: This quickstart shows device developers how to connect a device securely to Azure IoT Central. You use an Azure IoT device SDK for C, C#, Python, Node.js, or Java, to run a client app on a simulated device, then you connect to IoT Central and send telemetry.
3+
description: This quickstart shows device developers how to connect a device securely to Azure IoT Central. You use an Azure IoT device SDK for C, C#, Python, Node.js, or Java, to run a client app on a device, then you connect to IoT Central and send telemetry.
44
author: timlt
55
ms.author: timlt
66
ms.service: iot-develop
@@ -47,7 +47,7 @@ zone_pivot_groups: iot-develop-set1
4747
:::zone-end
4848

4949
## View telemetry
50-
After the simulated device connects to IoT Central, it begins sending telemetry. You can view the telemetry and other details about connected devices in IoT Central.
50+
After the device connects to IoT Central, it begins sending telemetry. You can view the telemetry and other details about connected devices in IoT Central.
5151

5252
In IoT Central, select **Devices**, click your device name, then select the **Overview** tab. This view displays a graph of the temperatures from the two thermostat devices.
5353

@@ -68,7 +68,7 @@ To remove the Azure IoT Central sample application and all its devices and resou
6868

6969
## Next steps
7070

71-
In this quickstart, you learned a basic Azure IoT application workflow for securely connecting a device to the cloud and sending device-to-cloud telemetry. You used Azure IoT Central to create an application and a device instance. Then you used an Azure IoT device SDK to create a simulated device, connect to IoT Central, and send telemetry. You also used IoT Central to monitor the telemetry.
71+
In this quickstart, you learned a basic Azure IoT application workflow for securely connecting a device to the cloud and sending device-to-cloud telemetry. You used Azure IoT Central to create an application and a device instance. Then you used an Azure IoT device SDK to create a temperature controller, connect to IoT Central, and send telemetry. You also used IoT Central to monitor the telemetry.
7272

7373
As a next step, explore the following articles to learn more about building device solutions with Azure IoT.
7474

articles/iot-develop/quickstart-send-telemetry-iot-hub.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
title: Send device telemetry to Azure IoT Hub quickstart
3-
description: This quickstart shows device developers how to connect a device securely to Azure IoT Hub. You use an Azure IoT device SDK for C, C#, Python, Node.js, or Java, to build a simulated device client for Windows, Linux, or Raspberry Pi OS (Raspian). Finally you connect the device to Azure IoT Hub and send telemetry.
3+
description: This quickstart shows device developers how to connect a device securely to Azure IoT Hub. You use an Azure IoT device SDK for C, C#, Python, Node.js, or Java, to build a device client for Windows, Linux, or Raspberry Pi OS (Raspian). Finally you connect the device to Azure IoT Hub and send telemetry.
44
author: timlt
55
ms.author: timlt
66
ms.service: iot-develop
@@ -66,7 +66,7 @@ To delete a resource group by name:
6666
6767
## Next steps
6868
69-
In this quickstart, you learned a basic Azure IoT application workflow for securely connecting a device to the cloud and sending device-to-cloud telemetry. You used Azure CLI to create an Azure IoT hub and a device instance. Then you used an Azure IoT device SDK to create a simulated device, connect it to the hub, and send telemetry. You also used Azure portal to monitor telemetry.
69+
In this quickstart, you learned a basic Azure IoT application workflow for securely connecting a device to the cloud and sending device-to-cloud telemetry. You used Azure CLI to create an Azure IoT hub and a device instance. Then you used an Azure IoT device SDK to create a temperature controller, connect it to the hub, and send telemetry. You also used Azure CLI to monitor telemetry.
7070
7171
As a next step, explore the following articles to learn more about building device solutions with Azure IoT.
7272

includes/iot-develop-create-central-app-with-device.md

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,16 +33,15 @@ To create a new application:
3333
:::image type="content" source="media/iot-develop-create-central-app-with-device/iot-central-created.png" alt-text="IoT Central new application dashboard":::
3434

3535
## Add a device
36-
In this section, you add a new device to your IoT Central application. The device is an instance of a device template that represents a real or simulated device that you'll connect to the application.
36+
In this section, you add a new device to your IoT Central application. The device is an instance of a device template that represents a device that you'll connect to the application.
3737

3838
To create a new device:
3939
1. In the left pane select **Devices**, then select **+New**.
40-
1. Leave **Device template** set to *Unassigned*.
40+
1. Leave **Device template** set to *Unassigned* and **Simulate this device?** set to *No*.
4141

42-
> [!NOTE]
43-
> In this quickstart for simplicity, you connect a simulated device that uses an unassigned template. If you continue using IoT Central to manage devices, you'll learn about using device templates. For an overview of working with device templates, see [Quickstart: Add a simulated device to your IoT Central application](../articles/iot-central/core/quick-create-simulated-device.md).
4442
1. Set a friendly **Device name** and **Device ID**. Optionally, use the generated values.
4543
:::image type="content" source="media/iot-develop-create-central-app-with-device/iot-central-create-device.png" alt-text="IoT Central new device dialog":::
44+
4645
1. Select **Create**.
4746

4847
The created device appears in the **All devices** list.

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

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111

1212
[![Browse code](../articles/iot-develop/media/common/browse-code.svg)](https://github.com/Azure/azure-iot-sdk-c/tree/master/iothub_client/samples/pnp)
1313

14-
In this quickstart, you learn a basic Azure IoT application development workflow. First you create an Azure IoT Central application for hosting devices. Then you use an Azure IoT device SDK sample to run a simulated temperature controller, connect it securely to IoT Central, and send telemetry.
14+
In this quickstart, you learn a basic Azure IoT application development workflow. First you create an Azure IoT Central application for hosting devices. Then you use an Azure IoT device SDK sample to create a temperature controller, connect it securely to IoT Central, and send telemetry. The temperature controller sample application runs on your local machine and generates simulated sensor data to send to IoT Central.
1515

1616
## Prerequisites
1717
This quickstart runs on Windows, Linux, and Raspberry Pi. It's been tested on the following OS and device versions:
@@ -51,14 +51,14 @@ To complete this quickstart on Windows, install Visual Studio 2019 and add the r
5151

5252
[!INCLUDE [iot-develop-create-central-app-with-device](iot-develop-create-central-app-with-device.md)]
5353

54-
## Run a simulated device
55-
In this section, you configure your local environment, install the Azure IoT C device SDK, and run a sample that creates a simulated temperature controller.
54+
## Run a device
55+
In this section, you configure your local environment, install the Azure IoT C device SDK, and run a sample that creates a temperature controller.
5656

5757
### Configure your environment
5858

5959
1. Open a console to install the Azure IoT C device SDK and run the code sample. For Windows, select **Start**, type *Developer Command Prompt for VS 2019*, and open the console. For Linux and Raspberry Pi OS, open a terminal for Bash commands.
6060

61-
1. Set the following environment variables, using the appropriate commands for your console. The simulated device uses these values to connect to IoT Central. For `IOTHUB_DEVICE_DPS_ID_SCOPE`, `IOTHUB_DEVICE_DPS_DEVICE_KEY`, and `IOTHUB_DEVICE_DPS_DEVICE_ID`, use the device connection values that you saved previously.
61+
1. Set the following environment variables, using the appropriate commands for your console. The device uses these values to connect to IoT Central. For `IOTHUB_DEVICE_DPS_ID_SCOPE`, `IOTHUB_DEVICE_DPS_DEVICE_KEY`, and `IOTHUB_DEVICE_DPS_DEVICE_ID`, use the device connection values that you saved previously.
6262

6363
**CMD**
6464

@@ -121,7 +121,7 @@ In this section, you configure your local environment, install the Azure IoT C d
121121
cmake/iothub_client/samples/pnp/pnp_temperature_controller/pnp_temperature_controller
122122
```
123123

124-
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:
124+
After your 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:
125125
126126
```output
127127
Info: Initiating DPS client to retrieve IoT Hub connection information

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

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111

1212
[![Browse code](../articles/iot-develop/media/common/browse-code.svg)](https://github.com/Azure-Samples/azure-iot-samples-csharp/tree/main/iot-hub/Samples/device/PnpDeviceSamples)
1313

14-
In this quickstart, you learn a basic Azure IoT application development workflow. First you create an Azure IoT Central application for hosting devices. Then you use an Azure IoT device SDK sample to run a simulated temperature controller, connect it securely to IoT Central, and send telemetry.
14+
In this quickstart, you learn a basic Azure IoT application development workflow. First you create an Azure IoT Central application for hosting devices. Then you use an Azure IoT device SDK sample to create a temperature controller, connect it securely to IoT Central, and send telemetry. The temperature controller sample application runs on your local machine and generates simulated sensor data to send to IoT Central.
1515

1616
## Prerequisites
1717

@@ -32,14 +32,14 @@ Install the following prerequisites on your development machine:
3232

3333
[!INCLUDE [iot-develop-create-central-app-with-device](iot-develop-create-central-app-with-device.md)]
3434

35-
## Run a simulated device
36-
In this section, you configure your local environment, install the Azure IoT C# samples, and run a sample that creates a simulated temperature controller.
35+
## Run a device
36+
In this section, you configure your local environment, install the Azure IoT C# samples, and run a sample that creates a temperature controller.
3737

3838
### Configure your environment
3939

4040
1. Open a console such as Windows CMD, PowerShell, or Bash.
4141

42-
1. Set the following environment variables, using the appropriate commands for your console. The simulated device uses these values to connect to IoT Central. For `IOTHUB_DEVICE_DPS_ID_SCOPE`, `IOTHUB_DEVICE_DPS_DEVICE_KEY`, and `IOTHUB_DEVICE_DPS_DEVICE_ID`, use the device connection values that you saved previously.
42+
1. Set the following environment variables, using the appropriate commands for your console. The device uses these values to connect to IoT Central. For `IOTHUB_DEVICE_DPS_ID_SCOPE`, `IOTHUB_DEVICE_DPS_DEVICE_KEY`, and `IOTHUB_DEVICE_DPS_DEVICE_ID`, use the device connection values that you saved previously.
4343

4444
**CMD (Windows)**
4545

@@ -106,13 +106,13 @@ In this section, you configure your local environment, install the Azure IoT C#
106106

107107
### Run the code
108108

109-
1. In your console, run the code sample. The sample creates a simulated temperature controller with thermostat sensors.
109+
1. In your console, run the code sample. The sample creates a temperature controller with thermostat sensors.
110110

111111
```console
112112
dotnet run
113113
```
114114

115-
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:
115+
After your 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:
116116

117117
```output
118118
[10/09/2021 00:29:18]info: Microsoft.Azure.Devices.Client.Samples.TemperatureControllerSample[0]

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

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111

1212
[![Browse code](../articles/iot-develop/media/common/browse-code.svg)](https://github.com/Azure/azure-iot-sdk-java/tree/main/device/iot-device-samples/pnp-device-sample)
1313

14-
In this quickstart, you learn a basic Azure IoT application development workflow. First you create an Azure IoT Central application for hosting devices. Then you use an Azure IoT device SDK sample to run a simulated temperature controller, connect it securely to IoT Central, and send telemetry.
14+
In this quickstart, you learn a basic Azure IoT application development workflow. First you create an Azure IoT Central application for hosting devices. Then you use an Azure IoT device SDK sample to create a temperature controller, connect it securely to IoT Central, and send telemetry. The temperature controller sample application runs on your local machine and generates simulated sensor data to send to IoT Central.
1515

1616
## Prerequisites
1717
- A development machine with Java SE Development Kit 8 or later. You can download the Java 8 (LTS) JDK for multiple platforms from [Download Zulu Builds of OpenJDK](https://www.azul.com/downloads/zulu-community/). In the installer, select the **Add to Path** option.
@@ -20,14 +20,14 @@ In this quickstart, you learn a basic Azure IoT application development workflow
2020

2121
[!INCLUDE [iot-develop-create-central-app-with-device](iot-develop-create-central-app-with-device.md)]
2222

23-
## Run a simulated device
24-
In this section, you configure your local environment, install the Azure IoT Java device SDK, and run a sample that creates a simulated temperature controller.
23+
## Run a device
24+
In this section, you configure your local environment, install the Azure IoT Java device SDK, and run a sample that creates a temperature controller.
2525

2626
### Configure your environment
2727

2828
1. Open a console such as Windows CMD, PowerShell, or Bash.
2929

30-
1. Set the following environment variables, using the appropriate commands for your console. The simulated device uses these values to connect to IoT Central. For `IOTHUB_DEVICE_DPS_ID_SCOPE`, `IOTHUB_DEVICE_DPS_DEVICE_KEY`, and `IOTHUB_DEVICE_DPS_DEVICE_ID`, use the device connection values that you saved previously.
30+
1. Set the following environment variables, using the appropriate commands for your console. The device uses these values to connect to IoT Central. For `IOTHUB_DEVICE_DPS_ID_SCOPE`, `IOTHUB_DEVICE_DPS_DEVICE_KEY`, and `IOTHUB_DEVICE_DPS_DEVICE_ID`, use the device connection values that you saved previously.
3131

3232
**Windows CMD**
3333

@@ -76,12 +76,12 @@ In this section, you configure your local environment, install the Azure IoT Jav
7676
cd device/iot-device-samples/pnp-device-sample/temperature-controller-device-sample
7777
```
7878

79-
1. In your console, run the following code sample. The sample creates a simulated temperature controller with thermostat sensors.
79+
1. In your console, run the following code sample. The sample creates a temperature controller with thermostat sensors.
8080
```console
8181
mvn exec:java -Dexec.mainClass="samples.com.microsoft.azure.sdk.iot.device.TemperatureController"
8282
```
8383

84-
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. After some initial provisioning details, the console start to output the telemetry for the temperature controller.
84+
After your device connects to your IoT Central application, it connects to the device instance you created in the application and begins to send telemetry. After some initial provisioning details, the console start to output the telemetry for the temperature controller.
8585
8686
```output
8787
2021-05-13 15:39:26.411 DEBUG Mqtt:253 - Sending MQTT SUBSCRIBE packet for topic $iothub/twin/res/#

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

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111

1212
[![Browse code](../articles/iot-develop/media/common/browse-code.svg)](https://github.com/Azure/azure-iot-sdk-node/tree/master/device/samples/javascript/pnp)
1313

14-
In this quickstart, you learn a basic Azure IoT application development workflow. First you create an Azure IoT Central application for hosting devices. Then you use an Azure IoT device SDK sample to run a simulated temperature controller, connect it securely to IoT Central, and send telemetry.
14+
In this quickstart, you learn a basic Azure IoT application development workflow. First you create an Azure IoT Central application for hosting devices. Then you use an Azure IoT device SDK sample to create a temperature controller, connect it securely to IoT Central, and send telemetry. The temperature controller sample application runs on your local machine and generates simulated sensor data to send to IoT Central.
1515

1616
## Prerequisites
1717
This quickstart runs on Windows, Linux, and Raspberry Pi. It's been tested on the following OS and device versions:
@@ -27,14 +27,14 @@ Install the following prerequisites on your development machine:
2727

2828
[!INCLUDE [iot-develop-create-central-app-with-device](iot-develop-create-central-app-with-device.md)]
2929

30-
## Run a simulated device
31-
In this section, you configure your local environment, install the Azure IoT Node.js device SDK, and run a sample that creates a simulated temperature controller.
30+
## Run a device
31+
In this section, you configure your local environment, install the Azure IoT Node.js device SDK, and run a sample that creates a temperature controller.
3232

3333
### Configure your environment
3434

3535
1. Open a console such as Windows CMD, PowerShell, or Bash.
3636

37-
1. Set the following environment variables, using the appropriate commands for your console. The simulated device uses these values to connect to IoT Central. For `IOTHUB_DEVICE_DPS_ID_SCOPE`, `IOTHUB_DEVICE_DPS_DEVICE_KEY`, and `IOTHUB_DEVICE_DPS_DEVICE_ID`, use the device connection values that you saved previously.
37+
1. Set the following environment variables, using the appropriate commands for your console. The device uses these values to connect to IoT Central. For `IOTHUB_DEVICE_DPS_ID_SCOPE`, `IOTHUB_DEVICE_DPS_DEVICE_KEY`, and `IOTHUB_DEVICE_DPS_DEVICE_ID`, use the device connection values that you saved previously.
3838

3939
**CMD (Windows)**
4040

@@ -96,12 +96,12 @@ In this section, you configure your local environment, install the Azure IoT Nod
9696

9797
### Run the code
9898

99-
1. In your console, run the following code sample from the SDK. The sample creates a simulated temperature controller with thermostat sensors.
99+
1. In your console, run the following code sample from the SDK. The sample creates a temperature controller with thermostat sensors.
100100
```console
101101
node pnpTemperatureController.js
102102
```
103103

104-
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:
104+
After your 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:
105105
106106
```output
107107
registration succeeded

0 commit comments

Comments
 (0)