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

Add uart_mitm #1376

Open
wants to merge 8 commits into
base: master
Choose a base branch
from
Open

Add uart_mitm #1376

wants to merge 8 commits into from

Conversation

yellows8
Copy link
Collaborator

This adds uart_mitm, for logging uart bluetooth HCI traffic.

@misson20000
Copy link
Contributor

The dynamic memory allocation is a little bit concerning to me. I'd suggest it be converted over to static allocation, but I suspect it's dynamic to avoid using the memory when the UART mitm is disabled. For that matter though, I do wonder if a uart mitm really belongs upstream? It seems kindof a niche debugging tool to me. If upstreamed at all, it probably belongs behind a compile-time enable.

@yellows8
Copy link
Collaborator Author

The dynamic allocs are only done when uart.mitm is enabled via the setting.

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.

None yet

3 participants