-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Bluetooth: Add hci_vs_sdc.h which expose wrappers VS HCI commands #15798
Conversation
159dcf4
to
5d2e92a
Compare
in a follow-up, should we update the content of host_extensions.c? |
Yes, and also other places where applications and samples are now building and sending these HCI commands manually |
Test specificationCI/Jenkins/NRF
CI/Jenkins/integration
Detailed information of selected test modules Note: This message is automatically posted and updated by the CI |
5d2e92a
to
cab774a
Compare
3b8bedd
to
6f38cdc
Compare
5bde48a
to
f2416b8
Compare
You can find the documentation preview for this PR at this link. It will be updated about 10 minutes after the documentation build succeeds. Note: This comment is automatically posted by the Documentation Publishing GitHub Action. |
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.
LGTM
The SDC provides vendor specific Bluetooth functionality through vendor specific HCI commands. The APIs added in this commit handles: - Building the VS HCI commands - Sending the VS HCI command to the controller. This works both when the controller is on the same core, or if the controller is separated from the host by another HCI layer. - Return parameters This removes the need for boilerplate code in applications. Some of the vendor specific APIs take in handles. Those can be obtained from host types using the APIs defined in `zephyr/bluetooth/hci.h`. The API documentation is referring to the HCI command documentation to avoid duplication. Signed-off-by: Rubin Gerritsen <[email protected]>
f2416b8
to
60a3a86
Compare
The SDC provides vendor specific Bluetooth functionality through vendor specific HCI commands.
The APIs added in this commit handles:
This removes the need for boilerplate code in applications.
Some of the vendor specific APIs take in handles.
Those can be obtained from host types using the APIs defined in
zephyr/bluetooth/hci.h
.The API documentation is referring to the HCI command documentation to avoid duplication.