How do device updates work on Windows Iot devices

Robert de Brum 0 Reputation points
2024-06-04T23:29:18.1033333+00:00

I have a need to run some custom code on up to 50+ windows machines in a manufacturing floor. The code for all machines would be the same, and will need to communicate with some hardware peripherals as well as communicate with the cloud via IoT Hub.

I am not worried about connecting or communicating with the IoT Hub. This is code we have already written and I am confident in getting this running correctly. The machines are already licensed with Windows 10. The code will likely be a python file or C# application that will interface with peripherals and send data to the IoT hub via messages.

I want to ensure that we can deploy the code to all machines at once, efficiently and reliably. Since we want to use IoT Hub, I am looking into how to accomplish device update deployments using Azure. My questions are about how the device proceeds to update itself once it receives the update from the cloud.

I have done enough research to see that it should be possible, and that it should be relatively easy to do (with the samples found here: https://github.com/Azure/azure-sdk-for-net/tree/main/sdk/deviceupdate), but I am failing to understand the following:

  1. What will a windows IoT update look like - new C# files or executables?
  2. How will the new update get run instead of the current one? Will the machine have to restart itself?
  3. Is there a better/cleaner way to accomplish this - should we consider the IoT version of Windows?
Azure IoT Hub
Azure IoT Hub
An Azure service that enables bidirectional communication between internet of things (IoT) devices and applications.
1,203 questions
0 comments No comments
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.