Commit 7df894de authored by petersenj's avatar petersenj
Browse files

Implemented TC 1011_01

parent 76a135ea
Loading
Loading
Loading
Loading
+41 −2
Original line number Diff line number Diff line
@@ -277,7 +277,7 @@ module dPMR_TestCases {
					f_getColourCode(),
					c_102dBm, v_notTheIUT); 

				v_mse.start(f_TC_voiceTxNotTransmitted_MS01()); // TODO JP implement
				v_mse.start(f_TC_voiceTxNotTransmitted_MS01()); 

					v_ut.start(f_TC_msAction_UT(e_toStandby, 
									m_commandISFCSF_utRequest(	
@@ -316,7 +316,7 @@ module dPMR_TestCases {
					f_getColourCode(),
					c_102dBm, v_notTheIUT); 

				v_mse.start(f_TC_voiceTx_MS01()); // TODO JP implement
				v_mse.start(f_TC_voiceTx_MS01()); 

					v_ut.start(f_TC_msAction_UT(e_toStandby, 
									m_commandISFCSF_utRequest(	
@@ -331,6 +331,45 @@ module dPMR_TestCases {
				f_cfMseDown(v_mse, v_ut);
			} // end TC_PMR_1010_01

			/**
			* interference on channel, IUT config to impolite to own cc
			*/
			testcase TC_PMR_1011_01(   )
			runs on ServerSyncComp
			system TestAdapter {
		      	var Mse v_mse;
				var Ut v_ut;
				var FncRetCode v_ret := e_success;
				var Common_ID  v_notTheIUT;

				//Configuration Up
				f_cfMseUp(v_mse, v_ut);

				//Test body  
				//v_mse.start(f_TC_transmitLongVoiceNotToIUT_MS02());
				v_notTheIUT := int2bit(2,c_commonIdLength);
				if (v_notTheIUT == int2bit(PXT_APPLICABLE_COMMON_ID,c_commonIdLength)) {
					v_notTheIUT := int2bit(3,c_commonIdLength);
				}
					xf_transmitVoiceToCsfGroup(f_getChannelNrFromColourCode(f_getColourCode()),
						f_getColourCode(),
						c_102dBm,c_defaultInduvidualInGroupNotTheIUT_DialString); // Actually not a groupcall!!! but a p2p

				v_mse.start(f_TC_voiceTxNotTransmitted_MS01()); 

					v_ut.start(f_TC_msAction_UT(e_toStandby, 
									m_commandISFCSF_utRequest(	
										c_defaultCallGroupDialString, 
										omit ,
										e_pressPtt)));

				// synchronize both PTCs
				f_serverSync2ClientsAndStop({c_prDone, c_tbDone});

				// Configuration Down
				f_cfMseDown(v_mse, v_ut);
			} // end TC_PMR_1011_01

		} // end group ChannelAccess

		group Framing {// Clause 5.1.3
+1 −0
Original line number Diff line number Diff line
@@ -21,6 +21,7 @@ module dPMR_Values {
		const Common_ID c_defaultCommonId := '00000111'B;
		const Common_ID c_allCallCommonId := '11111111'B;
		const DialString c_csfAllCallDialString := "*******#"; // TODO this is now according to spec, but the final "#" only means that the user will "activate the calling, but we might think this is the key sequence the operator is to press....
		const DialString c_defaultInduvidualInGroupNotTheIUT_DialString := "7654320"; 
		
		
	} //end testProfileValues