question

95504669 avatar image
0 Votes"
95504669 asked 95504669 edited

Azure sphere device reset

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
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

ChandraNekanti-3683 avatar image
1 Vote"
ChandraNekanti-3683 answered 95504669 edited

Hi @95504669 - Azure Sphere can be rebooted using the power management functions documented here https://docs.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.

· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Thank you very much ChandraNekanti. It worked.

Will the forced reboot update the OS too?

I also wanted to know how I can use my Azure device as a access point? I could only find details on using wifi as access point. Please let me know how I can do this.
Thank you.

0 Votes 0 ·