types

package
v0.7.82 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 30, 2021 License: Apache-2.0 Imports: 10 Imported by: 38

Documentation

Index

Constants

View Source
const (
	// MaxUint24 maximum value of uint24 variable
	MaxUint24 = 1<<24 - 1
)

Variables

View Source
var (
	ErrInvalidLengthTypes        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowTypes          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupTypes = fmt.Errorf("proto: unexpected end of group")
)
View Source
var CellType_name = map[int32]string{
	0: "FEMTO",
	1: "ENTERPRISE",
	2: "OUTDOOR_SMALL",
	3: "MACRO",
}
View Source
var CellType_value = map[string]int32{
	"FEMTO":         0,
	"ENTERPRISE":    1,
	"OUTDOOR_SMALL": 2,
	"MACRO":         3,
}

Functions

func DecodePlmnID added in v0.7.12

func DecodePlmnID(plmnID string) (mcc string, mnc string)

DecodePlmnID decodes MCC and MNC strings from PLMNID hex string

func EncodePlmnID added in v0.7.12

func EncodePlmnID(mcc string, mnc string) string

EncodePlmnID encodes MCC and MNC strings into a PLMNID hex string

func PlmnIDToString added in v0.7.13

func PlmnIDToString(plmnID PlmnID) string

PlmnIDToString generates the MCC-MCN catenation format from the specified numeric PLMNID

func SetNCIBitSplit added in v0.7.51

func SetNCIBitSplit(gnb uint8, cid uint8) error

SetNCIBitSplit sets how the NCI bits are split between gNBID and CID

func Uint24ToUint32 added in v0.7.14

func Uint24ToUint32(val []byte) uint32

Uint24ToUint32 converts uint24 uint32

Types

type CRNTI

type CRNTI uint32

CRNTI is a cell-specific UE identifier

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"`
	RrcIdleCount      uint32         `protobuf:"varint,16,opt,name=rrc_idle_count,json=rrcIdleCount,proto3" json:"rrc_idle_count,omitempty"`
	RrcConnectedCount uint32         `protobuf:"varint,17,opt,name=rrc_connected_count,json=rrcConnectedCount,proto3" json:"rrc_connected_count,omitempty"`
}

func (*Cell) Descriptor

func (*Cell) Descriptor() ([]byte, []int)

func (*Cell) GetCellType added in v0.7.51

func (m *Cell) GetCellType() CellType

func (*Cell) GetColor

func (m *Cell) GetColor() string

func (*Cell) GetCrntiIndex

func (m *Cell) GetCrntiIndex() uint32

func (*Cell) GetCrntiMap

func (m *Cell) GetCrntiMap() map[CRNTI]IMSI

func (*Cell) GetEarfcn added in v0.7.51

func (m *Cell) GetEarfcn() uint32

func (*Cell) GetLocation

func (m *Cell) GetLocation() *Point

func (*Cell) GetMaxUEs

func (m *Cell) GetMaxUEs() uint32

func (*Cell) GetMeasurementParams added in v0.7.59

func (m *Cell) GetMeasurementParams() *MeasurementParams

func (*Cell) GetNCGI added in v0.7.57

func (m *Cell) GetNCGI() NCGI

func (*Cell) GetNeighbors

func (m *Cell) GetNeighbors() []NCGI

func (*Cell) GetPci added in v0.7.51

func (m *Cell) GetPci() uint32

func (*Cell) GetPort

func (m *Cell) GetPort() uint32

func (*Cell) GetRrcConnectedCount added in v0.7.67

func (m *Cell) GetRrcConnectedCount() uint32

func (*Cell) GetRrcIdleCount added in v0.7.67

func (m *Cell) GetRrcIdleCount() uint32

func (*Cell) GetSector

func (m *Cell) GetSector() *Sector

func (*Cell) GetTxPowerdB

func (m *Cell) GetTxPowerdB() float64

func (*Cell) Marshal

func (m *Cell) Marshal() (dAtA []byte, err error)

func (*Cell) MarshalTo

func (m *Cell) MarshalTo(dAtA []byte) (int, error)

func (*Cell) MarshalToSizedBuffer

func (m *Cell) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Cell) ProtoMessage

func (*Cell) ProtoMessage()

func (*Cell) Reset

func (m *Cell) Reset()

func (*Cell) Size

func (m *Cell) Size() (n int)

func (*Cell) String

func (m *Cell) String() string

func (*Cell) Unmarshal

func (m *Cell) Unmarshal(dAtA []byte) error

