Documentation ¶
Index ¶
- Constants
- Variables
- func DecodePlmnID(plmnID string) (mcc string, mnc string)
- func EncodePlmnID(mcc string, mnc string) string
- func PlmnIDToString(plmnID PlmnID) string
- func SetNCIBitSplit(gnb uint8, cid uint8) error
- func Uint24ToUint32(val []byte) uint32
- type CRNTI
- type Cell
- func (*Cell) Descriptor() ([]byte, []int)
- func (m *Cell) GetCellType() CellType
- func (m *Cell) GetColor() string
- func (m *Cell) GetCrntiIndex() uint32
- func (m *Cell) GetCrntiMap() map[CRNTI]IMSI
- func (m *Cell) GetEarfcn() uint32
- func (m *Cell) GetLocation() *Point
- func (m *Cell) GetMaxUEs() uint32
- func (m *Cell) GetMeasurementParams() *MeasurementParams
- func (m *Cell) GetNCGI() NCGI
- func (m *Cell) GetNeighbors() []NCGI
- func (m *Cell) GetPci() uint32
- func (m *Cell) GetPort() uint32
- func (m *Cell) GetSector() *Sector
- func (m *Cell) GetTxPowerdB() float64
- func (m *Cell) Marshal() (dAtA []byte, err error)
- func (m *Cell) MarshalTo(dAtA []byte) (int, error)
- func (m *Cell) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Cell) ProtoMessage()
- func (m *Cell) Reset()
- func (m *Cell) Size() (n int)
- func (m *Cell) String() string
- func (m *Cell) Unmarshal(dAtA []byte) error
- func (m *Cell) XXX_DiscardUnknown()
- func (m *Cell) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Cell) XXX_Merge(src proto.Message)
- func (m *Cell) XXX_Size() int
- func (m *Cell) XXX_Unmarshal(b []byte) error
- type CellID
- type CellType
- type ECGI
- type ECI
- type EnbID
- type EventA3Params
- func (*EventA3Params) Descriptor() ([]byte, []int)
- func (m *EventA3Params) GetA3Offset() int32
- func (m *EventA3Params) GetReportOnLeave() bool
- func (m *EventA3Params) Marshal() (dAtA []byte, err error)
- func (m *EventA3Params) MarshalTo(dAtA []byte) (int, error)
- func (m *EventA3Params) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*EventA3Params) ProtoMessage()
- func (m *EventA3Params) Reset()
- func (m *EventA3Params) Size() (n int)
- func (m *EventA3Params) String() string
- func (m *EventA3Params) Unmarshal(dAtA []byte) error
- func (m *EventA3Params) XXX_DiscardUnknown()
- func (m *EventA3Params) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EventA3Params) XXX_Merge(src proto.Message)
- func (m *EventA3Params) XXX_Size() int
- func (m *EventA3Params) XXX_Unmarshal(b []byte) error
- type GnbID
- type IMSI
- type MSIN
- type MapLayout
- func (*MapLayout) Descriptor() ([]byte, []int)
- func (m *MapLayout) GetCenter() *Point
- func (m *MapLayout) GetCurrentRoutes() uint32
- func (m *MapLayout) GetFade() bool
- func (m *MapLayout) GetLocationsScale() float32
- func (m *MapLayout) GetMaxUes() uint32
- func (m *MapLayout) GetMinUes() uint32
- func (m *MapLayout) GetShowPower() bool
- func (m *MapLayout) GetShowRoutes() bool
- func (m *MapLayout) GetZoom() float32
- func (m *MapLayout) Marshal() (dAtA []byte, err error)
- func (m *MapLayout) MarshalTo(dAtA []byte) (int, error)
- func (m *MapLayout) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MapLayout) ProtoMessage()
- func (m *MapLayout) Reset()
- func (m *MapLayout) Size() (n int)
- func (m *MapLayout) String() string
- func (m *MapLayout) Unmarshal(dAtA []byte) error
- func (m *MapLayout) XXX_DiscardUnknown()
- func (m *MapLayout) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MapLayout) XXX_Merge(src proto.Message)
- func (m *MapLayout) XXX_Size() int
- func (m *MapLayout) XXX_Unmarshal(b []byte) error
- type MeasurementParams
- func (*MeasurementParams) Descriptor() ([]byte, []int)
- func (m *MeasurementParams) GetEventA3Params() *EventA3Params
- func (m *MeasurementParams) GetFrequencyOffset() int32
- func (m *MeasurementParams) GetHysteresis() int32
- func (m *MeasurementParams) GetNcellIndividualOffsets() map[NCGI]int32
- func (m *MeasurementParams) GetPcellIndividualOffset() int32
- func (m *MeasurementParams) GetTimeToTrigger() int32
- func (m *MeasurementParams) Marshal() (dAtA []byte, err error)
- func (m *MeasurementParams) MarshalTo(dAtA []byte) (int, error)
- func (m *MeasurementParams) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MeasurementParams) ProtoMessage()
- func (m *MeasurementParams) Reset()
- func (m *MeasurementParams) Size() (n int)
- func (m *MeasurementParams) String() string
- func (m *MeasurementParams) Unmarshal(dAtA []byte) error
- func (m *MeasurementParams) XXX_DiscardUnknown()
- func (m *MeasurementParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MeasurementParams) XXX_Merge(src proto.Message)
- func (m *MeasurementParams) XXX_Size() int
- func (m *MeasurementParams) XXX_Unmarshal(b []byte) error
- type NCGI
- type NCI
- type Node
- func (*Node) Descriptor() ([]byte, []int)
- func (m *Node) GetCellNCGIs() []NCGI
- func (m *Node) GetControllers() []string
- func (m *Node) GetGnbID() GnbID
- func (m *Node) GetServiceModels() []string
- func (m *Node) GetStatus() string
- func (m *Node) Marshal() (dAtA []byte, err error)
- func (m *Node) MarshalTo(dAtA []byte) (int, error)
- func (m *Node) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Node) ProtoMessage()
- func (m *Node) Reset()
- func (m *Node) Size() (n int)
- func (m *Node) String() string
- func (m *Node) Unmarshal(dAtA []byte) error
- func (m *Node) XXX_DiscardUnknown()
- func (m *Node) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Node) XXX_Merge(src proto.Message)
- func (m *Node) XXX_Size() int
- func (m *Node) XXX_Unmarshal(b []byte) error
- type NodeID
- type PlmnID
- type Point
- func (*Point) Descriptor() ([]byte, []int)
- func (m *Point) GetLat() float64
- func (m *Point) GetLng() float64
- func (m *Point) Marshal() (dAtA []byte, err error)
- func (m *Point) MarshalTo(dAtA []byte) (int, error)
- func (m *Point) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Point) ProtoMessage()
- func (m *Point) Reset()
- func (m *Point) Size() (n int)
- func (m *Point) String() string
- func (m *Point) Unmarshal(dAtA []byte) error
- func (m *Point) XXX_DiscardUnknown()
- func (m *Point) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Point) XXX_Merge(src proto.Message)
- func (m *Point) XXX_Size() int
- func (m *Point) XXX_Unmarshal(b []byte) error
- type Route
- func (*Route) Descriptor() ([]byte, []int)
- func (m *Route) GetColor() string
- func (m *Route) GetNextPoint() uint32
- func (m *Route) GetReverse() bool
- func (m *Route) GetRouteID() IMSI
- func (m *Route) GetSpeedAvg() uint32
- func (m *Route) GetSpeedStdev() uint32
- func (m *Route) GetWaypoints() []*Point
- func (m *Route) Marshal() (dAtA []byte, err error)
- func (m *Route) MarshalTo(dAtA []byte) (int, error)
- func (m *Route) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Route) ProtoMessage()
- func (m *Route) Reset()
- func (m *Route) Size() (n int)
- func (m *Route) String() string
- func (m *Route) Unmarshal(dAtA []byte) error
- func (m *Route) XXX_DiscardUnknown()
- func (m *Route) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Route) XXX_Merge(src proto.Message)
- func (m *Route) XXX_Size() int
- func (m *Route) XXX_Unmarshal(b []byte) error
- type Sector
- func (*Sector) Descriptor() ([]byte, []int)
- func (m *Sector) GetArc() int32
- func (m *Sector) GetAzimuth() int32
- func (m *Sector) GetCentroid() *Point
- func (m *Sector) GetHeight() int32
- func (m *Sector) GetTilt() int32
- func (m *Sector) Marshal() (dAtA []byte, err error)
- func (m *Sector) MarshalTo(dAtA []byte) (int, error)
- func (m *Sector) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Sector) ProtoMessage()
- func (m *Sector) Reset()
- func (m *Sector) Size() (n int)
- func (m *Sector) String() string
- func (m *Sector) Unmarshal(dAtA []byte) error
- func (m *Sector) XXX_DiscardUnknown()
- func (m *Sector) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Sector) XXX_Merge(src proto.Message)
- func (m *Sector) XXX_Size() int
- func (m *Sector) XXX_Unmarshal(b []byte) error
- type Ue
- func (*Ue) Descriptor() ([]byte, []int)
- func (m *Ue) GetAdmitted() bool
- func (m *Ue) GetCRNTI() CRNTI
- func (m *Ue) GetIMSI() IMSI
- func (m *Ue) GetMetrics() *UeMetrics
- func (m *Ue) GetPosition() *Point
- func (m *Ue) GetRotation() uint32
- func (m *Ue) GetRrcState() uint32
- func (m *Ue) GetServingTower() NCGI
- func (m *Ue) GetServingTowerStrength() float64
- func (m *Ue) GetTower1() NCGI
- func (m *Ue) GetTower1Strength() float64
- func (m *Ue) GetTower2() NCGI
- func (m *Ue) GetTower2Strength() float64
- func (m *Ue) GetTower3() NCGI
- func (m *Ue) GetTower3Strength() float64
- func (m *Ue) GetType() string
- func (m *Ue) Marshal() (dAtA []byte, err error)
- func (m *Ue) MarshalTo(dAtA []byte) (int, error)
- func (m *Ue) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Ue) ProtoMessage()
- func (m *Ue) Reset()
- func (m *Ue) Size() (n int)
- func (m *Ue) String() string
- func (m *Ue) Unmarshal(dAtA []byte) error
- func (m *Ue) XXX_DiscardUnknown()
- func (m *Ue) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Ue) XXX_Merge(src proto.Message)
- func (m *Ue) XXX_Size() int
- func (m *Ue) XXX_Unmarshal(b []byte) error
- type UeMetrics
- func (*UeMetrics) Descriptor() ([]byte, []int)
- func (m *UeMetrics) GetHoLatency() int64
- func (m *UeMetrics) GetHoReportTimestamp() int64
- func (m *UeMetrics) GetIsFirst() bool
- func (m *UeMetrics) Marshal() (dAtA []byte, err error)
- func (m *UeMetrics) MarshalTo(dAtA []byte) (int, error)
- func (m *UeMetrics) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*UeMetrics) ProtoMessage()
- func (m *UeMetrics) Reset()
- func (m *UeMetrics) Size() (n int)
- func (m *UeMetrics) String() string
- func (m *UeMetrics) Unmarshal(dAtA []byte) error
- func (m *UeMetrics) XXX_DiscardUnknown()
- func (m *UeMetrics) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *UeMetrics) XXX_Merge(src proto.Message)
- func (m *UeMetrics) XXX_Size() int
- func (m *UeMetrics) XXX_Unmarshal(b []byte) error
- type Uint24
Constants ¶
const (
// MaxUint24 maximum value of uint24 variable
MaxUint24 = 1<<24 - 1
)
Variables ¶
var ( ErrInvalidLengthTypes = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowTypes = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupTypes = fmt.Errorf("proto: unexpected end of group") )
var CellType_name = map[int32]string{
0: "FEMTO",
1: "ENTERPRISE",
2: "OUTDOOR_SMALL",
3: "MACRO",
}
var CellType_value = map[string]int32{
"FEMTO": 0,
"ENTERPRISE": 1,
"OUTDOOR_SMALL": 2,
"MACRO": 3,
}
Functions ¶
func DecodePlmnID ¶ added in v0.7.12
DecodePlmnID decodes MCC and MNC strings from PLMNID hex string
func EncodePlmnID ¶ added in v0.7.12
EncodePlmnID encodes MCC and MNC strings into a PLMNID hex string
func PlmnIDToString ¶ added in v0.7.13
PlmnIDToString generates the MCC-MCN catenation format from the specified numeric PLMNID
func SetNCIBitSplit ¶ added in v0.7.51
SetNCIBitSplit sets how the NCI bits are split between gNBID and CID
func Uint24ToUint32 ¶ added in v0.7.14
Uint24ToUint32 converts uint24 uint32
Types ¶
type Cell ¶
type Cell struct { NCGI NCGI `protobuf:"varint,1,opt,name=ecgi,proto3,casttype=NCGI" json:"ecgi,omitempty"` Location *Point `protobuf:"bytes,3,opt,name=location,proto3" json:"location,omitempty"` Sector *Sector `protobuf:"bytes,4,opt,name=sector,proto3" json:"sector,omitempty"` Color string `protobuf:"bytes,5,opt,name=color,proto3" json:"color,omitempty"` MaxUEs uint32 `protobuf:"varint,6,opt,name=max_ues,json=maxUes,proto3" json:"max_ues,omitempty"` Neighbors []NCGI `protobuf:"varint,7,rep,packed,name=neighbors,proto3,casttype=NCGI" json:"neighbors,omitempty"` // The cell transmit power in decibels TxPowerdB float64 `protobuf:"fixed64,8,opt,name=tx_power_db,json=txPowerDb,proto3" json:"tx_power_db,omitempty"` MeasurementParams *MeasurementParams `protobuf:"bytes,9,opt,name=measurement_params,json=measurementParams,proto3" json:"measurement_params,omitempty"` // crntis maps a ue's name to its crnti CrntiMap map[CRNTI]IMSI `` /* 205-byte string literal not displayed */ CrntiIndex uint32 `protobuf:"varint,11,opt,name=crnti_index,json=crntiIndex,proto3" json:"crnti_index,omitempty"` Port uint32 `protobuf:"varint,12,opt,name=port,proto3" json:"port,omitempty"` Pci uint32 `protobuf:"varint,13,opt,name=pci,proto3" json:"pci,omitempty"` Earfcn uint32 `protobuf:"varint,14,opt,name=earfcn,proto3" json:"earfcn,omitempty"` CellType CellType `protobuf:"varint,15,opt,name=cell_type,json=cellType,proto3,enum=onos.ransim.types.CellType" json:"cell_type,omitempty"` }
func (*Cell) Descriptor ¶
func (*Cell) GetCellType ¶ added in v0.7.51
func (*Cell) GetCrntiIndex ¶
func (*Cell) GetCrntiMap ¶
func (*Cell) GetLocation ¶
func (*Cell) GetMeasurementParams ¶ added in v0.7.59
func (m *Cell) GetMeasurementParams() *MeasurementParams
func (*Cell) GetNeighbors ¶
func (*Cell) GetTxPowerdB ¶
func (*Cell) ProtoMessage ¶
func (*Cell) ProtoMessage()
func (*Cell) XXX_DiscardUnknown ¶
func (m *Cell) XXX_DiscardUnknown()
func (*Cell) XXX_Unmarshal ¶
type CellID ¶
type CellID uint16
CellID is a node-local cell identifier; 4 bits for 4G; 14 bits fo 5G
func Get4GCellID ¶ added in v0.7.53
Get4GCellID extracts Cell ID from the specified ECGI
func Get5GCellID ¶ added in v0.7.51
Get5GCellID extracts Cell ID from the specified NCGI or NCI
type CellType ¶ added in v0.7.51
type CellType int32
func (CellType) EnumDescriptor ¶ added in v0.7.51
type EventA3Params ¶ added in v0.7.44
type EventA3Params struct { A3Offset int32 `protobuf:"varint,1,opt,name=a3_offset,json=a3Offset,proto3" json:"a3_offset,omitempty"` ReportOnLeave bool `protobuf:"varint,2,opt,name=report_on_leave,json=reportOnLeave,proto3" json:"report_on_leave,omitempty"` }
func (*EventA3Params) Descriptor ¶ added in v0.7.44
func (*EventA3Params) Descriptor() ([]byte, []int)
func (*EventA3Params) GetA3Offset ¶ added in v0.7.44
func (m *EventA3Params) GetA3Offset() int32
func (*EventA3Params) GetReportOnLeave ¶ added in v0.7.59
func (m *EventA3Params) GetReportOnLeave() bool
func (*EventA3Params) Marshal ¶ added in v0.7.44
func (m *EventA3Params) Marshal() (dAtA []byte, err error)
func (*EventA3Params) MarshalTo ¶ added in v0.7.44
func (m *EventA3Params) MarshalTo(dAtA []byte) (int, error)
func (*EventA3Params) MarshalToSizedBuffer ¶ added in v0.7.44
func (m *EventA3Params) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*EventA3Params) ProtoMessage ¶ added in v0.7.44
func (*EventA3Params) ProtoMessage()
func (*EventA3Params) Reset ¶ added in v0.7.44
func (m *EventA3Params) Reset()
func (*EventA3Params) Size ¶ added in v0.7.44
func (m *EventA3Params) Size() (n int)
func (*EventA3Params) String ¶ added in v0.7.44
func (m *EventA3Params) String() string
func (*EventA3Params) Unmarshal ¶ added in v0.7.44
func (m *EventA3Params) Unmarshal(dAtA []byte) error
func (*EventA3Params) XXX_DiscardUnknown ¶ added in v0.7.44
func (m *EventA3Params) XXX_DiscardUnknown()
func (*EventA3Params) XXX_Marshal ¶ added in v0.7.44
func (m *EventA3Params) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*EventA3Params) XXX_Merge ¶ added in v0.7.44
func (m *EventA3Params) XXX_Merge(src proto.Message)
func (*EventA3Params) XXX_Size ¶ added in v0.7.44
func (m *EventA3Params) XXX_Size() int
func (*EventA3Params) XXX_Unmarshal ¶ added in v0.7.44
func (m *EventA3Params) XXX_Unmarshal(b []byte) error
type MapLayout ¶
type MapLayout struct { // Map center latitude and longitude Center *Point `protobuf:"bytes,1,opt,name=center,proto3" json:"center,omitempty"` // The starting Zoom level Zoom float32 `protobuf:"fixed32,2,opt,name=zoom,proto3" json:"zoom,omitempty"` // Show map as faded on start Fade bool `protobuf:"varint,3,opt,name=fade,proto3" json:"fade,omitempty"` // Show routes on start ShowRoutes bool `protobuf:"varint,4,opt,name=show_routes,json=showRoutes,proto3" json:"show_routes,omitempty"` // Show power as circle on start ShowPower bool `protobuf:"varint,5,opt,name=show_power,json=showPower,proto3" json:"show_power,omitempty"` // Ratio of random locations diameter to tower grid width LocationsScale float32 `protobuf:"fixed32,9,opt,name=locations_scale,json=locationsScale,proto3" json:"locations_scale,omitempty"` // FIXME: These are deprecated; remove // Max number of UEs for complete simulation MinUes uint32 `protobuf:"varint,6,opt,name=min_ues,json=minUes,proto3" json:"min_ues,omitempty"` // Max number of UEs for complete simulation MaxUes uint32 `protobuf:"varint,7,opt,name=max_ues,json=maxUes,proto3" json:"max_ues,omitempty"` // the current number of routes CurrentRoutes uint32 `protobuf:"varint,8,opt,name=current_routes,json=currentRoutes,proto3" json:"current_routes,omitempty"` }
func (*MapLayout) Descriptor ¶
func (*MapLayout) GetCurrentRoutes ¶
func (*MapLayout) GetLocationsScale ¶
func (*MapLayout) GetShowPower ¶
func (*MapLayout) GetShowRoutes ¶
func (*MapLayout) MarshalToSizedBuffer ¶
func (*MapLayout) ProtoMessage ¶
func (*MapLayout) ProtoMessage()
func (*MapLayout) XXX_DiscardUnknown ¶
func (m *MapLayout) XXX_DiscardUnknown()
func (*MapLayout) XXX_Marshal ¶
func (*MapLayout) XXX_Unmarshal ¶
type MeasurementParams ¶ added in v0.7.59
type MeasurementParams struct { TimeToTrigger int32 `protobuf:"varint,1,opt,name=time_to_trigger,json=timeToTrigger,proto3" json:"time_to_trigger,omitempty"` FrequencyOffset int32 `protobuf:"varint,2,opt,name=frequency_offset,json=frequencyOffset,proto3" json:"frequency_offset,omitempty"` PcellIndividualOffset int32 `` /* 127-byte string literal not displayed */ NcellIndividualOffsets map[NCGI]int32 `` /* 232-byte string literal not displayed */ Hysteresis int32 `protobuf:"varint,5,opt,name=hysteresis,proto3" json:"hysteresis,omitempty"` EventA3Params *EventA3Params `protobuf:"bytes,6,opt,name=event_a3_params,json=eventA3Params,proto3" json:"event_a3_params,omitempty"` }
func (*MeasurementParams) Descriptor ¶ added in v0.7.59
func (*MeasurementParams) Descriptor() ([]byte, []int)
func (*MeasurementParams) GetEventA3Params ¶ added in v0.7.59
func (m *MeasurementParams) GetEventA3Params() *EventA3Params
func (*MeasurementParams) GetFrequencyOffset ¶ added in v0.7.59
func (m *MeasurementParams) GetFrequencyOffset() int32
func (*MeasurementParams) GetHysteresis ¶ added in v0.7.59
func (m *MeasurementParams) GetHysteresis() int32
func (*MeasurementParams) GetNcellIndividualOffsets ¶ added in v0.7.59
func (m *MeasurementParams) GetNcellIndividualOffsets() map[NCGI]int32
func (*MeasurementParams) GetPcellIndividualOffset ¶ added in v0.7.59
func (m *MeasurementParams) GetPcellIndividualOffset() int32
func (*MeasurementParams) GetTimeToTrigger ¶ added in v0.7.59
func (m *MeasurementParams) GetTimeToTrigger() int32
func (*MeasurementParams) Marshal ¶ added in v0.7.59
func (m *MeasurementParams) Marshal() (dAtA []byte, err error)
func (*MeasurementParams) MarshalTo ¶ added in v0.7.59
func (m *MeasurementParams) MarshalTo(dAtA []byte) (int, error)
func (*MeasurementParams) MarshalToSizedBuffer ¶ added in v0.7.59
func (m *MeasurementParams) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MeasurementParams) ProtoMessage ¶ added in v0.7.59
func (*MeasurementParams) ProtoMessage()
func (*MeasurementParams) Reset ¶ added in v0.7.59
func (m *MeasurementParams) Reset()
func (*MeasurementParams) Size ¶ added in v0.7.59
func (m *MeasurementParams) Size() (n int)
func (*MeasurementParams) String ¶ added in v0.7.59
func (m *MeasurementParams) String() string
func (*MeasurementParams) Unmarshal ¶ added in v0.7.59
func (m *MeasurementParams) Unmarshal(dAtA []byte) error
func (*MeasurementParams) XXX_DiscardUnknown ¶ added in v0.7.59
func (m *MeasurementParams) XXX_DiscardUnknown()
func (*MeasurementParams) XXX_Marshal ¶ added in v0.7.59
func (m *MeasurementParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MeasurementParams) XXX_Merge ¶ added in v0.7.59
func (m *MeasurementParams) XXX_Merge(src proto.Message)
func (*MeasurementParams) XXX_Size ¶ added in v0.7.59
func (m *MeasurementParams) XXX_Size() int
func (*MeasurementParams) XXX_Unmarshal ¶ added in v0.7.59
func (m *MeasurementParams) XXX_Unmarshal(b []byte) error
type NCI ¶ added in v0.7.51
type NCI uint64
NCI is a NR Cell Identifier; a 36-bit value (gNBID + CID)
type Node ¶
type Node struct { GnbID GnbID `protobuf:"varint,1,opt,name=enbid,proto3,casttype=GnbID" json:"enbid,omitempty"` Controllers []string `protobuf:"bytes,2,rep,name=controllers,proto3" json:"controllers,omitempty"` ServiceModels []string `protobuf:"bytes,3,rep,name=service_models,json=serviceModels,proto3" json:"service_models,omitempty"` CellNCGIs []NCGI `protobuf:"varint,4,rep,packed,name=cell_ecgis,json=cellEcgis,proto3,casttype=NCGI" json:"cell_ecgis,omitempty"` Status string `protobuf:"bytes,5,opt,name=status,proto3" json:"status,omitempty"` }
func (*Node) Descriptor ¶
func (*Node) GetCellNCGIs ¶ added in v0.7.57
func (*Node) GetControllers ¶
func (*Node) GetServiceModels ¶
func (*Node) ProtoMessage ¶
func (*Node) ProtoMessage()
func (*Node) XXX_DiscardUnknown ¶
func (m *Node) XXX_DiscardUnknown()
func (*Node) XXX_Unmarshal ¶
type NodeID ¶ added in v0.7.53
type NodeID uint64
NodeID is a general abstraction of a global E2 node identifier. It holds appropriately bit-shifted concatenation of either:
- [PLMNID + GnbID] or
- [PLMNID + EnbID]
To extract the corresponding components, application must use the appropriate 4G or 5G method provided below.
func To4GNodeID ¶ added in v0.7.53
To4GNodeID produces a 54 global node ID as a catenation of PLMNID + EnbID
func To5GNodeID ¶ added in v0.7.53
To5GNodeID produces a 5G global node ID as a catenation of PLMNID + GnbID
type PlmnID ¶
type PlmnID uint32
PlmnID is a globally unique network identifier (Public Land Mobile Network)
func Get4GPlmnID ¶ added in v0.7.53
Get4GPlmnID extracts PLMNID from the specified ECGI or IMSI
func Get5GPlmnID ¶ added in v0.7.51
Get5GPlmnID extracts PLMNID from the specified NCGI
func PlmnIDFromHexString ¶ added in v0.7.12
PlmnIDFromHexString converts string form of PLMNID in its hex form into a numeric one suitable for APIs
func PlmnIDFromString ¶ added in v0.7.12
PlmnIDFromString converts string form of PLMNID given as a simple MCC-MCN catenation into a numeric one suitable for APIs
type Point ¶
type Point struct { Lat float64 `protobuf:"fixed64,1,opt,name=lat,proto3" json:"lat,omitempty"` Lng float64 `protobuf:"fixed64,2,opt,name=lng,proto3" json:"lng,omitempty"` }
func (*Point) Descriptor ¶
func (*Point) ProtoMessage ¶
func (*Point) ProtoMessage()
func (*Point) XXX_DiscardUnknown ¶
func (m *Point) XXX_DiscardUnknown()
func (*Point) XXX_Marshal ¶
func (*Point) XXX_Unmarshal ¶
type Route ¶
type Route struct { RouteID IMSI `protobuf:"varint,1,opt,name=name,proto3,casttype=IMSI" json:"name,omitempty"` Waypoints []*Point `protobuf:"bytes,2,rep,name=waypoints,proto3" json:"waypoints,omitempty"` Color string `protobuf:"bytes,3,opt,name=color,proto3" json:"color,omitempty"` SpeedAvg uint32 `protobuf:"varint,4,opt,name=speed_avg,json=speedAvg,proto3" json:"speed_avg,omitempty"` SpeedStdev uint32 `protobuf:"varint,5,opt,name=speed_stdev,json=speedStdev,proto3" json:"speed_stdev,omitempty"` Reverse bool `protobuf:"varint,6,opt,name=reverse,proto3" json:"reverse,omitempty"` NextPoint uint32 `protobuf:"varint,7,opt,name=next_point,json=nextPoint,proto3" json:"next_point,omitempty"` }
func (*Route) Descriptor ¶
func (*Route) GetNextPoint ¶ added in v0.7.25
func (*Route) GetReverse ¶ added in v0.7.25
func (*Route) GetRouteID ¶
func (*Route) GetSpeedAvg ¶ added in v0.7.25
func (*Route) GetSpeedStdev ¶ added in v0.7.25
func (*Route) GetWaypoints ¶
func (*Route) ProtoMessage ¶
func (*Route) ProtoMessage()
func (*Route) XXX_DiscardUnknown ¶
func (m *Route) XXX_DiscardUnknown()
func (*Route) XXX_Marshal ¶
func (*Route) XXX_Unmarshal ¶
type Sector ¶
type Sector struct { Azimuth int32 `protobuf:"varint,1,opt,name=azimuth,proto3" json:"azimuth,omitempty"` Arc int32 `protobuf:"varint,2,opt,name=arc,proto3" json:"arc,omitempty"` Centroid *Point `protobuf:"bytes,3,opt,name=centroid,proto3" json:"centroid,omitempty"` Height int32 `protobuf:"varint,4,opt,name=height,proto3" json:"height,omitempty"` Tilt int32 `protobuf:"varint,5,opt,name=tilt,proto3" json:"tilt,omitempty"` }
func (*Sector) Descriptor ¶
func (*Sector) GetAzimuth ¶
func (*Sector) GetCentroid ¶
func (*Sector) MarshalToSizedBuffer ¶
func (*Sector) ProtoMessage ¶
func (*Sector) ProtoMessage()
func (*Sector) XXX_DiscardUnknown ¶
func (m *Sector) XXX_DiscardUnknown()
func (*Sector) XXX_Marshal ¶
func (*Sector) XXX_Unmarshal ¶
type Ue ¶
type Ue struct { IMSI IMSI `protobuf:"varint,1,opt,name=imsi,proto3,casttype=IMSI" json:"imsi,omitempty"` Type string `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"` Position *Point `protobuf:"bytes,4,opt,name=position,proto3" json:"position,omitempty"` Rotation uint32 `protobuf:"varint,5,opt,name=rotation,proto3" json:"rotation,omitempty"` ServingTower NCGI `protobuf:"varint,7,opt,name=serving_tower,json=servingTower,proto3,casttype=NCGI" json:"serving_tower,omitempty"` ServingTowerStrength float64 `protobuf:"fixed64,8,opt,name=serving_tower_strength,json=servingTowerStrength,proto3" json:"serving_tower_strength,omitempty"` Tower1 NCGI `protobuf:"varint,9,opt,name=tower1,proto3,casttype=NCGI" json:"tower1,omitempty"` Tower1Strength float64 `protobuf:"fixed64,10,opt,name=tower1_strength,json=tower1Strength,proto3" json:"tower1_strength,omitempty"` Tower2 NCGI `protobuf:"varint,11,opt,name=tower2,proto3,casttype=NCGI" json:"tower2,omitempty"` Tower2Strength float64 `protobuf:"fixed64,12,opt,name=tower2_strength,json=tower2Strength,proto3" json:"tower2_strength,omitempty"` Tower3 NCGI `protobuf:"varint,13,opt,name=tower3,proto3,casttype=NCGI" json:"tower3,omitempty"` Tower3Strength float64 `protobuf:"fixed64,14,opt,name=tower3_strength,json=tower3Strength,proto3" json:"tower3_strength,omitempty"` CRNTI CRNTI `protobuf:"varint,15,opt,name=crnti,proto3,casttype=CRNTI" json:"crnti,omitempty"` Admitted bool `protobuf:"varint,16,opt,name=admitted,proto3" json:"admitted,omitempty"` Metrics *UeMetrics `protobuf:"bytes,17,opt,name=metrics,proto3" json:"metrics,omitempty"` RrcState uint32 `protobuf:"varint,18,opt,name=rrc_state,json=rrcState,proto3" json:"rrc_state,omitempty"` }
func (*Ue) Descriptor ¶
func (*Ue) GetAdmitted ¶
func (*Ue) GetMetrics ¶
func (*Ue) GetPosition ¶
func (*Ue) GetRotation ¶
func (*Ue) GetRrcState ¶ added in v0.7.60
func (*Ue) GetServingTower ¶
func (*Ue) GetServingTowerStrength ¶
func (*Ue) GetTower1Strength ¶
func (*Ue) GetTower2Strength ¶
func (*Ue) GetTower3Strength ¶
func (*Ue) ProtoMessage ¶
func (*Ue) ProtoMessage()
func (*Ue) XXX_DiscardUnknown ¶
func (m *Ue) XXX_DiscardUnknown()
func (*Ue) XXX_Unmarshal ¶
type UeMetrics ¶
type UeMetrics struct { // Latency (in nanoseconds) of the most recent hand-over HoLatency int64 `protobuf:"varint,1,opt,name=ho_latency,json=hoLatency,proto3" json:"ho_latency,omitempty"` // Handover report timestamp (in nanoseconds since epoch) HoReportTimestamp int64 `protobuf:"varint,2,opt,name=ho_report_timestamp,json=hoReportTimestamp,proto3" json:"ho_report_timestamp,omitempty"` // flag to indicate the first measurement IsFirst bool `protobuf:"varint,3,opt,name=is_first,json=isFirst,proto3" json:"is_first,omitempty"` }
func (*UeMetrics) Descriptor ¶
func (*UeMetrics) GetHoLatency ¶
func (*UeMetrics) GetHoReportTimestamp ¶
func (*UeMetrics) GetIsFirst ¶
func (*UeMetrics) MarshalToSizedBuffer ¶
func (*UeMetrics) ProtoMessage ¶
func (*UeMetrics) ProtoMessage()
func (*UeMetrics) XXX_DiscardUnknown ¶
func (m *UeMetrics) XXX_DiscardUnknown()
func (*UeMetrics) XXX_Marshal ¶
func (*UeMetrics) XXX_Unmarshal ¶
type Uint24 ¶ added in v0.7.14
type Uint24 [3]uint8
Uint24 unti24 type