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 Helpful toString methods and other ammenities #1

Open
Tyler-Lentz opened this issue May 5, 2024 · 0 comments
Open

Add Helpful toString methods and other ammenities #1

Tyler-Lentz opened this issue May 5, 2024 · 0 comments

Comments

@Tyler-Lentz
Copy link
Contributor

Currently there aren't really any nice ways to display packet information to a string.

It would be cool if there was a function along the lines of

void packetToString(packet_t packet, const char* out, size_t out_len);

which wrote string data to out, stopping at out_len bytes.

If we updated the obc networking code to use c++ instead of c (which we should do) this could just return an std::string

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

No branches or pull requests

1 participant