From 82b09efdbd7bdcc3248f41cdfe288fbfb36cb5b0 Mon Sep 17 00:00:00 2001 From: Miguel Angel Reina Ortega <miguelangel.reinaortega@etsi.org> Date: Fri, 23 Jun 2023 10:02:45 +0200 Subject: [PATCH] Fix for a_cse_cf01 to use a_cse_aeSimu --- LibOneM2M/OneM2M_Functions.ttcn | 24 +----------------------- 1 file changed, 1 insertion(+), 23 deletions(-) diff --git a/LibOneM2M/OneM2M_Functions.ttcn b/LibOneM2M/OneM2M_Functions.ttcn index 1236db7..a4704da 100644 --- a/LibOneM2M/OneM2M_Functions.ttcn +++ b/LibOneM2M/OneM2M_Functions.ttcn @@ -4469,29 +4469,7 @@ module OneM2M_Functions { * @desc Cse altstep for config 01 */ altstep a_cse_cf01() runs on AeSimu { - var MsgIn v_request; - var ResponsePrimitive v_responsePrimitive; - - [] mcaPort.receive { - log(__SCOPE__&": WARNING: Unexpected message received"); - repeat; - } - [] mcaPortIn.receive(mw_request(mw_notifyNotification(mw_contentNotification(?)))) -> value v_request { - //Send response - v_responsePrimitive := valueof(m_responseNotification(int2000, omit)); - v_responsePrimitive.requestIdentifier := v_request.primitive.requestPrimitive.requestIdentifier; - f_send(e_mcaPortIn, m_response(v_responsePrimitive)); - log(__SCOPE__&": WARNING: Unexpected Notification message received"); - repeat; - } - [] mcaPortIn.receive(mw_request(mw_notifyNotification(mw_contentNotificationVerification))) -> value v_request { - //Send response - v_responsePrimitive := valueof(m_responseNotification(int2000, omit)); - v_responsePrimitive.requestIdentifier := v_request.primitive.requestPrimitive.requestIdentifier; - f_send(e_mcaPortIn, m_response(v_responsePrimitive)); - log(__SCOPE__&": WARNING: Unexpected Notification for Subscription Verification message received"); - repeat; - } + [] a_cse_aeSimu(); } /** -- GitLab