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

f_createResource fixed so that it can be used for AE resource (registration)

parent 829e8a57
No related branches found
No related tags found
1 merge request!25Ae fixes
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
* *
* @author ETSI * @author ETSI
* @version $URL: https://forge.etsi.org/svn/oneM2M/trunk/ttcn/LibOneM2M/OneM2M_Functions.ttcn $ * @version $URL: https://forge.etsi.org/svn/oneM2M/trunk/ttcn/LibOneM2M/OneM2M_Functions.ttcn $
* $Id: OneM2M_Functions.ttcn 192 2016-11-30 21:52:33Z reinaortega $ * $Id: OneM2M_Functions.ttcn 194 2016-12-01 05:25:09Z reinaortega $
* @desc Module containing functions for oneM2M * @desc Module containing functions for oneM2M
* *
*/ */
...@@ -743,7 +743,9 @@ module OneM2M_Functions { ...@@ -743,7 +743,9 @@ module OneM2M_Functions {
var integer p_locresourceIndex := p_parentIndex; var integer p_locresourceIndex := p_parentIndex;
var template ListOfURIs v_defaultListOfURIs := {"NotInitialized"}; var template ListOfURIs v_defaultListOfURIs := {"NotInitialized"};
p_request.from_ := f_getOriginator(p_parentIndex); if(p_resourceType != int2) {
p_request.from_ := f_getOriginator(p_parentIndex);
}
p_request.to_ := f_getResourceAddress(p_parentIndex); p_request.to_ := f_getResourceAddress(p_parentIndex);
if (p_resourceType == int1) {//AccessControlPolicy if (p_resourceType == int1) {//AccessControlPolicy
......
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