Skip to content

Commit f927cc8

Browse files
committed
Addressed PR review team feedback
1 parent 6b44df5 commit f927cc8

7 files changed

+12
-12
lines changed

articles/iot-hub/.openpublishing.redirection.iot-hub.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1427,22 +1427,22 @@
14271427
},
14281428
{
14291429
"source_path_from_root": "/articles/iot-hub/c2d-messaging-dotnet.md",
1430-
"redirect_url": "/azure/iot-hub/c2d-messaging-howto.md",
1430+
"redirect_url": "/azure/iot-hub/how-to-cloud-to-device-messaging",
14311431
"redirect_document_id": false
14321432
},
14331433
{
14341434
"source_path_from_root": "/articles/iot-hub/c2d-messaging-java.md",
1435-
"redirect_url": "/azure/iot-hub/c2d-messaging-howto.md",
1435+
"redirect_url": "/azure/iot-hub/how-to-cloud-to-device-messaging",
14361436
"redirect_document_id": false
14371437
},
14381438
{
14391439
"source_path_from_root": "/articles/iot-hub/c2d-messaging-python.md",
1440-
"redirect_url": "/azure/iot-hub/c2d-messaging-howto.md",
1440+
"redirect_url": "/azure/iot-hub/how-to-cloud-to-device-messaging",
14411441
"redirect_document_id": false
14421442
},
14431443
{
14441444
"source_path_from_root": "/articles/iot-hub/c2d-messaging-node.md",
1445-
"redirect_url": "/azure/iot-hub/c2d-messaging-howto.md",
1445+
"redirect_url": "/azure/iot-hub/how-to-cloud-to-device-messaging",
14461446
"redirect_document_id": false
14471447
}
14481448
]

articles/iot-hub/TOC.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -296,7 +296,7 @@
296296
items:
297297
- name: Send cloud-to-device messages
298298
displayName: cloud-to-device messages
299-
href: c2d-messaging-howto.md
299+
href: how-to-cloud-to-device-messaging.md
300300
- name: Upload files from devices
301301
items:
302302
- name: .NET

articles/iot-hub/c2d-messaging-howto.md renamed to articles/iot-hub/how-to-cloud-to-device-messaging.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ For a device application to receive cloud-to-device messages, it must connect to
3232
* Declare a device client object
3333
* Connect to IoT Hub
3434
* Retrieve messages from the IoT Hub message queue
35-
* Process the message and send an acknowledgement back to IoT Hub
35+
* Process the message and send an acknowledgment back to IoT Hub
3636
* Configure a receive message retry policy
3737

3838
For a back end application to send cloud-to-device messages, it must connect to an IoT Hub and send messages through an IoT Hub message queue. The [Azure IoT Hub service SDKs](./iot-hub-devguide-sdks.md#azure-iot-hub-service-sdks) provide classes and methods that an application can use to send messages to devices. This article discusses key elements of any application that sends messages to devices, including:
@@ -62,25 +62,25 @@ For more information about the cloud-to-device message lifecycle and how IoT Hub
6262

6363
:::zone pivot="programming-language-csharp"
6464

65-
[!INCLUDE [iot-hub-howto-c2d-messaging-dotnet](../../includes/iot-hub-howto-c2d-messaging-dotnet.md)]
65+
[!INCLUDE [iot-hub-howto-c2d-messaging-dotnet](../../includes/iot-hub-howto-cloud-to-device-messaging-dotnet.md)]
6666

6767
:::zone-end
6868

6969
:::zone pivot="programming-language-java"
7070

71-
[!INCLUDE [iot-hub-howto-c2d-messaging-java](../../includes/iot-hub-howto-c2d-messaging-java.md)]
71+
[!INCLUDE [iot-hub-howto-c2d-messaging-java](../../includes/iot-hub-howto-cloud-to-device-messaging-java.md)]
7272

7373
:::zone-end
7474

7575
:::zone pivot="programming-language-python"
7676

77-
[!INCLUDE [iot-hub-howto-c2d-messaging-python](../../includes/iot-hub-howto-c2d-messaging-python.md)]
77+
[!INCLUDE [iot-hub-howto-c2d-messaging-python](../../includes/iot-hub-howto-cloud-to-device-messaging-python.md)]
7878

7979
:::zone-end
8080

8181
:::zone pivot="programming-language-node"
8282

83-
[!INCLUDE [iot-hub-howto-c2d-messaging-node](../../includes/iot-hub-howto-c2d-messaging-node.md)]
83+
[!INCLUDE [iot-hub-howto-c2d-messaging-node](../../includes/iot-hub-howto-cloud-to-device-messaging-node.md)]
8484

8585
:::zone-end
8686

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ To receive callback cloud-to-device messages in the device application, the appl
115115

116116
Using callback, the device application sets up a message handler method using [SetReceiveMessageHandlerAsync](/dotnet/api/microsoft.azure.devices.client.deviceclient.setreceivemessagehandlerasync). The message handler is called then a message is received. Creating a callback method to receive messages removes the need to continuously poll for received messages.
117117

118-
Callback is available only using the these protocols:
118+
Callback is available only using these protocols:
119119

120120
* `Mqtt`
121121
* `Mqtt_WebSocket_Only`

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -228,7 +228,7 @@ messageToSend.setProperties(propertiesToSend);
228228

229229
The [Message](/java/api/com.microsoft.azure.sdk.iot.service.message) object stores the message to be sent. In this example, a "Cloud to device message" is delivered.
230230

231-
Use [setDeliveryAcknowledgement](/java/api/com.microsoft.azure.sdk.iot.service.message?#com-microsoft-azure-sdk-iot-service-message-setdeliveryacknowledgementfinal(com-microsoft-azure-sdk-iot-service-deliveryacknowledgement)) to request delivered/not delivered to IoT Hub message queue acknowledgement. In this example, the acknowledgement requested is `Full`, either delivered or not delivered.
231+
Use [setDeliveryAcknowledgement](/java/api/com.microsoft.azure.sdk.iot.service.message?#com-microsoft-azure-sdk-iot-service-message-setdeliveryacknowledgementfinal(com-microsoft-azure-sdk-iot-service-deliveryacknowledgement)) to request delivered/not delivered to IoT Hub message queue acknowledgment. In this example, the acknowledgment requested is `Full`, either delivered or not delivered.
232232

233233
Use [SendAsync](/java/api/com.microsoft.azure.sdk.iot.service.serviceclient) to send an asynchronous message from the client to the device. Alternatively, you can use the `Send` (not async) method, but this function is synchronized internally so that only one send operation is allowed at a time. The message is delivered from the application to IoT Hub. IoT Hub puts the message into the message queue, ready to be delivered to the target device.
234234

File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)