Skip to content

Commit 30c1268

Browse files
Merge pull request #248422 from dominicbetts/central-command-timeout
IoT Central: Add note about command timeout.
2 parents 633956e + 07d23ea commit 30c1268

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

articles/iot-central/core/howto-use-commands.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,9 @@ The following screenshot shows how the successful command response displays in t
6565

6666
:::image type="content" source="media/howto-use-commands/simple-command-ui.png" alt-text="Screenshot showing how to view command payload for a standard command." lightbox="media/howto-use-commands/simple-command-ui.png":::
6767

68+
> [!NOTE]
69+
> For standard commands, there's a timeout of 30 seconds. If a device doesn't respond within 30 seconds, IoT Central assumes that the command failed. This timeout period isn't configurable.
70+
6871
## Long-running commands
6972

7073
In a long-running command, a device doesn't immediately complete the command. Instead, the device acknowledges receipt of the command and then later confirms that the command completed. This approach lets a device complete a long-running operation without keeping the connection to IoT Central open.

includes/iot-central-connect-device-csharp.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ To complete the steps in this article, you need the following resources:
2020

2121
## Review the code
2222

23-
In the copy of the Microsoft Azure IoT SDK for C# repository you downloaded previously, open the *azure-iot-sdk-csharp-main\azureiot.sln"* solution file in Visual Studio. In **Solution Explorer**, expand the *PnpDeviceSamples > TemperatureController* folder and open the *Program.cs* and *TemperatureControllerSample.cs* files to view the code for this sample.
23+
In the copy of the Microsoft Azure IoT SDK for C# repository you downloaded previously, open the *azure-iot-sdk-csharp-main\azureiot.sln* solution file in Visual Studio. In **Solution Explorer**, expand the *PnpDeviceSamples > TemperatureController* folder and open the *Program.cs* and *TemperatureControllerSample.cs* files to view the code for this sample.
2424

2525
The sample implements the multiple-component [Temperature Controller](https://github.com/Azure/opendigitaltwins-dtdl/blob/master/DTDL/v2/samples/TemperatureController.json) Digital Twin Definition Language model.
2626

0 commit comments

Comments
 (0)