func (*Cell) XXX_DiscardUnknown

func (m *Cell) XXX_DiscardUnknown()

func (*Cell) XXX_Marshal

func (m *Cell) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Cell) XXX_Merge

func (m *Cell) XXX_Merge(src proto.Message)

func (*Cell) XXX_Size

func (m *Cell) XXX_Size() int

func (*Cell) XXX_Unmarshal

func (m *Cell) XXX_Unmarshal(b []byte) error

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

func Get4GCellID(id uint64) CellID

Get4GCellID extracts Cell ID from the specified ECGI

func Get5GCellID added in v0.7.51

func Get5GCellID(id uint64) CellID

Get5GCellID extracts Cell ID from the specified NCGI or NCI

func GetCellID

func GetCellID(id uint64) CellID

GetCellID extracts Cell ID from the specified NCGI or NCI

type CellType added in v0.7.51

type CellType int32
const (
	CellType_FEMTO         CellType = 0
	CellType_ENTERPRISE    CellType = 1
	CellType_OUTDOOR_SMALL CellType = 2
	CellType_MACRO         CellType = 3
)

func (CellType) EnumDescriptor added in v0.7.51

func (CellType) EnumDescriptor() ([]byte, []int)

func (CellType) String added in v0.7.51

func (x CellType) String() string

type ECGI

type ECGI uint64

ECGI is E-UTRAN Cell Global Identifier (MCC+MNC+ECI)

func ToECGI

func ToECGI(plmnID PlmnID, eci ECI) ECGI

ToECGI produces ECGI from the specified components

type ECI

type ECI uint32

ECI is a E-UTRAN Cell Identifier (gNBID + CID)

func GetECI

func GetECI(id uint64) ECI

GetECI extracts ECI from the specified ECGI

func ToECI

func ToECI(enbID EnbID, cid CellID) ECI

ToECI produces ECI from the specified components

type EnbID

type EnbID uint32

EnbID is an eNodeB Identifier

func GetEnbID

func GetEnbID(id uint64) EnbID

GetEnbID extracts Enb ID from the specified ECGI

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 GnbID added in v0.7.51

type GnbID uint64

GnbID is a 5G gNodeB Identifier

func GetGnbID added in v0.7.51

func GetGnbID(id uint64) GnbID

GetGnbID extracts gNodeB ID from the specified NCGI or NCI

type IMSI

type IMSI uint64

IMSI is International Mobile Subscriber Identity

type MSIN

type MSIN uint32

MSIN is Mobile Subscriber Identification Number

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) Descriptor() ([]byte, []int)

func (*MapLayout) GetCenter

func (m *MapLayout) GetCenter() *Point

func (*MapLayout) GetCurrentRoutes

func (m *MapLayout) GetCurrentRoutes() uint32

func (*MapLayout) GetFade

func (m *MapLayout) GetFade() bool

func (*MapLayout) GetLocationsScale

func (m *MapLayout) GetLocationsScale() float32

func (*MapLayout) GetMaxUes

func (m *MapLayout) GetMaxUes() uint32

func (*MapLayout) GetMinUes

func (m *MapLayout) GetMinUes() uint32

func (*MapLayout) GetShowPower

func (m *MapLayout) GetShowPower() bool

func (*MapLayout) GetShowRoutes

func (m *MapLayout) GetShowRoutes() bool

func (*MapLayout) GetZoom

func (m *MapLayout) GetZoom() float32

func (*MapLayout) Marshal

func (m *MapLayout) Marshal() (dAtA []byte, err error)

func (*MapLayout) MarshalTo

func (m *MapLayout) MarshalTo(dAtA []byte) (int, error)

func (*MapLayout) MarshalToSizedBuffer

func (m *MapLayout) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MapLayout) ProtoMessage

func (*MapLayout) ProtoMessage()

func (*MapLayout) Reset

func (m *MapLayout) Reset()

func (*MapLayout) Size

func (m *MapLayout) Size() (n int)

func (*MapLayout) String

func (m *MapLayout) String() string

func (*MapLayout) Unmarshal

func (m *MapLayout) Unmarshal(dAtA []byte) error

func (*MapLayout) XXX_DiscardUnknown

func (m *MapLayout) XXX_DiscardUnknown()

func (*MapLayout) XXX_Marshal

func (m *MapLayout) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MapLayout) XXX_Merge

func (m *MapLayout) XXX_Merge(src proto.Message)

func (*MapLayout) XXX_Size

