Skip to content

Add TLE Function and struct#353

Open
warior4356 wants to merge 3 commits intomasterfrom
ADCS-two-line-element
Open

Add TLE Function and struct#353
warior4356 wants to merge 3 commits intomasterfrom
ADCS-two-line-element

Conversation

@warior4356
Copy link
Contributor

Adds a function for parsing data structures and struct for holding the data.

Copy link
Member

@WattsUp WattsUp left a comment

Choose a reason for hiding this comment

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

  • Is there a reason for not implementing as a class with member functions?
  • Prefer to use ints with specified bit length
  • There are a lot of magic numbers...
  • Have you tested this?
  • What happens on edge cases? Does the checksum make sure that when you atoi you don't have letters? What if the string is not null terminated?
  • return mbed_error_status_t not int

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.

2 participants