Loading go-apps/meep-wais/sbi/wais-sbi.go +0 −3 Original line number Diff line number Diff line Loading @@ -172,17 +172,14 @@ func processActiveScenarioUpdate() { // Update UE info ueNameList := sbi.activeModel.GetNodeNames("UE") for _, name := range ueNameList { log.Info("SIMON ", name) ueParent := sbi.activeModel.GetNodeParent(name) if poa, ok := ueParent.(*dataModel.NetworkLocation); ok { log.Info("SIMON poa ", poa.Name) apMacId := "" switch poa.Type_ { case mod.NodeTypePoaWifi: apMacId = poa.PoaWifiConfig.MacId } ue := (sbi.activeModel.GetNode(name)).(*dataModel.PhysicalLocation) log.Info("SIMON all", ue.MacId, "---", name, "---", apMacId) sbi.updateUeDataCB(name, ue.MacId, apMacId) } } Loading go-apps/meep-wais/server/wais.go +1 −1 Original line number Diff line number Diff line Loading @@ -674,7 +674,7 @@ func populateStaInfo(key string, jsonInfo string, response interface{}) error { staInfo.ApAssociated = &apAssociated //TODO put a value in rssi that is coming from postGIS log.Info("SIMON RSSI") log.Info("TODO forced RSSI") staInfo.Rssi = 121 resp.StaInfo = append(resp.StaInfo, staInfo) Loading Loading
go-apps/meep-wais/sbi/wais-sbi.go +0 −3 Original line number Diff line number Diff line Loading @@ -172,17 +172,14 @@ func processActiveScenarioUpdate() { // Update UE info ueNameList := sbi.activeModel.GetNodeNames("UE") for _, name := range ueNameList { log.Info("SIMON ", name) ueParent := sbi.activeModel.GetNodeParent(name) if poa, ok := ueParent.(*dataModel.NetworkLocation); ok { log.Info("SIMON poa ", poa.Name) apMacId := "" switch poa.Type_ { case mod.NodeTypePoaWifi: apMacId = poa.PoaWifiConfig.MacId } ue := (sbi.activeModel.GetNode(name)).(*dataModel.PhysicalLocation) log.Info("SIMON all", ue.MacId, "---", name, "---", apMacId) sbi.updateUeDataCB(name, ue.MacId, apMacId) } } Loading
go-apps/meep-wais/server/wais.go +1 −1 Original line number Diff line number Diff line Loading @@ -674,7 +674,7 @@ func populateStaInfo(key string, jsonInfo string, response interface{}) error { staInfo.ApAssociated = &apAssociated //TODO put a value in rssi that is coming from postGIS log.Info("SIMON RSSI") log.Info("TODO forced RSSI") staInfo.Rssi = 121 resp.StaInfo = append(resp.StaInfo, staInfo) Loading