func (m *MapLayout) XXX_Size() int

func (*MapLayout) XXX_Unmarshal

func (m *MapLayout) XXX_Unmarshal(b []byte) error

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 NCGI added in v0.7.51

type NCGI uint64

NCGI is NR Cell Global Identity (MCC+MNC+NCI)

func ToNCGI added in v0.7.51

func ToNCGI(plmnID PlmnID, nci NCI) NCGI

ToNCGI produces NCGI from the specified components

type NCI added in v0.7.51

type NCI uint64

NCI is a NR Cell Identifier; a 36-bit value (gNBID + CID)

func GetNCI added in v0.7.51

func GetNCI(ncgi NCGI) NCI

GetNCI extracts NCI from the specified NCGI

func ToNCI added in v0.7.51

func ToNCI(gnbID GnbID, cid CellID) NCI

ToNCI produces NCI from the specified components

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) Descriptor() ([]byte, []int)

func (*Node) GetCellNCGIs added in v0.7.57

func (m *Node) GetCellNCGIs() []NCGI

func (*Node) GetControllers

func (m *Node) GetControllers() []string

func (*Node) GetGnbID added in v0.7.57

func (m *Node) GetGnbID() GnbID

func (*Node) GetServiceModels

func (m *Node) GetServiceModels() []string

func (*Node) GetStatus

func (m *Node) GetStatus() string

func (*Node) Marshal

func (m *Node) Marshal() (dAtA []byte, err error)

func (*Node) MarshalTo

func (m *Node) MarshalTo(dAtA []byte) (int, error)

func (*Node) MarshalToSizedBuffer

func (m *Node) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Node) ProtoMessage

func (*Node) ProtoMessage()

func (*Node) Reset

func (m *Node) Reset()

func (*Node) Size

func (m *Node) Size() (n int)

func (*Node) String

func (m *Node) String() string

func (*Node) Unmarshal

func (m *Node) Unmarshal(dAtA []byte) error

func (*Node) XXX_DiscardUnknown

func (m *Node) XXX_DiscardUnknown()

func (*Node) XXX_Marshal

func (m *Node) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Node) XXX_Merge

func (m *Node) XXX_Merge(src proto.Message)

func (*Node) XXX_Size

func (m *Node) XXX_Size() int

func (*Node) XXX_Unmarshal

func (m *Node) XXX_Unmarshal(b []byte) error

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

func To4GNodeID(plmnID PlmnID, enbID EnbID) NodeID

To4GNodeID produces a 54 global node ID as a catenation of PLMNID + EnbID

func To5GNodeID added in v0.7.53

func To5GNodeID(plmnID PlmnID, gnbID GnbID) NodeID

To5GNodeID produces a 5G global node ID as a catenation of PLMNID + GnbID

func ToNodeID added in v0.7.53

func ToNodeID(plmnID PlmnID, gnbID GnbID) NodeID

ToNodeID 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

func Get4GPlmnID(id uint64) PlmnID

Get4GPlmnID extracts PLMNID from the specified ECGI or IMSI

func Get5GPlmnID added in v0.7.51

func Get5GPlmnID(ncgi uint64) PlmnID

Get5GPlmnID extracts PLMNID from the specified NCGI

func GetPlmnID

func GetPlmnID(ncgi uint64) PlmnID

GetPlmnID extracts PLMNID from the specified NCGI

func PlmnIDFromHexString added in v0.7.12

func PlmnIDFromHexString(plmnID string) PlmnID

PlmnIDFromHexString converts string form of PLMNID in its hex form into a numeric one suitable for APIs

func PlmnIDFromString added in v0.7.12

func PlmnIDFromString(plmnID string) PlmnID

PlmnIDFromString converts string form of PLMNID given as a simple MCC-MCN catenation into a numeric one suitable for APIs

func ToPlmnID added in v0.7.12

func ToPlmnID(mcc string, mnc string) PlmnID

ToPlmnID encodes the specified MCC and MNC strings into a numeric PLMNID

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) Descriptor() ([]byte, []int)

func (*Point) GetLat

func (m *Point) GetLat() float64

func (*Point) GetLng

func (m *Point) GetLng() float64

func (*Point) Marshal

func (m *Point) Marshal() (dAtA []byte, err error)

func (*Point) MarshalTo

func (m *Point) MarshalTo(dAtA []byte) (int, error)

func (*Point) MarshalToSizedBuffer

func (m *Point) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Point) ProtoMessage

