Fix #15

Signed-off-by: Antonio Castillo Verdugo's avataracverdugo <acverdugo@at4wireless.com>
parent 0e269726
...@@ -35,6 +35,7 @@ module OneM2M_Functions { ...@@ -35,6 +35,7 @@ module OneM2M_Functions {
// Map // Map
map(self:mcaPort, system:mcaPort); map(self:mcaPort, system:mcaPort);
map(self:mcaPortIn, system:mcaPortIn);
map(self:acPort, system:acPort); map(self:acPort, system:acPort);
activate(a_default()); activate(a_default());
......
...@@ -4772,7 +4772,7 @@ module OneM2M_PermutationFunctions { ...@@ -4772,7 +4772,7 @@ module OneM2M_PermutationFunctions {
// Preamble // Preamble
if(p_resourceType != int2) { if(p_resourceType != int2) {
v_aeIndex := f_cse_preamble_registerAe();//c_CRUDNDi); v_aeIndex := f_cse_preamble_registerAe(-, {f_getAnnouncementTargetPoA("HTTP", PX_AE1_ADDRESS, "")});//c_CRUDNDi);
} }
if(p_resourceType != int1) { if(p_resourceType != int1) {
...@@ -4797,7 +4797,16 @@ module OneM2M_PermutationFunctions { ...@@ -4797,7 +4797,16 @@ module OneM2M_PermutationFunctions {
//Test Body //Test Body
v_request := f_getUpdateRequestPrimitive(p_resourceType, v_resourceIndex, p_updateRequestPrimitive); v_request := f_getUpdateRequestPrimitive(p_resourceType, v_resourceIndex, p_updateRequestPrimitive);
mcaPort.send(m_request(v_request)); //CSEBase if(p_resourceType == int23) { //Subscription
v_request.primitiveContent.subscription.notificationURI := {f_getResourceAddress(v_aeIndex)};
}
mcaPort.send(m_request(v_request));
if(p_resourceType == int23) { //Subscription
f_cse_notifyProcedure_subscriptionVerificationHandler();
}
tc_ac.start; tc_ac.start;
alt { alt {
[] mcaPort.receive(mw_response(mw_responsePrimitive(int2004))) -> value vc_response { [] mcaPort.receive(mw_response(mw_responsePrimitive(int2004))) -> value vc_response {
......
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