Loading go-apps/meep-rnis/sbi/rnis-sbi.go +86 −80 Original line number Diff line number Diff line Loading @@ -264,6 +264,12 @@ func processActiveScenarioUpdate() { // Update UE info ueNames := []string{} ueNameList := sbi.activeModel.GetNodeNames("UE") //get all measurements to update without waiting for ticker if len(ueNameList) > 0 { //no need to have the map if no ue to update ueMeasMap, _ := sbi.gisCache.GetAllMeasurements() for _, name := range ueNameList { // Ignore disconnected UEs if !isUeConnected(name) { Loading Loading @@ -331,7 +337,6 @@ func processActiveScenarioUpdate() { } //update measurements, don't wait for ticker ueMeasMap, _ := sbi.gisCache.GetAllMeasurements() poaNamesInRange, rsrpsInRange, rsrqsInRange := getMeas(name, "", ueMeasMap) var ueDataSbi = UeDataSbi{ Loading @@ -356,6 +361,7 @@ func processActiveScenarioUpdate() { } } } } // Update UEs that were removed for _, prevUeName := range prevUeNames { Loading Loading
go-apps/meep-rnis/sbi/rnis-sbi.go +86 −80 Original line number Diff line number Diff line Loading @@ -264,6 +264,12 @@ func processActiveScenarioUpdate() { // Update UE info ueNames := []string{} ueNameList := sbi.activeModel.GetNodeNames("UE") //get all measurements to update without waiting for ticker if len(ueNameList) > 0 { //no need to have the map if no ue to update ueMeasMap, _ := sbi.gisCache.GetAllMeasurements() for _, name := range ueNameList { // Ignore disconnected UEs if !isUeConnected(name) { Loading Loading @@ -331,7 +337,6 @@ func processActiveScenarioUpdate() { } //update measurements, don't wait for ticker ueMeasMap, _ := sbi.gisCache.GetAllMeasurements() poaNamesInRange, rsrpsInRange, rsrqsInRange := getMeas(name, "", ueMeasMap) var ueDataSbi = UeDataSbi{ Loading @@ -356,6 +361,7 @@ func processActiveScenarioUpdate() { } } } } // Update UEs that were removed for _, prevUeName := range prevUeNames { Loading