Skip to content

Commit 5a7925d

Browse files
committed
Updates
1 parent a77dba7 commit 5a7925d

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

articles/iot-hub/how-to-device-management.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ description: How to use Azure IoT Hub direct methods for device management tasks
55
author: kgremban
66
ms.author: kgremban
77
manager: lizross
8-
ms.service: iot-hub
8+
ms.service: azure-iot-hub
99
ms.devlang: csharp
1010
ms.topic: how-to
1111
ms.date: 10/09/2024

includes/iot-hub-howto-device-management-node.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@ var registry = Registry.fromConnectionString(serviceConnectionString);
191191

192192
### Invoke a method on a device
193193

194-
Use [invokeDeviceMethod](/javascript/api/azure-iothub/client?view=azure-node-latest#azure-iothub-client-invokedevicemethod) to invoke a direct method by name on a device. The method name parameter identifies the direct method. The method name is "reboot" in the examples within this article.
194+
Use [invokeDeviceMethod](/javascript/api/azure-iothub/client?#azure-iothub-client-invokedevicemethod) to invoke a direct method by name on a device. The method name parameter identifies the direct method. The method name is "reboot" in the examples within this article.
195195

196196
```javascript
197197
var startRebootDevice = function(twin) {
@@ -214,7 +214,7 @@ var startRebootDevice = function(twin) {
214214
};
215215
```
216216

217-
This example fuction uses device twin queries to discover the last reboot time for the device that was updated as described in the **Create a direct method callback** section of this article.
217+
This example function uses device twin queries to discover the last reboot time for the device that was updated as described in the **Create a direct method callback** section of this article.
218218

219219
```javascript
220220
var queryTwinLastReboot = function() {

0 commit comments

Comments
 (0)