microsoft / busiotools

Tools for debugging and testing io buses for Windows
MIT License
192 stars 100 forks source link

ATT data truncated #85

Open XavierBoniface opened 3 years ago

XavierBoniface commented 3 years ago

Issue: On this PC, all ATT notifications received by the host are truncated when capturing Bluetooth HCI logs via WPR.

Notes:

Let me know if you need additional logs or information. etl.zip

erikpe-msft commented 3 years ago

This sounds like a policy that is By Design. By default, Windows truncates HCI logs containing "sensitive" content (e.g. HID reports and key material). The "Full Packet Logging" button in btvs bypasses this policy, for testing. This isn't well documented, so we'll update the documentation.

Could you try running btvs and clicking "Full Packet Logging", to see if you are able to collect the full logs?

A disclaimer on "Full Packet Logging": This setting is sticky. All future trace sessions (e.g. those initiated by btvs or wpr) will have full packet logging enabled. It's recommended to only enable this setting on test systems, in order to avoid accidentally tracing HID input or key material outside of a test scenario.

XavierBoniface commented 3 years ago

Thank you @erikpe-msft, clicking "Full Packet Logging" indeed fixed the issue. Leaving this issue open still for now, as a reminder for you to document this feature. Thank you.