uart_packet: decoder for logging and analysis of uart packets of variable length #89
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Decoder uart_packet stacks with uart decoder and allows to analyze data packets. Packet delimiter is idle time or maximum packet length. Output formats are same as in uart decoder: hex, dec, oct, bin and ascii.
![Screenshot from 2022-07-26 12-11-17](https://user-images.githubusercontent.com/12758820/180957248-0fe9218a-2523-45b7-bd15-23c943533845.png)
'print_sec=yes' option can be used to log packets in real time:
And one more example with input file: