debug: add more print

This commit is contained in:
Erik Foris 2024-03-25 16:30:05 +01:00
parent f2e465c33e
commit cf8cd37685

View File

@ -451,11 +451,12 @@ void Xapp::startup_subscribe_requests(void ){
if(sz <= 0) if(sz <= 0)
mdclog_write(MDCLOG_INFO,"Subscriptions cannot be sent as GNBList in RNIB is NULL"); mdclog_write(MDCLOG_INFO,"Subscriptions cannot be sent as GNBList in RNIB is NULL");
std::cout << "pre for loop \n";
for(int i = 0; i<sz; i++){ for(int i = 0; i<sz; i++){
std::cout << "Sending subscriptions to: " << gnblist[i] << std::endl; std::cout << "Sending subscriptions to: " << gnblist[i] << std::endl;
// give the message to subscription handler, along with the transmitter. // give the message to subscription handler, along with the transmitter.
strcpy((char*)meid,gnblist[i].c_str()); strcpy((char*)meid,gnblist[i].c_str());
// char *strMsg = "Subscription Request from HelloWorld XApp\0"; // char *strMsg = "Subscription Request from HelloWorld XApp\0";