-
-
Notifications
You must be signed in to change notification settings - Fork 275
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 trezord-node fw update on Windows #16978
base: develop
Are you sure you want to change the base?
Conversation
WalkthroughThe changes modify two modules in the transport package. The abstract API class has been updated to remove specific error event types from its event emission configuration, simplifying its error handling model. In the USB API, the connection handler is now asynchronous to support additional device management operations such as closing an already opened device during reconnection scenarios. Additionally, the disconnection handler has been adjusted to invoke device enumeration when a disconnected device lacks a serial number, while standardizing error logging by removing the emission of a specific error event. Minor refinements include adjustments to method signatures and parameter handling in the enumeration logic. 📜 Recent review detailsConfiguration used: CodeRabbit UI 📒 Files selected for processing (2)
💤 Files with no reviewable changes (1)
⏰ Context from checks skipped due to timeout of 90000ms (12)
🔇 Additional comments (3)
✨ Finishing Touches
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
Description
This should fix failing reconnection at the end of fw update on Windows when using Node bridge. Also other minor improvements.