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

Add methods to force the device to reset or disconnect from the cloud #28

Merged
merged 4 commits into from
Jul 2, 2020

Conversation

sergeuz
Copy link
Member

@sergeuz sergeuz commented Jun 26, 2020

This PR introduces the following changes:

  • Add an option to Device.reset() to reset the device immediately using a low-level vendor-specific request.
  • Add methods for connecting/disconnecting the device to/from the cloud.
  • Increase the default request timeout to 60 seconds.
  • Expose the internal USB device object via an API property.

Steps to test: particle-iot/device-os#2142

@sergeuz sergeuz merged commit 99b7a43 into master Jul 2, 2020
@sergeuz sergeuz deleted the reset_req/ch57751 branch July 2, 2020 12:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants