Share via

Azure sphere device reset

95504669 546 Reputation points
2021-06-01T15:39:59.41+00:00

I use Avnet Azure sphere starter kit rev 2 board.
How can I restart the device without using commands or device reset button. Is there any way to do it using Rest API? I want to update the application package without touching the device. But it checks for updates only when resetting the device. Please let me know how I can do it.

Thank you.

Azure Sphere
Azure Sphere

An Azure internet of things security solution including hardware, operating system, and cloud components.

0 comments No comments

Answer accepted by question author

Chandranmsft 856 Reputation points
2021-06-01T19:36:24.363+00:00

Hi @95504669 - Azure Sphere can be rebooted using the power management functions documented here https://learn.microsoft.com/en-us/azure-sphere/reference/applibs-reference/applibs-power/function-power-forcesystemreboot

The powerdown sample covers the scenario of shutting down the device and waking up after a certain interval - https://github.com/Azure/azure-sphere-samples/tree/master/Samples/Powerdown/Powerdown_HighLevelApp

Devices check for updates every 24 hours or when they are rebooted. Currently, there's no command to force update check.

Was this answer helpful?

1 person found this answer helpful.

0 additional answers

Sort by: Most helpful

Your answer

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