-
-
Notifications
You must be signed in to change notification settings - Fork 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
Improve Bluetooth HCI Command packet definition #4088
Conversation
Codecov Report
@@ Coverage Diff @@
## master #4088 +/- ##
==========================================
+ Coverage 81.95% 81.97% +0.01%
==========================================
Files 328 328
Lines 75852 75897 +45
==========================================
+ Hits 62163 62213 +50
+ Misses 13689 13684 -5
|
8942fbf
to
4a48d02
Compare
- Divide opcode into ogf and ocf following Core Spec - Redefine existing HCI commands with new format
You have quite a bunch of failing tests. Could you fix those? Thanks |
Please do not run an auto-formatter. This brings many un-necessary changes to the PR making it harder to review, and breaking the history. Could you revert this commit and only fix the formatting of your own changes? Thanks |
1. Fix some outdated command definitions 2. Fix the names of commands, use the formal name from core spec 3. Fix the some of the tests
@gpotter2 Can you please have another look? |
Thanks for the PR ! |
Checklist:
cd test && ./run_tests
ortox
)The ogf and ocf fields in the Bluetooth HCI Command Header are grouped together,
making it difficult to check these individual fields and mapping them back to packet definitions in
Core spec.
This change divide the opcode field into ogf and ocf bitfields following the defitions in core spec.