-
Notifications
You must be signed in to change notification settings - Fork 76
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
realtek driver #203
realtek driver #203
Conversation
host.send_hci_packet(HCI_RTK_Drop_Firmware_Command()) | ||
|
||
# Wait for the command to be effective (no response is sent) | ||
await asyncio.sleep(Driver.POST_DROP_DELAY) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: perform a reset instead ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm concerned that performing a reset instead of waiting may lead to a deadlock, because if the reset command is sent while the dongle FW is restarting, it may be dropped, and we'd be waiting for a response for ever.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've just realized it's only used for the command line tool so I guess it's fine!
Squashed commits: [d29a350] wip [7f541ed] wip [1e2902e] basic working version [14b497a] wip
cb718ab
to
696a8d8
Compare
Add support for loading FW images and config on Realtek USB dongles