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

Allow disabling service mode when the device is in DFU mode #114

Merged
merged 2 commits into from
Jul 23, 2024

Conversation

sergeuz
Copy link
Member

@sergeuz sergeuz commented Jul 18, 2024

Add support for the new custom DfuSe command that allows re-enabling device protection in DFU mode:

assert(dev.isInDfuMode);
await dev.unprotectDevice({ action: 'reset' });

References

@sergeuz sergeuz marked this pull request as ready for review July 19, 2024 13:45
@sergeuz sergeuz requested a review from keeramis July 19, 2024 13:46
@sergeuz sergeuz merged commit 1c524ed into main Jul 23, 2024
4 checks passed
@sergeuz sergeuz deleted the disable-service-mode-in-dfu/sc-129253 branch July 23, 2024 16:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants