Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix OTA update notes [ System.updatesPending() ] #452

Closed
kennethlimcp opened this issue Aug 8, 2016 · 2 comments
Closed

Fix OTA update notes [ System.updatesPending() ] #452

kennethlimcp opened this issue Aug 8, 2016 · 2 comments
Assignees
Labels

Comments

@kennethlimcp
Copy link
Contributor

kennethlimcp commented Aug 8, 2016

https://docs.particle.io/reference/firmware/electron/#system-updatespending-

Either we remove it or fix the TODO note.

Related: http://community.particle.io/t/electron-0-5-2-system-updatespending/24950

The docs doesnt spell out exactly how System.updatesPending() works and the scenarios it wont.

@technobly technobly changed the title Fix OTA update notes Fix OTA update notes [ System.updatesPending() ] Nov 1, 2016
@technobly
Copy link
Member

You can check with system events when an update is pending if updates are disabled. I don't think the System.updatesPending() API works like some think it should. The last time I tried to use it I did not get it to fire unless updates were enabled. It may just be useful for multi-threaded mode when user code continues to execute https://docs.particle.io/reference/firmware/electron/#system-updatespending-

@m-mcgowan would you please comment on this. If it is suppose to work when updates are disabled, we can verify it doesn't and file a bug report. Otherwise we just need to clarify the Docs with how it should be used.

@technobly
Copy link
Member

Related issues:

#354
#318

@monkbroc monkbroc added this to TODO in Docs prioritization Feb 27, 2017
@monkbroc monkbroc moved this from TODO to Prioritized in Docs prioritization Mar 2, 2017
Docs prioritization automation moved this from Prioritized (Mesh prep) to Done Dec 24, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Development

No branches or pull requests

3 participants