You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
Thank you for this tool. I have one question. I want to add new IE. For example, RAT-Information IE in NGSetupRequest. I added following lines in files:
package ngapType
// Need to import "free5gc-cli/lib/aper" if it uses "aper"
type ProtocolExtensionID struct {
ExtensionValue int64 `aper:"valueLB:0,valueUB:65535"`
}
const ProtocolExtensionIDRATInformation int64 = 179
Created for test file
/free5gc-cli/lib/ngap/ngapType/RATInformation.go
package ngapType
import "free5gc-cli/lib/aper"
// Need to import "free5gc-cli/lib/aper" if it uses "aper"
const (
RATInformationPresentnRMEO aper.Enumerated = 0
RATInformationPresentnRLEO aper.Enumerated = 1
)
type RATInformation struct {
Value aper.Enumerated `aper:"valueExt,valueLB:0,valueUB:1"`
}
And described this new IE in file
/free5gc-cli/module/gnb/api/ngapTestpacket/ngap.go
RATInformation must include in IEExtensions in file
/free5gc-cli/lib/ngap/ngapType/SupportedTAItem.go
package ngapType
// Need to import "free5gc-cli/lib/aper" if it uses "aper"
type SupportedTAItem struct {
TAC TAC
BroadcastPLMNList BroadcastPLMNList
IEExtensions *ProtocolExtensionContainerSupportedTAItemExtIEs `aper:"optional"`
}
I did the above steps but the field RATInformation is not getting inserted into the package NGSetupRequest. Build created without errors. Could you help me with this problem? Maybe I'm doing something wrong or the current code does not provide for adding new IE in packets.
Thank you in advance :-)
No description provided.
The text was updated successfully, but these errors were encountered: