EIVE upstream #29
@ -14,6 +14,7 @@ SpacePacketCreator::SpacePacketCreator(ccsds::PacketType packetType, bool secHea
|
|||||||
: params(SpacePacketParams(PacketId(packetType, secHeaderFlag, apid),
|
: params(SpacePacketParams(PacketId(packetType, secHeaderFlag, apid),
|
||||||
PacketSeqCtrl(seqFlags, seqCount), dataLen)) {
|
PacketSeqCtrl(seqFlags, seqCount), dataLen)) {
|
||||||
params.version = version;
|
params.version = version;
|
||||||
|
checkFieldValidity();
|
||||||
}
|
}
|
||||||
|
|
||||||
uint16_t SpacePacketCreator::getPacketIdRaw() const { return params.packetId.raw(); }
|
uint16_t SpacePacketCreator::getPacketIdRaw() const { return params.packetId.raw(); }
|
||||||
|
Loading…
Reference in New Issue
Block a user