particle-iot / particle-cli

Command Line Interface for Particle Cloud and devices
Apache License 2.0
212 stars 92 forks source link

Put a Protected Device automatically in Service Mode to run CLI commands #751

Closed keeramis closed 4 months ago

keeramis commented 4 months ago

This PR adds a helper module device-protection-helper.js that can be used by multiple modules and prevent circular dependency issues. It also adds a new method that checks if a device is ready for use (ie rebooted after a certain reset operation was done)

How to Test

See this test plan

Related Issues / Discussions

Completeness

monkbroc commented 4 months ago

Can you change the base branch to a long running branch like feature/automatic-service-mode