diff --git a/control/control.go b/control/control.go index 4b8b90d..969ef90 100644 --- a/control/control.go +++ b/control/control.go @@ -649,6 +649,8 @@ func (c *Control) handleIndication(params *xapp.RMRParams) (err error) { json.Unmarshal([]byte(ueJsonStr), &ueMetrics) } + ueMetrics.UeID = ueID + log.Printf("UeID: %d", ueMetrics.UeID) ueMetrics.ServingCellID = servingCellID log.Printf("ServingCellID: %s", ueMetrics.ServingCellID) @@ -719,6 +721,8 @@ func (c *Control) handleIndication(params *xapp.RMRParams) (err error) { json.Unmarshal([]byte(ueJsonStr), &ueMetrics) } + ueMetrics.UeID = ueID + log.Printf("UeID: %d", ueMetrics.UeID) ueMetrics.ServingCellID = servingCellID log.Printf("ServingCellID: %s", ueMetrics.ServingCellID) @@ -797,6 +801,8 @@ func (c *Control) handleIndication(params *xapp.RMRParams) (err error) { json.Unmarshal([]byte(ueJsonStr), &ueMetrics) } + ueMetrics.UeID = ueID + log.Printf("UeID: %d", ueMetrics.UeID) ueMetrics.ServingCellID = servingCellID log.Printf("ServingCellID: %s", ueMetrics.ServingCellID) diff --git a/control/types.go b/control/types.go index 387c137..d7c5938 100644 --- a/control/types.go +++ b/control/types.go @@ -360,7 +360,7 @@ type NeighborCellRFType struct { } type UeMetricsEntry struct { - UeID string `json:"UE ID"` + UeID int64 `json:"UE ID"` ServingCellID string `json:"Serving Cell ID"` MeasTimestampPDCPBytes Timestamp `json:"Meas-Timestamp-PDCP-Bytes"` PDCPBytesDL int64 `json:"PDCP-Bytes-DL"`