From 290e030071dc5947855409ea055190de4cca0146 Mon Sep 17 00:00:00 2001 From: Erik Foris Date: Fri, 22 Mar 2024 12:53:46 +0100 Subject: [PATCH] forece x-app to send sub. req. indefinitly --- setup/xapp-sm-connector/src/xapp.cc | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/setup/xapp-sm-connector/src/xapp.cc b/setup/xapp-sm-connector/src/xapp.cc index 77eb8bb..f58786f 100644 --- a/setup/xapp-sm-connector/src/xapp.cc +++ b/setup/xapp-sm-connector/src/xapp.cc @@ -135,7 +135,13 @@ void Xapp::startup(SubscriptionHandler &sub_ref) { // send_socket("Hello, Server!", AGENT_1); //send subscriptions. - startup_subscribe_requests(); + while ( + true + ) + { + startup_subscribe_requests(); + } + //read A1 policies // startup_get_policies();