diff --git a/LibOneM2M/OneM2M_Functions.ttcn b/LibOneM2M/OneM2M_Functions.ttcn index 1d92cd9219d4138d8b1a495623ddb34916242aaa..a6d6b93cd7f747f091db65ee59321890202aab42 100644 --- a/LibOneM2M/OneM2M_Functions.ttcn +++ b/LibOneM2M/OneM2M_Functions.ttcn @@ -7,7 +7,7 @@ * * @author ETSI * @version $URL: https://forge.etsi.org/svn/oneM2M/trunk/ttcn/LibOneM2M/OneM2M_Functions.ttcn $ - * $Id: OneM2M_Functions.ttcn 189 2016-11-29 07:22:10Z reinaortega $ + * $Id: OneM2M_Functions.ttcn 190 2016-11-30 01:33:55Z reinaortega $ * @desc Module containing functions for oneM2M * */ @@ -858,6 +858,9 @@ module OneM2M_Functions { if(ischosen(p_contentResource.any_1[0].AE_optional)) { return p_contentResource.any_1[0].AE_optional.resourceID; } + if(ischosen(p_contentResource.any_1[0].ServiceSubscribedAppRule_optional)) { + return p_contentResource.any_1[0].ServiceSubscribedAppRule_optional.resourceID; + } return "1"; } @@ -891,6 +894,9 @@ module OneM2M_Functions { if(ischosen(p_contentResource.any_1[0].AE_optional)) { return p_contentResource.any_1[0].AE_optional.resourceName; } + if(ischosen(p_contentResource.any_1[0].ServiceSubscribedAppRule_optional)) { + return p_contentResource.any_1[0].ServiceSubscribedAppRule_optional.resourceName; + } return "1";