From a635df1c2452518780cf31022ef5c59be873707b Mon Sep 17 00:00:00 2001
From: reinaortega <miguelangel.reinaortega@etsi.org>
Date: Mon, 16 Jul 2018 15:09:01 +0200
Subject: [PATCH] New templates for sending a Notify Request

Signed-off-by: reinaortega <miguelangel.reinaortega@etsi.org>
---
 LibOneM2M/OneM2M_Templates.ttcn | 12 ++++++++++++
 1 file changed, 12 insertions(+)

diff --git a/LibOneM2M/OneM2M_Templates.ttcn b/LibOneM2M/OneM2M_Templates.ttcn
index 7be45d7..5eec900 100644
--- a/LibOneM2M/OneM2M_Templates.ttcn
+++ b/LibOneM2M/OneM2M_Templates.ttcn
@@ -1503,6 +1503,13 @@ module OneM2M_Templates {
 				vendorInformation := omit
 			};
 			
+			/**
+			 * @desc Base NOTIFY request primitive
+			 */
+			template RequestPrimitive m_notifyNotification(XSD.ID p_resourceAddress, Notification p_notification) modifies m_notify := {
+				primitiveContent := {notification := p_notification}
+			};
+			
 			/**
 			 * @desc Base NOTIFY Aggregated request primitive
 			 */
@@ -4411,6 +4418,11 @@ module OneM2M_Templates {
 			iPEDiscoveryRequest := omit
 		};
 		
+		template Notification m_contentNotification_subscriptionVerification modifies m_contentNotification_allOmit:= {
+			verificationRequest := true,
+			creator := "C-AE-ID"
+		};
+		
 		template Notification mw_contentNotification_any := {
 			notificationEvent := *,
 			verificationRequest := *,
-- 
GitLab