Skip to content
Snippets Groups Projects
Commit 117c85c9 authored by Miguel Angel Reina Ortega's avatar Miguel Angel Reina Ortega
Browse files

ServiceSubscribedAppRule_optional added to f_getResourceName and f_getResourceId functions

parent 0e2cb776
No related branches found
No related tags found
1 merge request!25Ae fixes
......@@ -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";
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment