Skip to content

Commit 5f9d515

Browse files
committed
Edits
1 parent 8983624 commit 5f9d515

4 files changed

+8
-38
lines changed

includes/iot-hub-howto-cloud-to-device-messaging-dotnet.md

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,6 @@ ms.date: 12/19/2024
88
ms.custom: [amqp, mqtt, "Role: Cloud Development", "Role: IoT Device", devx-track-csharp, devx-track-dotnet]
99
---
1010

11-
## Overview
12-
13-
This article describes how to use the [Azure IoT SDK for .NET](https://github.com/Azure/azure-iot-sdk-csharp/blob/main/readme.md) to create device and backend service application code to receive and send cloud-to-device messages.
14-
1511
## Create a device application
1612

1713
This section describes how to receive cloud-to-device messages.

includes/iot-hub-howto-cloud-to-device-messaging-java.md

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,6 @@ ms.date: 12/19/2024
88
ms.custom: [amqp, mqtt, devx-track-java, devx-track-extended-java]
99
---
1010

11-
## Overview
12-
13-
This how-to contains two sections:
14-
15-
* Receive cloud-to-device messages on a device
16-
* Send cloud-to-device messages from a backend application
17-
1811
## Receive cloud-to-device messages on a device
1912

2013
This section describes how to receive cloud-to-device messages using the [DeviceClient](/java/api/com.microsoft.azure.sdk.iot.device.deviceclient) class from the Azure IoT SDK for Java.

includes/iot-hub-howto-cloud-to-device-messaging-node.md

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,6 @@ ms.date: 12/19/2024
88
ms.custom: [amqp, mqtt, devx-track-js]
99
---
1010

11-
## Overview
12-
13-
This article describes how to use the [Azure IoT SDK for Node.js](https://github.com/Azure/azure-iot-sdk-node) to:
14-
15-
* Receive cloud-to-device messages on a device
16-
* Send cloud-to-device messages from a backend application
17-
1811
## Create a device application
1912

2013
This section describes how to receive cloud-to-device messages using the [azure-iot-device](/javascript/api/azure-iot-device) package in the Azure IoT SDK for Node.js.

includes/iot-hub-howto-cloud-to-device-messaging-python.md

Lines changed: 8 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -8,34 +8,18 @@ ms.date: 12/19/2024
88
ms.custom: mqtt, devx-track-python, py-fresh-zinc
99
---
1010

11-
## Overview
12-
13-
This article describes how to use the [Azure IoT SDK for Python](https://github.com/Azure/azure-iot-sdk-python) to create device and backend service application code to receive and send cloud-to-device messages.
14-
15-
There are two Python SDK classes that are used to send messages to and from IoT devices. Message handling methods from these classes are described in sections on this page.
16-
17-
* The [IoTHubDeviceClient](/python/api/azure-iot-device/azure.iot.device.iothubdeviceclient) class includes methods to create a synchronous connection from a device to an Azure IoT Hub and receive messages from IoT Hub.
11+
## Create a device application
1812

19-
* The [IoTHubRegistryManager](/python/api/azure-iot-hub/azure.iot.hub.iothub_registry_manager.iothubregistrymanager) class includes APIs for IoT Hub Registry Manager operations. In this article, methods from this class show how to connect to IoT Hub and send a message to a device.
13+
This section describes how to receive cloud-to-device messages.
2014

21-
## Install packages
15+
The [IoTHubDeviceClient](/python/api/azure-iot-device/azure.iot.device.iothubdeviceclient) class includes methods to create a synchronous connection from a device to an Azure IoT Hub and receive messages from IoT Hub.
2216

2317
The **azure-iot-device** library must be installed to create device applications.
2418

2519
```cmd/sh
2620
pip install azure-iot-device
2721
```
2822

29-
The **azure-iot-hub** library must be installed to create backend service applications.
30-
31-
```cmd/sh
32-
pip install azure-iot-hub
33-
```
34-
35-
## Create a device application
36-
37-
This section describes how to receive cloud-to-device messages using the [IoTHubDeviceClient](/python/api/azure-iot-device/azure.iot.device.iothubdeviceclient) class from the Azure IoT SDK for Python.
38-
3923
For a Python-based device application to receive cloud-to-device messages, it must connect to IoT Hub and then set up a callback message handler to process incoming messages from IoT Hub.
4024

4125
### Device import statements
@@ -130,7 +114,11 @@ finally:
130114

131115
This section describes how to send a cloud-to-device message. A solution backend application connects to an IoT Hub and messages are sent to IoT Hub encoded with a destination device. IoT Hub stores incoming messages to its message queue, and messages are delivered from the IoT Hub message queue to the target device.
132116

133-
The [IoTHubRegistryManager](/python/api/azure-iot-hub/azure.iot.hub.iothubregistrymanager) class exposes all methods required to create a backend application to interact with cloud-to-device messages from the service.
117+
The [IoTHubRegistryManager](/python/api/azure-iot-hub/azure.iot.hub.iothubregistrymanager) class exposes all methods required to create a backend application to interact with cloud-to-device messages from the service. The **azure-iot-hub** library must be installed to create backend service applications.
118+
119+
```cmd/sh
120+
pip install azure-iot-hub
121+
```
134122

135123
### Import the IoTHubRegistryManager object
136124

0 commit comments

Comments
 (0)