Versions in this module Expand all Collapse all v1 v1.0.71 Nov 20, 2024 v1.0.7 Nov 9, 2024 Changes in this version + const MsgTypeManageUEPolicyCommand + const MsgTypeManageUEPolicyComplete + const MsgTypeManageUEPolicyReject + const MsgTypeUEPolicyProvisioningReject + const MsgTypeUEPolicyProvisioningRequest + const MsgTypeUEStateIndication + const UEPolicyPartType_ANDSP + const UEPolicyPartType_ProSeP + const UEPolicyPartType_URSP + const UEPolicyPartType_V2XP + type IDGenerator struct + func NewGenerator(minValue, maxValue int64) *IDGenerator + func (idGenerator *IDGenerator) Allocate() (int64, error) + func (idGenerator *IDGenerator) Allocate_inRange(min, max int64) (int64, error) + func (idGenerator *IDGenerator) FreeID(id int64) + type Instruction struct + Len uint16 + UEPolicySectionContents UEPolicySectionContents + Upsc uint16 + func (i *Instruction) GetLen() uint16 + func (i *Instruction) GetUpsc() uint16 + func (i *Instruction) MarshalBinary() ([]byte, error) + func (i *Instruction) SetLen(length uint16) + func (i *Instruction) SetUpsc(upsc uint16) + type ManageUEPolicyCommand struct + func NewManageUEPolicyCommand(msgType uint8) (manageUEPolicyCommand *ManageUEPolicyCommand) + func (m *ManageUEPolicyCommand) DecodeManageUEPolicyCommand(byteArray []byte) error + func (m *ManageUEPolicyCommand) EncodeManageUEPolicyCommand(buffer *bytes.Buffer) error + type ManageUEPolicyComplete struct + func NewManageUEPolicyComplete(msgType uint8) (manageUEPolicyComplete *ManageUEPolicyComplete) + func (m *ManageUEPolicyComplete) DecodeManageUEPolicyComplete(byteArray []byte) error + func (m *ManageUEPolicyComplete) EncodeManageUEPolicyComplete(buffer *bytes.Buffer) error + type ManageUEPolicyReject struct + func NewManageUEPolicyReject(msgType uint8) (manageUEPolicyReject *ManageUEPolicyReject) + func (m *ManageUEPolicyReject) DecodeManageUEPolicyReject(byteArray []byte) error + func (m *ManageUEPolicyReject) EncodeManageUEPolicyReject(buffer *bytes.Buffer) error + type Result struct + Cause uint8 + FailInstructionOrder uint16 + Upsc uint16 + func NewResult() Result + func (r *Result) GetUpsc() uint16 + func (r *Result) MarshalBinary() ([]byte, error) + func (r *Result) SetUpsc(upsc uint16) + type UEPolicyNetworkClassmark struct + Iei uint8 + Len uint8 + NSSUI uint8 + Spare uint8 + func NewUEPolicyNetworkClassmark() (uEPolicyNetworkClassmark *UEPolicyNetworkClassmark) + func (a *UEPolicyNetworkClassmark) GetIei() uint8 + func (a *UEPolicyNetworkClassmark) GetLen() uint8 + func (a *UEPolicyNetworkClassmark) GetNSSUI() uint8 + func (a *UEPolicyNetworkClassmark) GetSpare() uint8 + func (a *UEPolicyNetworkClassmark) SetIei(iei uint8) + func (a *UEPolicyNetworkClassmark) SetLen(length uint8) + func (a *UEPolicyNetworkClassmark) SetNSSUI(allowAcceptURSP uint8) error + type UEPolicyPart struct + Len uint16 + UEPolicyPartContents []byte + UEPolicyPartType UEPolicyPartType + func (u *UEPolicyPart) GetLen() uint16 + func (u *UEPolicyPart) GetPartContent() []uint8 + func (u *UEPolicyPart) MarshalBinary() ([]byte, error) + func (u *UEPolicyPart) SetLen(length uint16) + func (u *UEPolicyPart) SetLen_byContent() uint16 + func (u *UEPolicyPart) SetPartContent(encoding_content []uint8) + type UEPolicyPartType struct + Octet uint8 + func (u *UEPolicyPartType) GetPartType() byte + func (u *UEPolicyPartType) SetPartType(partType byte) + type UEPolicySectionContents []UEPolicyPart + func (u *UEPolicySectionContents) AppendUEPolicyPart(policyPart *UEPolicyPart) + func (u *UEPolicySectionContents) MarshalBinary() ([]byte, error) + func (u *UEPolicySectionContents) UnmarshalBinary(b []byte) error + type UEPolicySectionManagementList struct + Buffer []uint8 + Iei uint8 + Len uint16 + func NewUEPolicySectionManagementList(iei uint8) (uEPolicySectionManagementList *UEPolicySectionManagementList) + func (a *UEPolicySectionManagementList) GetIei() uint8 + func (a *UEPolicySectionManagementList) GetLen() uint16 + func (a *UEPolicySectionManagementList) GetUEPolicySectionManagementListContent() (ctnByte []uint8) + func (a *UEPolicySectionManagementList) SetIei(iei uint8) + func (a *UEPolicySectionManagementList) SetLen(length uint16) + func (a *UEPolicySectionManagementList) SetUEPolicySectionManagementListContent(ctnByte []uint8) + func (u *UEPolicySectionManagementList) MarshalBinary() ([]uint8, error) + func (u *UEPolicySectionManagementList) UnmarshalBinary(buf *bytes.Buffer) error + type UEPolicySectionManagementListContent []UEPolicySectionManagementSubList + func (u *UEPolicySectionManagementListContent) AppendSublist(sublist UEPolicySectionManagementSubList) + func (u *UEPolicySectionManagementListContent) MarshalBinary() ([]byte, error) + func (u *UEPolicySectionManagementListContent) UnmarshalBinary(b []byte) error + type UEPolicySectionManagementResult struct + Buffer []uint8 + Iei uint8 + Len uint16 + func NewUEPolicySectionManagementResult(iei uint8) (uEPolicySectionManagementResult *UEPolicySectionManagementResult) + func (a *UEPolicySectionManagementResult) GetUEPolicySectionManagementResultContent() (ctnByte []uint8) + func (a *UEPolicySectionManagementResult) SetUEPolicySectionManagementResultContent(ctnByte []uint8) + func (u *UEPolicySectionManagementResult) GetIei() uint8 + func (u *UEPolicySectionManagementResult) GetLen() uint16 + func (u *UEPolicySectionManagementResult) MarshalBinary() ([]uint8, error) + func (u *UEPolicySectionManagementResult) SetIei(iei uint8) + func (u *UEPolicySectionManagementResult) SetLen(length uint16) + func (u *UEPolicySectionManagementResult) UnmarshalBinary(buf *bytes.Buffer) error + type UEPolicySectionManagementResultContent []UEPolicySectionManagementSubResult + func (u *UEPolicySectionManagementResultContent) AppendSublist(sublist UEPolicySectionManagementSubResult) + func (u *UEPolicySectionManagementResultContent) MarshalBinary() ([]byte, error) + func (u *UEPolicySectionManagementResultContent) UnmarshalBinary(b []byte) error + type UEPolicySectionManagementSubList struct + Len uint16 + Mcc *int + Mnc *int + PlmnDigit1 uint8 + PlmnDigit2 uint8 + PlmnDigit3 uint8 + UEPolicySectionManagementSubListContents UEPolicySectionManagementSubListContents + UpscGenerator IDGenerator + func (u *UEPolicySectionManagementSubList) GetLen() uint16 + func (u *UEPolicySectionManagementSubList) GetPlmnDigit() (int, int) + func (u *UEPolicySectionManagementSubList) MarshalBinary() ([]byte, error) + func (u *UEPolicySectionManagementSubList) SetLen(length uint16) + func (u *UEPolicySectionManagementSubList) SetPlmnDigit(mcc, mnc int) error + type UEPolicySectionManagementSubListContents []Instruction + func (u *UEPolicySectionManagementSubListContents) AppendInstruction(ins Instruction) + func (u *UEPolicySectionManagementSubListContents) MarshalBinary() ([]byte, error) + func (u *UEPolicySectionManagementSubListContents) UnmarshalBinary(b []byte) error + type UEPolicySectionManagementSubResult struct + Len uint16 + Mcc *int + Mnc *int + PlmnDigit1 uint8 + PlmnDigit2 uint8 + PlmnDigit3 uint8 + UEPolicySectionManagementSubResultContents UEPolicySectionManagementSubResultContents + UpscGenerator IDGenerator + func (u *UEPolicySectionManagementSubResult) GetLen() uint16 + func (u *UEPolicySectionManagementSubResult) GetPlmnDigit() (int, int) + func (u *UEPolicySectionManagementSubResult) MarshalBinary() ([]byte, error) + func (u *UEPolicySectionManagementSubResult) SetLen(length uint16) + func (u *UEPolicySectionManagementSubResult) SetPlmnDigit(mcc, mnc int) error + type UEPolicySectionManagementSubResultContents []Result + func (u *UEPolicySectionManagementSubResultContents) AppendResult(ins Result) + func (u *UEPolicySectionManagementSubResultContents) MarshalBinary() ([]byte, error) + func (u *UEPolicySectionManagementSubResultContents) UnmarshalBinary(b []byte) error + type UePolDeliveryHeader struct + Octet [2]uint8 + func (u *UePolDeliveryHeader) GetHeaderMessageType() (messageType uint8) + func (u *UePolDeliveryHeader) GetHeaderPTI() (pTI uint8) + func (u *UePolDeliveryHeader) SetHeaderMessageType(messageType uint8) + func (u *UePolDeliveryHeader) SetHeaderPTI(PTI uint8) + type UePolDeliverySer struct + func NewUePolDeliverySer() *UePolDeliverySer + func (u *UePolDeliverySer) UePolDeliverySerDecode(byteArray []byte) error + func (u *UePolDeliverySer) UePolDeliverySerEncode() ([]byte, error) + type UePolicyContainer = UePolDeliverySer + type UePolicyDeliveryServiceMsgType struct + Octet uint8 + func (m *UePolicyDeliveryServiceMsgType) GetMessageIdentity(MessageIdentity uint8) uint8 + func (m *UePolicyDeliveryServiceMsgType) SetMessageIdentity(MessageIdentity uint8)