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

hci: refactor to separate HCI transport implementation from interface #270

Merged
merged 2 commits into from
Jun 7, 2024

Conversation

deadprogram
Copy link
Member

This PR is to refactor the HCI to separate the HCI transport implementation from the interface to not always assume UART.

In addition to clarifying the code, it is also in part to prepare for alternative HCI transport implementations such as over SPI.

… to not always assume UART.

Signed-off-by: deadprogram <ron@hybridgroup.com>
Signed-off-by: deadprogram <ron@hybridgroup.com>
@deadprogram deadprogram changed the title hci: refactor to separate HCI transport implementation from interface to not always assume UART hci: refactor to separate HCI transport implementation from interface May 17, 2024
@deadprogram deadprogram requested review from soypat and bgould May 17, 2024 16:55
@deadprogram
Copy link
Member Author

This is working well as part of PR #271 so a little love here please? 😸

Copy link
Member

@aykevl aykevl left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Didn't investigate too deeply but looks good to me.
Just wondering why there's almost the same code twice?

adapter_ninafw.go Show resolved Hide resolved
@deadprogram
Copy link
Member Author

Merging now, thanks for review @aykevl

@deadprogram deadprogram merged commit 9905abd into dev Jun 7, 2024
5 checks passed
@deadprogram deadprogram deleted the hci-transport branch June 7, 2024 06:41
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