return TRUE;
}
}
-
+ case EVENT_RIC_SERVICE_UPDATE_TMR:
+ {
+ if(((RicServiceUpdateTimer*)cb)->timer.tmrEvnt == EVENT_RIC_SERVICE_UPDATE_TMR)
+ {
+ DU_LOG("\nERROR --> DU_APP : duChkTmr: Timer already running for event [%d]", tmrEvnt);
+ return TRUE;
+ }
+ break;
+ }
default:
{
DU_LOG("\nERROR --> DU_APP : duChkTmr: Invalid tmr Evnt [%d]", tmrEvnt);
arg.max = MAX_E2_SETUP_TMR;
break;
}
+ case EVENT_RIC_SERVICE_UPDATE_TMR:
+ {
+ RicServiceUpdateTimer *ricServiceUpdateTimer;
+ ricServiceUpdateTimer= ((RicServiceUpdateTimer*)cb);
+ TMR_CALCUATE_WAIT(arg.wait, timerValue, duCb.duTimersInfo.tmrRes);
+
+ arg.timers = &ricServiceUpdateTimer->timer;
+ arg.max = MAX_RIC_SERVICE_UPDATE_TMR;
+ break;
+ }
default:
{
DU_LOG("\nERROR --> DU : duStartTmr: Invalid tmr Evnt [%d]", tmrEvnt);
BuildAndSendE2SetupReq();
break;
}
+ case EVENT_RIC_SERVICE_UPDATE_TMR:
+ {
+ RicServiceUpdateTimer *ricServiceUpdateTimer;
+
+ ricServiceUpdateTimer= ((RicServiceUpdateTimer*)cb);
+ BuildAndSendRicServiceUpdate(ricServiceUpdateTimer->ricService);
+ break;
+ }
default:
{
DU_LOG("\nERROR --> DU : duStartTmr: Invalid tmr Evnt [%d]", tmrEvnt);