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: articles/iot-develop/libraries-sdks.md
+1-2Lines changed: 1 addition & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -32,8 +32,7 @@ The IoT Plug and Play libraries and SDKs enable developers to build IoT solution
32
32
| .NET - IoT Hub service |[NuGet 1.27.1](https://www.nuget.org/packages/Microsoft.Azure.Devices)|[GitHub](https://github.com/Azure/azure-iot-sdk-csharp)|[Samples](https://github.com/Azure-Samples/azure-iot-samples-csharp/tree/main/iot-hub/Samples/service/PnpServiceSamples)| N/A |[Reference](/dotnet/api/microsoft.azure.devices)|
33
33
| Java - IoT Hub service |[Maven 1.26.0](https://mvnrepository.com/artifact/com.microsoft.azure.sdk.iot/iot-service-client/1.26.0)|[GitHub](https://github.com/Azure/azure-iot-sdk-java)|[Samples](https://github.com/Azure/azure-iot-sdk-java/tree/main/service/iot-service-samples/pnp-service-sample)| N/A |[Reference](/java/api/com.microsoft.azure.sdk.iot.service)|
34
34
| Node - IoT Hub service |[npm 1.13.0](https://www.npmjs.com/package/azure-iothub)|[GitHub](https://github.com/Azure/azure-iot-sdk-node)|[Samples](https://github.com/Azure/azure-iot-sdk-node/tree/main/service/samples)| N/A |[Reference](/javascript/api/azure-iothub/)|
35
-
| Python - Digital Twins service |[pip 2.2.3](https://pypi.org/project/azure-iot-hub)|[GitHub](https://github.com/Azure/azure-iot-sdk-python)|[Samples](https://github.com/Azure/azure-iot-sdk-python/tree/main/samples)|[Interact with IoT Hub Digital Twins API](tutorial-service.md)| N/A |
36
-
| Node - Digital Twins service |[npm 1.13.0](https://www.npmjs.com/package/azure-iot-digitaltwins-service)|[GitHub](https://github.com/Azure/azure-iot-sdk-node)|[Samples](https://github.com/Azure/azure-iot-sdk-node/tree/main/service/samples/javascript)|[Interact with IoT Hub Digital Twins API](tutorial-service.md)| N/A |
35
+
| Python - IoT Hub service |[pip 2.2.3](https://pypi.org/project/azure-iot-hub)|[GitHub](https://github.com/Azure/azure-iot-hub-python)|[Samples](https://github.com/Azure/azure-iot-hub-python/tree/main/samples)| N/A |[Reference](/python/api/azure-iot-hub/)|
Copy file name to clipboardExpand all lines: articles/iot-dps/quick-create-simulated-device-x509.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -375,8 +375,8 @@ You won't need the Git Bash prompt for the rest of this quickstart. However, you
375
375
6. Copy the device certificate and private key to the project directory for the X.509 device provisioning sample. The path given is relative to the location where you downloaded the SDK.
You won't need the Git Bash prompt forthe rest of this quickstart. However, you may want to keep it open to check your certificate if you have problemsin later steps.
@@ -661,7 +661,7 @@ In this section, you'll use your Windows command prompt.
661
661
1. In your Windows command prompt, go to the directory of the [provision_x509.py](https://github.com/Azure/azure-iot-sdk-python/blob/main/samples/async-hub-scenarios/provision_x509.py) sample. The path shown is relative to the location where you cloned the SDK.
662
662
663
663
```cmd
664
-
cd ./azure-iot-sdk-python/azure-iot-device/samples/async-hub-scenarios
664
+
cd ./azure-iot-sdk-python/samples/async-hub-scenarios
665
665
```
666
666
667
667
This sample uses six environment variables to authenticate and provision an IoT device using DPS. These environment variables are:
@@ -705,7 +705,7 @@ In this section, you'll use your Windows command prompt.
705
705
1. Run the sample. The sample will connect to DPS, which will provision the device to an IoT hub. After the device is provisioned, the sample will send some test messages to the IoT hub.
> *The C# SDK defines the default value of the MQTT KeepAliveInSeconds property as 300 seconds but in reality the SDK sends a ping request four times per keep-alive duration set. This means the SDK sends a keep-alive ping every 75 seconds.
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