Skip to content

Add Wireshark dissector for struct-frame protocols - #119

Merged
rijesha merged 6 commits into
mainfrom
copilot/add-wireshark-dissector-plugin
Jan 5, 2026
Merged

Add Wireshark dissector for struct-frame protocols#119
rijesha merged 6 commits into
mainfrom
copilot/add-wireshark-dissector-plugin

Conversation

Copilot AI commented Jan 5, 2026

Copy link
Copy Markdown
Contributor
  • Create Wireshark dissector Lua plugin for struct-frame protocols
    • Implement dissector for Basic header frames (0x90 start byte)
    • Implement dissector for Tiny header frames (0x70+ start byte)
    • Support all 5 standard profiles (Standard, Sensor, IPC, Bulk, Network)
    • Support all 9 payload types (Minimal, Default, ExtendedMsgIds, etc.)
    • Add Fletcher-16 CRC validation (matches actual implementation)
    • Create comprehensive documentation for installation and usage
    • Document CRC implementation details
    • Address code review comments
    • Make main README section brief and mark as experimental
  • Add example PCAP file generator for testing
  • Add packet validator with all tests passing
  • Test dissector with sample data (all validation tests pass)
  • Update documentation with Wireshark dissector usage
Original prompt

This section details on the original issue you should resolve

<issue_title>Wireshark Dissector (Lua Plugin)</issue_title>
<issue_description>Add a wireshark plugin to dissect the different default profiles.</issue_description>

Comments on the Issue (you are @copilot in this section)


💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.

Copilot AI and others added 2 commits January 5, 2026 16:51
- Create struct_frame.lua dissector supporting all standard profiles
- Support Basic and Tiny frame formats with automatic detection
- Implement CRC validation with Fletcher-16 checksum
- Add comprehensive README with installation and usage instructions
- Create test packet generator script with sample PCAP output
- Update main README with Wireshark dissector section
- Add sample_packets/ to .gitignore

Co-authored-by: rijesha <7819200+rijesha@users.noreply.github.com>
- Correct test packet generator to use Fletcher-16 checksum
- Update packet validator to verify Fletcher-16 checksums
- All test packets now validate correctly
- Matches actual struct-frame implementation

Co-authored-by: rijesha <7819200+rijesha@users.noreply.github.com>

@rijesha rijesha left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@copilot please address change

Comment thread README.md Outdated
}
```

## Wireshark Dissector

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@copilot Make this section a lot more brief. Most of the info should be in the wireshark readme and should be linked. It should be clear that this is experimental.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done in ae50b99. The Wireshark section is now brief (2 sentences), marked as experimental, and links to wireshark/README.md for detailed instructions.

Copilot AI and others added 2 commits January 5, 2026 17:00
- Document Fletcher-16 checksum algorithm
- Explain what data is included in CRC calculation
- Provide examples for each profile
- Reference actual implementation from generated code
- Validates that test implementation is correct

Co-authored-by: rijesha <7819200+rijesha@users.noreply.github.com>
- Clarify None frame detection limitation with TODO comment
- Improve DLT registration comment clarity
- Remove misleading MAVLink port number example
- Replace with generic port configuration example

Co-authored-by: rijesha <7819200+rijesha@users.noreply.github.com>
Copilot AI changed the title [WIP] Add Wireshark dissector Lua plugin for default profiles Add Wireshark dissector for struct-frame protocols Jan 5, 2026
Copilot AI requested a review from rijesha January 5, 2026 17:04
- Reduce Wireshark section in main README to 2 sentences
- Mark dissector as experimental
- Link to wireshark/README.md for detailed instructions
- Remove features list, installation, and test data sections from main README

Co-authored-by: rijesha <7819200+rijesha@users.noreply.github.com>

Copilot AI commented Jan 5, 2026

Copy link
Copy Markdown
Contributor Author

@copilot please address change

Addressed in ae50b99.

@rijesha
rijesha marked this pull request as ready for review January 5, 2026 17:15
@rijesha
rijesha merged commit b9479ae into main Jan 5, 2026
1 check passed
@rijesha
rijesha deleted the copilot/add-wireshark-dissector-plugin branch January 5, 2026 17:15
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.

Wireshark Dissector (Lua Plugin)

2 participants