Skip to content

Commit dfa078d

Browse files
authored
Merge pull request #163057 from wesmc7777/issues
Eng_Hackathon updates to Iot Hub NodeJs RasberryPi
2 parents 9d19ec1 + bf55366 commit dfa078d

File tree

5 files changed

+33
-7
lines changed

5 files changed

+33
-7
lines changed

articles/iot-hub/iot-hub-raspberry-pi-kit-c-get-started.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -229,6 +229,15 @@ One way to monitor messages received by your IoT hub from your device is to use
229229

230230
For more ways to process data sent by your device, continue on to the next section.
231231

232+
## Clean up resources
233+
234+
You can use the resources created in this topic with other tutorials and quickstarts in this document set. If you plan to continue on to work with other quickstarts or with the tutorials, do not clean up the resources created in this topic. If you do not plan to continue, use the following steps to delete all resources created by this topic in the Azure portal.
235+
236+
1. From the left-hand menu in the Azure portal, select **All resources** and then select the IoT Hub you created.
237+
1. At the top of the IoT Hub overview pane, click **Delete**.
238+
1. Enter your hub name and click **Delete** again to confirm permanently deleting the IoT Hub.
239+
240+
232241
## Next steps
233242

234243
You’ve run a sample application to collect sensor data and send it to your IoT hub.

articles/iot-hub/iot-hub-raspberry-pi-kit-node-get-started.md

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,14 @@ Prepare the microSD card for installation of the Raspberry Pi OS image.
118118

119119
![The Raspberry Pi OS with Preferences menu](./media/iot-hub-raspberry-pi-kit-node-get-started/1-raspbian-preferences-menu.png)
120120

121-
4. On the **Interfaces** tab, set **I2C** and **SSH** to **Enable**, and then click **OK**. If you don't have physical sensors and want to use simulated sensor data, this step is optional.
121+
4. On the **Interfaces** tab, set **SSH** and **I2C** to **Enable**, and then click **OK**.
122+
123+
| Interface | Description |
124+
| --------- | ----------- |
125+
| *SSH* | Secure Shell (SSH) is used to remote into the Raspberry Pi with a remote command-line. This is the preferred method for issuing the commands to your Raspberry Pi remotely in this document. |
126+
| *I2C* | Inter-integrated Circuit (I2C) is a communications protocol used to interface with hardware such as sensors. This interface is required for interfacing with physical sensors in this topic.|
127+
128+
If you don't have physical sensors and want to use simulated sensor data from your Raspberry Pi device, you can leave **I2C** disabled.
122129

123130
![Enable I2C and SSH on Raspberry Pi](./media/iot-hub-raspberry-pi-kit-node-get-started/2-enable-i2c-ssh-on-raspberry-pi.png)
124131

@@ -250,6 +257,14 @@ One way to monitor messages received by your IoT hub from your device is to use
250257

251258
For more ways to process data sent by your device, continue on to the next section.
252259

260+
## Clean up resources
261+
262+
You can use the resources created in this topic with other tutorials and quickstarts in this document set. If you plan to continue on to work with other quickstarts or with the tutorials, do not clean up the resources created in this topic. If you do not plan to continue, use the following steps to delete all resources created by this topic in the Azure portal.
263+
264+
1. From the left-hand menu in the Azure portal, select **All resources** and then select the IoT Hub you created.
265+
1. At the top of the IoT Hub overview pane, click **Delete**.
266+
1. Enter your hub name and click **Delete** again to confirm permanently deleting the IoT Hub.
267+
253268
## Next steps
254269

255270
You've run a sample application to collect sensor data and send it to your IoT hub.
7.05 KB
Loading

includes/iot-hub-include-create-device.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,13 +17,15 @@ In this section, you create a device identity in the identity registry in your I
1717

1818
![Create device identity in portal](./media/iot-hub-include-create-device/create-identity-portal-vs2019.png)
1919

20-
1. In **Create a device**, provide a name for your new device, such as **myDeviceId**, and select **Save**. This action creates a device identity for your IoT hub.
20+
1. In **Create a device**, provide a name for your new device, such as **myDeviceId**, and select **Save**. This action creates a device identity for your IoT hub. Leave **Auto-generate keys** checked so that the primary and secondary keys will be generated automatically.
2121

