Azure Sphere SDK: When does the running OS allow a new OS update to be deferred by the application.

James Higgins 336 Reputation points
2024-07-19T14:47:39.76+00:00

I have read through the documentation for Azure Sphere OS update deferral by the application and it is not clear how the running OS decides when to allow the application an opportunity to defer an OS update.

The specific scenario is an Azure Sphere enabled product that is offline (in a box on a shelf). While the product is offline, Microsoft releases a new Azure Sphere OS update. Two weeks later the product is brought online. The running OS determines that there is an OS update.

Will the running OS allow the application to defer installation of the new OS update?

Or will the OS update be forced (no opportunity for deferral) since it has been two weeks since the OS update was released?

Azure Sphere
Azure Sphere
An Azure internet of things security solution including hardware, operating system, and cloud components.
167 questions
0 comments No comments
{count} votes

Accepted answer
  1. Padmaja Senapati 75 Reputation points Microsoft Vendor
    2024-07-25T16:46:28.9333333+00:00

    Hello,

    Thank you for posting the question!

    The deferment API limits start from the time that the device is made aware of the update requirement. In the case you outline below, the offline device will come online, realize there is an OS update, consult the application (if it has registered for deferment notifications), and allow the application to defer the update for up to 24 hours.

    This API is designed for applications to ensure the device is in a "safe" state before update begins, which is why the period starts from the time the device is aware of it.

    Hope this answer helps. Please let us know if you have any questions.

    0 comments No comments

1 additional answer

Sort by: Most helpful
  1. Deleted

    This answer has been deleted due to a violation of our Code of Conduct. The answer was manually reported or identified through automated detection before action was taken. Please refer to our Code of Conduct for more information.


    Comments have been turned off. Learn more

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.