You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: includes/iot-pnp-service-python.md
+12-4Lines changed: 12 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -40,13 +40,13 @@ To learn more about the sample configuration, see the [sample readme](https://gi
40
40
41
41
In this quickstart, you use a sample thermostat device, written in Python, as the IoT Plug and Play device. To run the sample device:
42
42
43
-
1. Open a terminal window in a folder of your choice. Run the following command to clone the [Azure IoT Python SDK](https://github.com/Azure/azure-iot-sdk-python) GitHub repository into this location:
43
+
1. Open a terminal window in a folder of your choice. Run the following command to clone the [Azure IoT Device Python SDK](https://github.com/Azure/azure-iot-sdk-python) GitHub repository into this location:
1. This terminal window is used as your **device** terminal. Go to the folder of your cloned repository, and navigate to the */azure-iot-sdk-python/azure-iot-device/samples/pnp* folder.
49
+
1. This terminal window is used as your **device** terminal. Go to the folder of your cloned repository, and navigate to the */azure-iot-sdk-python/samples/pnp* folder.
50
50
51
51
1. Run the sample thermostat device with the following command:
52
52
@@ -60,9 +60,17 @@ In this quickstart, you use a sample thermostat device, written in Python, as th
60
60
61
61
In this quickstart, you use a sample IoT solution in Python to interact with the sample device you just set up.
62
62
63
-
1. Open another terminal window to use as your **service** terminal.
64
63
65
-
1. Navigate to the */azure-iot-sdk-python/azure-iot-hub/samples* folder of the cloned Python SDK repository.
64
+
65
+
66
+
67
+
1. Open another terminal window to use as your **service** terminal. Run the following command to clone the [Azure IoT Hub Python SDK](https://github.com/Azure/azure-iot-hub-python) GitHub repository into this location:
1. Navigate to the */azure-iot-hub-python/samples* folder of the cloned Python SDK repository.
66
74
67
75
1. Open the *registry_manager_pnp_sample.py* file and review the code. This sample shows how to use the **IoTHubRegistryManager** class to interact with your IoT Plug and Play device.
0 commit comments