Skip to content

[FEATURE] Create a Packet Factory #199

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

Open
5 tasks
Mikefly123 opened this issue Mar 18, 2025 · 0 comments
Open
5 tasks

[FEATURE] Create a Packet Factory #199

Mikefly123 opened this issue Mar 18, 2025 · 0 comments
Labels
enhancement New feature or request

Comments

@Mikefly123
Copy link
Member

Mikefly123 commented Mar 18, 2025

Story

  • As a mission operator
  • I want radio packets from the satellite to follow a standard format
  • So that we can quickly and easily determine what message types are being sent from the satellite.

Acceptance Criteria

  • Creates custom types for various packets.
  • Takes an Input of (packet type, data to format).
  • Pulls a max_packet_length value from config.json.
  • Handles if the length of data to transmit requires multiple packets.
  • Has documentation on how to add new packet types.

Technical Details

Right now the various data packets sent from the satellite are built in a lazy manner with direct calls in functions.py. To make the code more maintainable and easier to interface with from ground software, it can be helpful to have a function that will automagically take in data and format it one of many standard packet formats. There needs to be more architecting of what these packet types should actually be, what headers / checksums we may want to add to the packets, and how the packets will be moved around. For now, this task is just to scaffold a Packet Factory that can generically take in data and output packets.

Image

@Mikefly123 Mikefly123 added the enhancement New feature or request label Mar 18, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant