<strong>CCSDS</strong> HISTORICAL DOCUMENTRECOMMENDATION FOR ADVANCED ORBITING SYSTEMSThis is just a dummy process used to contain the test behaviour:process ppt1a (packetType : PacketType,dataLossFlag : Bool) : noexit :=(hide pkt, oct, man, snw in(test[pkt, oct, man, snw]|[pkt, oct, man, snw]|PathProtocol[pkt, oct, man, snw] (packetType, dataLossFlag)))whereThis is the test behaviour:process test[pkt,oct,man,snw] : exit :=hide success, failure in((Attempt to send an octet string on a path which has not yet been set up. Acceptance of this eventleads to failure.)[](pkt ! MakePathID(APID(0,0,0,0,0,0,0,0,0,0,1),Add(1, Add(0, NullAPIDQual)))! Add(1, Add(0, NullAPIDQual))! Make<strong>CCSDS</strong>Packet(MakePrimaryHeader(MakePacketID(Version1,PacketType(0),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,0),AddFront(Octet(0,0,0,0,0,0,0,1), NullOS))) ;failure ; exitNo choice should be offered. Only the success event should be possible as the octet string eventabove should be rejected.))success ; exitendprocendproc<strong>CCSDS</strong> 705.2-B-1 Page A-5 May 1994<strong>CCSDS</strong> HISTORICAL DOCUMENT
Path Protocol Test 2RECOMMENDATION FOR ADVANCED ORBITING SYSTEMSThis test attempts to send a user-formatted packet on a path set up as an octet source. Thissituation should be disallowed by the protocol.Run the test using the command:ts pp.t2.lot pp.lot<strong>CCSDS</strong> HISTORICAL DOCUMENTType START at the hippo prompt (after some time) and then select ppt2 from the menu. Stepthrough the events offered using the NEXT command of hippo. Eventually the success eventshould take place and the next NEXT command will result in deadlock.The choice taken when multiple events are offered is not important for the success of this test;the exception to this is that the success event should only be selected when there are noalternatives.<strong>CCSDS</strong> 705.2-B-1 Page A-6 May 1994<strong>CCSDS</strong> HISTORICAL DOCUMENT