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

Tracing of HCI commands #110

Open
2tilted opened this issue Aug 23, 2022 · 2 comments
Open

Tracing of HCI commands #110

2tilted opened this issue Aug 23, 2022 · 2 comments

Comments

@2tilted
Copy link

2tilted commented Aug 23, 2022

Hi,
I am pretty new to Windows tools and am playing around with the Bluetooth logger presented in the How to collect Bluetooth logs section. I followed the instructions and noticed the focus on collecting Bluetooth radio information.

My question is if there is a possibility for the WPR to record Windows HCI events and other Bluetooth-related events to for instance the Bthport driver.

Cheers,
Toni Nguyen

@erikpe-msft
Copy link
Contributor

Hi @2tilted,

I have good news for you! If you're collecting logs using the instructions in How to collect Bluetooth logs, then you're already collecting HCI traffic. You can use the Bluetooth ETL parse tool to extract HCI logs in the format of your choice from the .etl file.

Another option is to use the Bluetooth Virtual Sniffer to view Windows Bluetooth HCI logs in real-time.

Thanks,
-Erik

@2tilted
Copy link
Author

2tilted commented Sep 1, 2022

Hi @erikpe-msft ,

Thank you for the answer! the BTVS is precisely what I was looking for. Do you know how the logs are generated in Kernel space and then simply forwarded into User-space?
I am trying to figure out how the tracing software gets its logs from the kernel drivers and what libraries/functions are used to do so.

Cheers,
Toni Nguyen

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

No branches or pull requests

2 participants