NASA-AMMOS / AIT-DSN

MIT License
19 stars 10 forks source link

Issue #60: Implement AOS Transfer Frames per Spec #98

Closed nttoole closed 4 years ago

nttoole commented 4 years ago

This PR includes AOS Transfer frame implementation based on the 'AOS Space Data Link Protocol' specification. AOS Transfer frames spec includes a set of optional fields to be decided by the mission, so this information is captured in a new class, AosConfig, which can be populated from a kwargs map or AIT config file, within the 'dsn.sle.aos.' section. Some refactoring was performed such that TmFrame and AosFrame classes have a common base-class, BaseTransferFrame. TmFrame decoding was updated to include bit shifting as necessary for sub-octet fields. A new unit test file, test/test_frames.py, exercises much of the AOS Transfer frame decoding.

Resolves #60

MJJoyce commented 4 years ago

@nttoole, it looks like the tests are breaking in Travis. Can you verify they're working locally for you and try to suss out what's up with the build?