13.07.2015 Views

705x2b1s - CCSDS

705x2b1s - CCSDS

705x2b1s - CCSDS

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

A request which is valid:<strong>CCSDS</strong> HISTORICAL DOCUMENTRECOMMENDATION FOR ADVANCED ORBITING SYSTEMSoct ! MakePathID(APID(0,0,0,0,0,0,0,0,0,1,0),Add(1, Add(0, NullAPIDQual)))! MakePathID(APID(0,0,0,0,0,0,0,0,0,1,0),Add(1, Add(0, NullAPIDQual)))! Absent! AddFront(Octet(0,0,0,0,0,0,0,1),AddFront(Octet(0,0,0,0,0,0,1,0), NullOS)) ;leading to the following subnetwork request:snw ! SubnetID(0,0,0,0,0,0,0,1)! Add(1, Add(0, NullSNSAP))! Add(1, NullSNSAP)! Make<strong>CCSDS</strong>Packet(MakePrimaryHeader(MakePacketID(Version1,PType,SHF(0),APID(0,0,0,0,0,0,0,0,0,1,0)),MakePacketSC(PacketSequenceUnSeg,PacketSequenceCount(0,0,0,0,0,0,0,0,0,0,0,0,0,0)),PacketLength(0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1)),AddFront(Octet(0,0,0,0,0,0,0,1),AddFront(Octet(0,0,0,0,0,0,1,0), NullOS))) ;Another request with a different data length and SHF. The sequence count should haveincremented.oct ! MakePathID(APID(0,0,0,0,0,0,0,0,0,1,0),Add(1, Add(0, NullAPIDQual)))! MakePathID(APID(0,0,0,0,0,0,0,0,0,1,0),Add(1, Add(0, NullAPIDQual)))! Present! AddFront(Octet(0,0,0,0,0,0,1,1), NullOS) ;snw ! SubnetID(0,0,0,0,0,0,0,1)! Add(1, Add(0, NullSNSAP))! Add(1, NullSNSAP)! Make<strong>CCSDS</strong>Packet(MakePrimaryHeader(MakePacketID(Version1,PType,SHF(1),APID(0,0,0,0,0,0,0,0,0,1,0)),MakePacketSC(PacketSequenceUnSeg,PacketSequenceCount(0,0,0,0,0,0,0,0,0,0,0,0,0,1)),PacketLength(0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0)),AddFront(Octet(0,0,0,0,0,0,1,1), NullOS)) ;Another request again, the sequence count should increment. Default values should have beencorrectly filled in as version(0,0,0), packetType(0), sequenceflag(1,1):oct ! MakePathID(APID(0,0,0,0,0,0,0,0,0,1,0),Add(1, Add(0, NullAPIDQual)))! MakePathID(APID(0,0,0,0,0,0,0,0,0,1,0),Add(1, Add(0, NullAPIDQual)))! Absent! AddFront(Octet(0,0,0,0,0,1,0,0),AddFront(Octet(0,0,0,0,0,1,0,1), NullOS)) ;<strong>CCSDS</strong> 705.2-B-1 Page A-45 May 1994<strong>CCSDS</strong> HISTORICAL DOCUMENT

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!