From a34e83b524e0f9987eae0be01aa0131116844107 Mon Sep 17 00:00:00 2001 From: Erik Foris Date: Fri, 22 Mar 2024 15:09:33 +0100 Subject: [PATCH] debug: trying to figure out why sub req is not beeing spamed --- setup/xapp-sm-connector/src/hw_xapp_main.cc | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/setup/xapp-sm-connector/src/hw_xapp_main.cc b/setup/xapp-sm-connector/src/hw_xapp_main.cc index 5d043a0..30256fc 100644 --- a/setup/xapp-sm-connector/src/hw_xapp_main.cc +++ b/setup/xapp-sm-connector/src/hw_xapp_main.cc @@ -30,6 +30,7 @@ void signalHandler( int signum ) { } int main(int argc, char *argv[]){ + std::cout << "hw_xapp_main Running" // Get the thread id std::thread::id my_id = std::this_thread::get_id(); @@ -71,7 +72,9 @@ int main(int argc, char *argv[]){ sleep(1); //Startup E2 subscription and A1 policy - //hw_xapp->startup(std::ref(*sub_handler)); + std::cout << "Startup E2 subscription and A1 policy" + + hw_xapp->startup(std::ref(*sub_handler)); //start listener threads and register message handlers. int num_threads = std::stoi(config[XappSettings::SettingName::THREADS]);