func (*Point) ProtoMessage()

func (*Point) Reset

func (m *Point) Reset()

func (*Point) Size

func (m *Point) Size() (n int)

func (*Point) String

func (m *Point) String() string

func (*Point) Unmarshal

func (m *Point) Unmarshal(dAtA []byte) error

func (*Point) XXX_DiscardUnknown

func (m *Point) XXX_DiscardUnknown()

func (*Point) XXX_Marshal

func (m *Point) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Point) XXX_Merge

func (m *Point) XXX_Merge(src proto.Message)

func (*Point) XXX_Size

func (m *Point) XXX_Size() int

func (*Point) XXX_Unmarshal

func (m *Point) XXX_Unmarshal(b []byte) error

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) Descriptor() ([]byte, []int)

func (*Route) GetColor

func (m *Route) GetColor() string

func (*Route) GetNextPoint added in v0.7.25

func (m *Route) GetNextPoint() uint32

func (*Route) GetReverse added in v0.7.25

func (m *Route) GetReverse() bool

func (*Route) GetRouteID

func (m *Route) GetRouteID() IMSI

func (*Route) GetSpeedAvg added in v0.7.25

func (m *Route) GetSpeedAvg() uint32

func (*Route) GetSpeedStdev added in v0.7.25

func (m *Route) GetSpeedStdev() uint32

func (*Route) GetWaypoints

func (m *Route) GetWaypoints() []*Point

func (*Route) Marshal

func (m *Route) Marshal() (dAtA []byte, err error)

func (*Route) MarshalTo

func (m *Route) MarshalTo(dAtA []byte) (int, error)

func (*Route) MarshalToSizedBuffer

func (m *Route) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Route) ProtoMessage

func (*Route) ProtoMessage()

func (*Route) Reset

func (m *Route) Reset()

func (*Route) Size

func (m *Route) Size() (n int)

func (*Route) String

func (m *Route) String() string

func (*Route) Unmarshal

func (m *Route) Unmarshal(dAtA []byte) error

func (*Route) XXX_DiscardUnknown

func (m *Route) XXX_DiscardUnknown()

func (*Route) XXX_Marshal

func (m *Route) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Route) XXX_Merge

func (m *Route) XXX_Merge(src proto.Message)

func (*Route) XXX_Size

func (m *Route) XXX_Size() int

func (*Route) XXX_Unmarshal

func (m *Route) XXX_Unmarshal(b []byte) error

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) Descriptor() ([]byte, []int)

func (*Sector) GetArc

func (m *Sector) GetArc() int32

func (*Sector) GetAzimuth

func (m *Sector) GetAzimuth() int32

func (*Sector) GetCentroid

func (m *Sector) GetCentroid() *Point

func (*Sector) GetHeight added in v0.7.56

func (m *Sector) GetHeight() int32

func (*Sector) GetTilt added in v0.7.56

func (m *Sector) GetTilt() int32

func (*Sector) Marshal

func (m *Sector) Marshal() (dAtA []byte, err error)

func (*Sector) MarshalTo

func (m *Sector) MarshalTo(dAtA []byte) (int, error)

func (*Sector) MarshalToSizedBuffer

func (m *Sector) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Sector) ProtoMessage

func (*Sector) ProtoMessage()

func (*Sector) Reset

func (m *Sector) Reset()

func (*Sector) Size

func (m *Sector) Size() (n int)

func (*Sector) String

func (m *Sector) String() string

func (*Sector) Unmarshal

func (m *Sector) Unmarshal(dAtA []byte) error

func (*Sector) XXX_DiscardUnknown

func (m *Sector) XXX_DiscardUnknown()

func (*Sector) XXX_Marshal

func (m *Sector) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Sector) XXX_Merge

func (m *Sector) XXX_Merge(src proto.Message)

func (*Sector) XXX_Size

func (m *Sector) XXX_Size() int

func (*Sector) XXX_Unmarshal

func (m *Sector) XXX_Unmarshal(b []byte) error

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) Descriptor() ([]byte, []int)

func (*Ue) GetAdmitted

func (m *Ue) GetAdmitted() bool

func (*Ue) GetCRNTI

func (m *Ue) GetCRNTI() CRNTI

func (*Ue) GetIMSI

func (m *Ue) GetIMSI() IMSI

func (*Ue) GetMetrics

func (m *Ue) GetMetrics() *UeMetrics

func (*Ue) GetPosition

func (m *Ue) GetPosition() *Point

func (*Ue) GetRotation

