Commit 6b74639f authored by poglitsch's avatar poglitsch
Browse files

trigger functions updated

parent 742cd86f
Loading
Loading
Loading
Loading
+9 −10
Original line number Diff line number Diff line
@@ -14,20 +14,18 @@ module LibIms_ConfigAndTrigger {
	group ue {
		group ueTypes {
			group ueCommands {
				// device controll trigger (1000-1009)
				/**
				 * 
				 * @desc Trigger command to switch on the UE
				 */
				const TriggerCommand c_SWITCH_ON_UE := 1000;
				const TriggerCommand c_SWITCH_ON_UE := "UE_SWITCH_ON";
				
				/**
				 * 
				 * @desc Trigger command to switch off the UE
				 */
				const TriggerCommand c_SWITCH_OFF_UE := 1001;
				const TriggerCommand c_SWITCH_OFF_UE := "UE_SWITCH_OFF";
				
				// behvaior trigger (1010-1099)
				/**
				 * @desc Trigger command to force the registration at the UE
				 * @remark
@@ -35,13 +33,13 @@ module LibIms_ConfigAndTrigger {
				 *     additional parameter for the public, private user id and
				 *     password.
				 */
				const TriggerCommand c_REGISTER_UE := 1010;
				const TriggerCommand c_REGISTER_UE := "UE_REGISTER";
				
				/**
				 * 
				 * @desc Trigger command to force the de-registration at the UE
				 */
				const TriggerCommand c_DEREGISTER_UE := 1011;			
				const TriggerCommand c_DEREGISTER_UE := "UE_DEREGISTER";			
			}
		}
		
@@ -67,7 +65,7 @@ module LibIms_ConfigAndTrigger {
			
			/**
			 * 
			 * @desc Triggers the UE registration
			 * @desc Triggers the UE registration for a given user
			 * @param p_publicId The public user name
			 * @param p_privateId The private user name
			 * @param p_pw The users password
@@ -80,11 +78,12 @@ module LibIms_ConfigAndTrigger {
			
			/**
			 * 
			 * @desc Triggers the de-registration at the ue
			 * @desc Triggers the de-registration of a given user at the ue
			 * @param p_publicId The public user name
			 * @verdict e2e verdict will be set depending on the result of trigger action
			 */
			function f_triggerUeDeregistration() runs on EutTrigger {
				f_sendTriggerCmd(c_DEREGISTER_UE, {});
			function f_triggerUeDeregistration(in charstring p_publicId) runs on EutTrigger {
				f_sendTriggerCmd(c_DEREGISTER_UE, {p_publicId});
			}
		}
	}