2222
![Add a new device](./media/iot-hub-include-create-device/create-a-device-vs2019.png)
2323

2424
[!INCLUDE [iot-hub-pii-note-naming-device](iot-hub-pii-note-naming-device.md)]
2525

26-
1. After the device is created, open the device from the list in the **IoT devices** pane. Copy the **Primary Connection String** to use later.
26+
1. After the device is created, open the device from the list in the **IoT devices** pane. Copy the **Primary Connection String**. This connection string is used by device code to communicate with the hub.
27+
28+
By default, the keys and connection strings are masked as they are sensitive information. If you click the eye icon, they are revealed as shown in the image below. It is not necessary to reveal them to copy them with the copy button.
2729

2830
![Device connection string](./media/iot-hub-include-create-device/device-details-vs2019.png)
2931

includes/iot-hub-include-create-hub.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,15 +26,15 @@ This section describes how to create an IoT hub using the [Azure portal](https:/
2626

2727
- **Region**: Select the region in which you want your hub to be located. Select the location closest to you. Some features, such as [IoT Hub device streams](../articles/iot-hub/iot-hub-device-streams-overview.md), are only available in specific regions. For these limited features, you must select one of the supported regions.
2828

29-
- **IoT Hub Name**: Enter a name for your hub. This name must be globally unique.
29+
- **IoT Hub Name**: Enter a name for your hub. This name must be globally unique, with a length between 3 and 50 alphanumeric characters. The name can also include the dash (`'-'`) character.
3030

3131
[!INCLUDE [iot-hub-pii-note-naming-hub](iot-hub-pii-note-naming-hub.md)]
3232

3333
:::image type="content" source="./media/iot-hub-include-create-hub/iot-hub-create-screen-basics.png" alt-text="Create a hub in the Azure portal.":::
3434

3535
1. Select **Next: Networking** to continue creating your hub.
3636

37-
Choose the endpoints that can connect to your IoT Hub. You can select the default setting **Public endpoint (all networks)**, or choose **Public endpoint (selected IP ranges)**, or **Private endpoint**. Accept the default setting for this example.
37+
Choose the endpoints that devices can use to connect to your IoT Hub. You can select the default setting **Public endpoint (all networks)**, or choose **Public endpoint (selected IP ranges)**, or **Private endpoint**. Accept the default setting for this example.
3838

3939
:::image type="content" source="./media/iot-hub-include-create-hub/iot-hub-create-network-screen.png" alt-text="Choose the endpoints that can connect.":::
4040

@@ -57,12 +57,12 @@ This section describes how to create an IoT hub using the [Azure portal](https:/
5757

5858
1. Select **Next: Tags** to continue to the next screen.
5959

60-
Tags are name/value pairs. You can assign the same tag to multiple resources and resource groups to categorize resources and consolidate billing. For more information, see [Use tags to organize your Azure resources](../articles/azure-resource-manager/management/tag-resources.md).
60+
Tags are name/value pairs. You can assign the same tag to multiple resources and resource groups to categorize resources and consolidate billing. In this document, you won't be adding any tags. For more information, see [Use tags to organize your Azure resources](../articles/azure-resource-manager/management/tag-resources.md).
6161

6262
:::image type="content" source="./media/iot-hub-include-create-hub/iot-hub-create-tags.png" alt-text="Assign tags for the hub using the Azure portal.":::
6363

6464
1. Select **Next: Review + create** to review your choices. You see something similar to this screen, but with the values you selected when creating the hub.
6565

6666
:::image type="content" source="./media/iot-hub-include-create-hub/iot-hub-review-and-create.png" alt-text="Review information for creating the new hub.":::
6767

68-
1. Select **Create** to create your new hub. Creating the hub takes a few minutes.
68+
1. Select **Create** to start the deployment of your new hub. Your deployment will be in progress a few minutes while the hub is being created. Once the deployment is complete, click **Go to resource** to open the new hub.

0 commit comments

Comments
 (0)