func (m *Ue) GetRotation() uint32

func (*Ue) GetRrcState added in v0.7.60

func (m *Ue) GetRrcState() uint32

func (*Ue) GetServingTower

func (m *Ue) GetServingTower() NCGI

func (*Ue) GetServingTowerStrength

func (m *Ue) GetServingTowerStrength() float64

func (*Ue) GetTower1

func (m *Ue) GetTower1() NCGI

func (*Ue) GetTower1Strength

func (m *Ue) GetTower1Strength() float64

func (*Ue) GetTower2

func (m *Ue) GetTower2() NCGI

func (*Ue) GetTower2Strength

func (m *Ue) GetTower2Strength() float64

func (*Ue) GetTower3

func (m *Ue) GetTower3() NCGI

func (*Ue) GetTower3Strength

func (m *Ue) GetTower3Strength() float64

func (*Ue) GetType

func (m *Ue) GetType() string

func (*Ue) Marshal

func (m *Ue) Marshal() (dAtA []byte, err error)

func (*Ue) MarshalTo

func (m *Ue) MarshalTo(dAtA []byte) (int, error)

func (*Ue) MarshalToSizedBuffer

func (m *Ue) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Ue) ProtoMessage

func (*Ue) ProtoMessage()

func (*Ue) Reset

func (m *Ue) Reset()

func (*Ue) Size

func (m *Ue) Size() (n int)

func (*Ue) String

func (m *Ue) String() string

func (*Ue) Unmarshal

func (m *Ue) Unmarshal(dAtA []byte) error

func (*Ue) XXX_DiscardUnknown

func (m *Ue) XXX_DiscardUnknown()

func (*Ue) XXX_Marshal

func (m *Ue) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Ue) XXX_Merge

func (m *Ue) XXX_Merge(src proto.Message)

func (*Ue) XXX_Size

func (m *Ue) XXX_Size() int

func (*Ue) XXX_Unmarshal

func (m *Ue) XXX_Unmarshal(b []byte) error

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) Descriptor() ([]byte, []int)

func (*UeMetrics) GetHoLatency

func (m *UeMetrics) GetHoLatency() int64

func (*UeMetrics) GetHoReportTimestamp

func (m *UeMetrics) GetHoReportTimestamp() int64

func (*UeMetrics) GetIsFirst

func (m *UeMetrics) GetIsFirst() bool

func (*UeMetrics) Marshal

func (m *UeMetrics) Marshal() (dAtA []byte, err error)

func (*UeMetrics) MarshalTo

func (m *UeMetrics) MarshalTo(dAtA []byte) (int, error)

func (*UeMetrics) MarshalToSizedBuffer

func (m *UeMetrics) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*UeMetrics) ProtoMessage

func (*UeMetrics) ProtoMessage()

func (*UeMetrics) Reset

func (m *UeMetrics) Reset()

func (*UeMetrics) Size

func (m *UeMetrics) Size() (n int)

func (*UeMetrics) String

func (m *UeMetrics) String() string

func (*UeMetrics) Unmarshal

func (m *UeMetrics) Unmarshal(dAtA []byte) error

func (*UeMetrics) XXX_DiscardUnknown

func (m *UeMetrics) XXX_DiscardUnknown()

func (*UeMetrics) XXX_Marshal

func (m *UeMetrics) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*UeMetrics) XXX_Merge

func (m *UeMetrics) XXX_Merge(src proto.Message)

func (*UeMetrics) XXX_Size

func (m *UeMetrics) XXX_Size() int

func (*UeMetrics) XXX_Unmarshal

func (m *UeMetrics) XXX_Unmarshal(b []byte) error

type Uint24 added in v0.7.14

type Uint24 [3]uint8

Uint24 unti24 type

func NewUint24 added in v0.7.14

func NewUint24(val uint32) *Uint24

NewUint24 creates a new uint24 type

func (*Uint24) Set added in v0.7.14

func (u *Uint24) Set(val uint32)

Set sets uint24 value

func (Uint24) String added in v0.7.14

func (u Uint24) String() string

String converts uint24 to string

func (Uint24) ToBytes added in v0.7.14

func (u Uint24) ToBytes() []byte

ToBytes converts uint24 to bytes array

func (Uint24) Uint32 added in v0.7.14

func (u Uint24) Uint32() uint32

Uint32 converts uint24 to uint32

func (*Uint24) Value added in v0.7.14

func (u *Uint24) Value() Uint24

Value returns value

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL