Hello @HinataGrape-6694 Thanks for using this forum with great useful queries!
Am I correct in understanding that there is no need to implement using the "Device Upadate Agent" API, especially on the device side?
More clarity on this link-->What is Device Update for IoT Hub: REST API services are used to manage the devices from your applications(simple words: App running on your Laptop\Mobile to control various device updates), for Programmatic APIs to enable automation and custom portal experiences. Agent is required on device side & can run alongside other system processes that connect to your IoT Hub. another example: this REST API can be used from a Postman to trigger\delete the device Update.
For example, the RaspberryPi Tutorial show how the agent is configured on the device: Configure the Device Update agent on Raspberry Pi.
I would highly recommend completing this tutorial: Tutorial: Device Update for Azure IoT Hub using the Raspberry Pi 3 B+ reference image to get E2E basic understanding of this concept.
Workflow:
Point 1:
ADU gets the device information\List from the IoTHub.
So basically ADU uses the IoTHub to manage the device updates.
Point 2:
How ADU accepts the instructions?
- The Developer creates the update and manifest and imports it on the ADU.
- ADU will store it.
- Update instructions will be ready for distribution.
Point 3:
Once the Update imported to ADU, now IoTHub signal the devices to pull the 'Update Commands', here the Agent installed on the device does this pulling work.
Finally the update is downloaded and installed and the Success\Failure status is sent to ADU via IoTHub.
Please comment in the below section for further help in this matter!.
Please accept the helpful response as 'Answer', which will be helpful to others as well with similar questions