parent 9bf0c6bf
......@@ -3766,7 +3766,7 @@ module OneM2M_Functions {
group CseSimuFunctions {
function f_ae_createPollingChannel(template UtTriggerPrimitive p_utRequest := m_utCreateAe) runs on CseSimu return integer {
function f_ae_createPollingChannel(template UtTriggerPrimitive p_utRequest := m_utCreateAe, integer p_parentIndex := vc_cSEBaseIndex) runs on CseSimu return integer {
var MsgIn v_request;
var PrimitiveContent v_modifiedResource;
var integer v_resourceIndex, v_parentIndex;
......@@ -3777,6 +3777,8 @@ module OneM2M_Functions {
p_utRequest.requestPrimitive.primitiveContent.pollingChannel := m_contentCreatePollingChannel;
}
p_utRequest.requestPrimitive.to_ := f_getLocalResourceAddress(p_parentIndex);
f_ae_sendUtPrimitive(p_utRequest, v_action);
tc_ac.start;
......
......@@ -2114,7 +2114,7 @@ module OneM2M_Testcases_AE_Release_1 {
f_checkCseSimuStatus();
//Create a function to receive the Create PollingChannel and to send the response
v_pollingChannelIndex := f_ae_createPollingChannel(v_utRequest2);
v_pollingChannelIndex := f_ae_createPollingChannel(v_utRequest2, v_aeIndex);
f_checkCseSimuStatus();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment