Sequence Count Module
This module provides generic sequence counter abstractions and implementation which are commonly needed when working with space packet protocols.
- class spacepackets.seqcount.CcsdsFileSeqCountProvider(file_name: Path = PosixPath('seqcnt.txt'))
Bases:
FileSeqCountProvider
- class spacepackets.seqcount.FileSeqCountProvider(max_bit_width: int, file_name: Path = PosixPath('seqcnt.txt'))
Bases:
ProvidesSeqCountSequence count provider which uses a disk file to store the current sequence count in a non-volatile way. The first call with the next built-in or using the base class
current()call will yield a 0
- class spacepackets.seqcount.ProvidesSeqCount
Bases:
ABC
- spacepackets.seqcount.PusFileSeqCountProvider
alias of
CcsdsFileSeqCountProvider