I'm a little confused about polite deployments. Could someone clear it up?
I'm hoping for a feature that will only allow OS or Firmware upgrades during times I allow, but it seems that the feature does not do exactly that.
The docs (https://electricimp.com/docs/api/server/onshutdown/) seem hastly written at best so I'm unsure what to expect. Does "Note ‘New Squirrel’ restart requests are not yet supported so your code will note receive this reason code." mean that you intend to add this feature in the future? What does "New Squirrel is available" mean? Are you talking about squirrel firmware, language updates, ... something else?
Is there any way to test functionality around "SHUTDOWN_NEWFIRMWARE" or do I just hope that my code is correct?
What might cause a "SHUTDOWN_OTHER" event? When I ask the device to restart, my onshutdown handler is not called. What else will cause this to happen?
Given the state of the documentation, it's not clear to me that the feature has been thought out and finished. Should I be worried about building this into production code?
I'm hoping for a feature that will only allow OS or Firmware upgrades during times I allow, but it seems that the feature does not do exactly that.
The docs (https://electricimp.com/docs/api/server/onshutdown/) seem hastly written at best so I'm unsure what to expect. Does "Note ‘New Squirrel’ restart requests are not yet supported so your code will note receive this reason code." mean that you intend to add this feature in the future? What does "New Squirrel is available" mean? Are you talking about squirrel firmware, language updates, ... something else?
Is there any way to test functionality around "SHUTDOWN_NEWFIRMWARE" or do I just hope that my code is correct?
What might cause a "SHUTDOWN_OTHER" event? When I ask the device to restart, my onshutdown handler is not called. What else will cause this to happen?
Given the state of the documentation, it's not clear to me that the feature has been thought out and finished. Should I be worried about building this into production code?