f_setProtocolBinding to be run on the corresponding component and not on the MTC

Signed-off-by: Miguel Angel Reina Ortega's avatarreinaortega <miguelangel.reinaortega@etsi.org>
parent f6da1180
......@@ -45,7 +45,8 @@ module OneM2M_Functions {
if(p_auxiliaryAe2Required) {
vc_auxiliaryAe2Up := p_auxiliaryAe2Required;
vc_ae2 := AeSimu.create("AE2") alive;
f_setProtocolBinding(PX_PROTOCOL_BINDING_AE2);
vc_ae2.start(f_setProtocolBinding(PX_PROTOCOL_BINDING_AE2));
vc_ae2.done;
vc_ae2.start(f_cf01UpAe2());
vc_ae2.done;
}
......@@ -81,7 +82,8 @@ module OneM2M_Functions {
vc_config := e_cf02;
vc_testSystemRole := e_ae;
vc_cse1 := CseSimu.create("CSE1") alive;
f_setProtocolBinding(PX_PROTOCOL_BINDING_CSE1);
vc_cse1.start(f_setProtocolBinding(PX_PROTOCOL_BINDING_CSE1));
vc_cse1.done;
// Map
map(self:mcaPort, system:mcaPort);
......@@ -132,7 +134,8 @@ module OneM2M_Functions {
vc_config := e_cf02CseSimuMaster;
vc_testSystemRole := e_cse;
vc_ae1 := AeSimu.create("AE1") alive;
f_setProtocolBinding(PX_PROTOCOL_BINDING_AE1);
vc_ae1.start(f_setProtocolBinding(PX_PROTOCOL_BINDING_AE1));
vc_ae1.done;
//Initialization of local CSEBase
v_cSEBaseResource := f_generateLocalResource(-, -1, int5);
......
This diff is collapsed.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
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