Set up Azure IoT Hub to deploy over-the-air updates
Keep your Azure Percept DK secure and up to date using over-the-air updates. In a few simple steps, you will be able to set up your Azure environment with Device Update for IoT Hub and deploy the latest updates to your Azure Percept DK.
Prerequisites
- Azure Percept DK (devkit)
- Azure subscription
- Azure Percept DK setup experience: you connected your dev kit to a Wi-Fi network, created an IoT Hub, and connected your dev kit to the IoT Hub
Create a Device Update Account
Go to the Azure portal and sign in with the Azure account you are using with Azure Percept.
In the search bar at the top of the page, enter Device Update for IoT Hubs.
Select Device Update for IoT Hubs when it appears in the search bar.
Select the +Add button in the upper-left portion of the page.
Select the Azure Subscription and Resource Group associated with your Azure Percept device and its IoT Hub.
Specify a Name and Location for your Device Update Account.
Check the box that says Assign Device Update Administrator role.
Review the details and select Review + Create.
Select the Create button.
Once deployment is complete, click Go to resource.
Create a Device Update Instance
In your Device Update for IoT Hub resource, click Instances under Instance Management.
Click + Create, specify an instance name, and select the IoT Hub associated with your Azure Percept device. This may take a few minutes to complete.
Click Create.
Configure IoT Hub
In the Instance Management Instances page, wait for your Device Update Instance to move to a Succeeded state. Click the Refresh icon to update the state.
Select the Instance that has been created for you and click Configure IoT Hub. In the left pane, select I agree to make these changes and click Update.
Wait for the process to complete successfully.
Configure access control roles
The final step will enable you to grant permissions to users to publish and deploy updates.
In your Device Update for IoT Hub resource, click Access control (IAM).
Click +Add and then select Add role assignment.
For Role, select Device Update Administrator. For Assign access to select User, group, or service principle. For Select, select your account or the account of the person who will be deploying updates. Click Save.
Tip
If you would like to give more people in your organization access, you can repeat this step and make each of these users a Device Update Administrator.
Next steps
You are now ready to update your Azure Percept dev kit over-the-air using Device Update for IoT Hub.