Skip to content

Add uart_mitm - #1376

Open
yellows8 wants to merge 8 commits into
masterfrom
uart_mitm
Open

yellows8 wants to merge 8 commits into
masterfrom
uart_mitm

Conversation

@yellows8

Copy link
Copy Markdown
Collaborator

This adds uart_mitm, for logging uart bluetooth HCI traffic.

@misson20000

Copy link
Copy Markdown
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
Copy Markdown
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.

3 participants