Add Small Event Support #18

Merged
muellerr merged 5 commits from mueller/continue-event-pus-manager into main 2022-10-23 18:41:14 +02:00
Owner

Adds support for small events where the raw representation only spans two bytes.

When it comes to TM downlink, minimizing the size of the received telemetry is always something worth considering. Adding a small event type allows to make all PUS event telemetry packets smaller.

Having a limit of around 70-80 group IDs and up to 255 events for each group ID should also be sufficient for many missions.

Further roadmap:

  • Parameterize the Event types for all Severity Variants. This would allow for creating type-safe event APIs which can only process events of a certain severity.
  • Look into introspection and other ways to make supplying human readable data for events and for MIBs as conveniently as possible. It would be great if no additional code parser is needed. For an info string, an appropriate associated function for EventProvider could be used. For the event name itself, this is actually tricky without a code parser and would probably require a macro. Maybe stringify can be used in some way? This is a good starting point to try creating a static library which can be consumed to retrieve MIB values or an event list CSV.
Adds support for small events where the raw representation only spans two bytes. When it comes to TM downlink, minimizing the size of the received telemetry is always something worth considering. Adding a small event type allows to make all PUS event telemetry packets smaller. Having a limit of around 70-80 group IDs and up to 255 events for each group ID should also be sufficient for many missions. Further roadmap: - Parameterize the Event types for all Severity Variants. This would allow for creating type-safe event APIs which can only process events of a certain severity. - Look into introspection and other ways to make supplying human readable data for events and for MIBs as conveniently as possible. It would be great if no additional code parser is needed. For an info string, an appropriate associated function for `EventProvider` could be used. For the event name itself, this is actually tricky without a code parser and would probably require a macro. Maybe `stringify` can be used in some way? This is a good starting point to try creating a static library which can be consumed to retrieve MIB values or an event list CSV.
muellerr added 5 commits 2022-10-23 18:39:53 +02:00
muellerr merged commit afc094e77a into main 2022-10-23 18:41:14 +02:00
muellerr deleted branch mueller/continue-event-pus-manager 2022-10-23 18:41:15 +02:00
muellerr added this to the satrs v0.1.0 milestone 2022-10-23 18:42:01 +02:00
Sign in to join this conversation.
No description provided.