Hi. First of all, I'rm sorry because I know this page doesn't handle codes but I can't find the way to ask about it.
My question is RIC's plmn ID in E2SetupResponse msg.
When I see 'https://github.com/o-ran-sc/ric-plt-e2mgr/blob/master/E2Manager/handlers/rmrmsghandlers/e2_setup_request_notification_handler.go' this codes, there is buildPlmnId function that is used for handleSuccessfulResponse.func buildPlmnId(mmc string, mnc string) string {
b.WriteByte(mmc[1])
b.WriteByte(mmc[0])
if len(mnc) == 2 {
b.WriteString("F")
} else {
b.WriteByte(mnc[2])
}
b.WriteByte(mmc[2])
b.WriteByte(mnc[1])
b.WriteByte(mnc[0])
It seems like make RIC PLMN_ID using mcc(=mmc in this function) and mnc.
But I'm confusing to result of that code.
In my expectation, mcc=123 and mnc=456 case. PLMN ID should be 214365.
But in this codes, PLMN ID is 216354.
Is this correct? Please let me know what is my missing points.
1 Comment
Sungmin Jo
Hi. First of all, I'rm sorry because I know this page doesn't handle codes but I can't find the way to ask about it.
My question is RIC's plmn ID in E2SetupResponse msg.
When I see 'https://github.com/o-ran-sc/ric-plt-e2mgr/blob/master/E2Manager/handlers/rmrmsghandlers/e2_setup_request_notification_handler.go' this codes, there is buildPlmnId function that is used for handleSuccessfulResponse.
func buildPlmnId(mmc string, mnc string) string {
b.WriteByte(mmc[1])
b.WriteByte(mmc[0])
if len(mnc) == 2 {
b.WriteString("F")
} else {
b.WriteByte(mnc[2])
}
b.WriteByte(mmc[2])
b.WriteByte(mnc[1])
b.WriteByte(mnc[0])
}
It seems like make RIC PLMN_ID using mcc(=mmc in this function) and mnc.
But I'm confusing to result of that code.
In my expectation, mcc=123 and mnc=456 case. PLMN ID should be 214365.
But in this codes, PLMN ID is 216354.
Is this correct? Please let me know what is my missing points.