sathelperapp

package
v0.5.2 Latest Latest
Warning

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

Go to latest
Published: Mar 29, 2019 License: MIT Imports: 6 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterInformationServer

func RegisterInformationServer(s *grpc.Server, srv InformationServer)

Types

type ConsoleData

type ConsoleData struct {
	ConsoleLines         []string `protobuf:"bytes,1,rep,name=consoleLines,proto3" json:"consoleLines,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ConsoleData) Descriptor

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

func (*ConsoleData) GetConsoleLines

func (m *ConsoleData) GetConsoleLines() []string

func (*ConsoleData) ProtoMessage

func (*ConsoleData) ProtoMessage()

func (*ConsoleData) Reset

func (m *ConsoleData) Reset()

func (*ConsoleData) String

func (m *ConsoleData) String() string

func (*ConsoleData) XXX_DiscardUnknown

func (m *ConsoleData) XXX_DiscardUnknown()

func (*ConsoleData) XXX_Marshal

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

func (*ConsoleData) XXX_Merge

func (dst *ConsoleData) XXX_Merge(src proto.Message)

func (*ConsoleData) XXX_Size

func (m *ConsoleData) XXX_Size() int

func (*ConsoleData) XXX_Unmarshal

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

type InformationClient

type InformationClient interface {
	GetStatistics(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*StatData, error)
	GetConsoleLines(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*ConsoleData, error)
}

InformationClient is the client API for Information service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewInformationClient

func NewInformationClient(cc *grpc.ClientConn) InformationClient

type InformationServer

type InformationServer interface {
	GetStatistics(context.Context, *empty.Empty) (*StatData, error)
	GetConsoleLines(context.Context, *empty.Empty) (*ConsoleData, error)
}

InformationServer is the server API for Information service.

type StatData

type StatData struct {
	// Signal Quality (in percent)
	SignalQuality uint32 `protobuf:"varint,1,opt,name=signalQuality,proto3" json:"signalQuality,omitempty"`
	// If the signal is locked
	SignalLocked bool `protobuf:"varint,2,opt,name=signalLocked,proto3" json:"signalLocked,omitempty"`
	// Received Channel Packets
	ChannelPackets []int64 `protobuf:"varint,3,rep,packed,name=channelPackets,proto3" json:"channelPackets,omitempty"`
	// Reed Solomon Errors
	RsErrors []int32 `protobuf:"varint,4,rep,packed,name=rsErrors,proto3" json:"rsErrors,omitempty"`
	// Sync Word
	SyncWord []byte `protobuf:"bytes,5,opt,name=syncWord,proto3" json:"syncWord,omitempty"`
	// Current SCID
	Scid int32 `protobuf:"varint,6,opt,name=scid,proto3" json:"scid,omitempty"`
	// Current VCID
	Vcid int32 `protobuf:"varint,7,opt,name=vcid,proto3" json:"vcid,omitempty"`
	// Decoder Fifo Usage (in percent)
	DecoderFifoUsage int32 `protobuf:"varint,8,opt,name=decoderFifoUsage,proto3" json:"decoderFifoUsage,omitempty"`
	// Demodulator Fifo Usage (in percent)
	DemodulatorFifoUsage int32 `protobuf:"varint,9,opt,name=demodulatorFifoUsage,proto3" json:"demodulatorFifoUsage,omitempty"`
	// Viterbi Errors (in bits)
	ViterbiErrors int32 `protobuf:"varint,10,opt,name=viterbiErrors,proto3" json:"viterbiErrors,omitempty"`
	// Frame Size (in bits)
	FrameSize int32 `protobuf:"varint,11,opt,name=frameSize,proto3" json:"frameSize,omitempty"`
	// Phase Correction (in degrees)
	PhaseCorrection int32 `protobuf:"varint,12,opt,name=phaseCorrection,proto3" json:"phaseCorrection,omitempty"`
	// Sync Correlation (in bits)
	SyncCorrelation int32 `protobuf:"varint,13,opt,name=syncCorrelation,proto3" json:"syncCorrelation,omitempty"`
	// Center Frequency (in Hertz)
	CenterFrequency uint32 `protobuf:"varint,14,opt,name=centerFrequency,proto3" json:"centerFrequency,omitempty"`
	// Demodulator Mode
	Mode string `protobuf:"bytes,15,opt,name=mode,proto3" json:"mode,omitempty"`
	// Demuxer
	Demuxer string `protobuf:"bytes,16,opt,name=demuxer,proto3" json:"demuxer,omitempty"`
	// Device
	Device               string   `protobuf:"bytes,17,opt,name=device,proto3" json:"device,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*StatData) Descriptor

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

func (*StatData) GetCenterFrequency

func (m *StatData) GetCenterFrequency() uint32

func (*StatData) GetChannelPackets

func (m *StatData) GetChannelPackets() []int64

func (*StatData) GetDecoderFifoUsage

func (m *StatData) GetDecoderFifoUsage() int32

func (*StatData) GetDemodulatorFifoUsage

func (m *StatData) GetDemodulatorFifoUsage() int32

func (*StatData) GetDemuxer

func (m *StatData) GetDemuxer() string

func (*StatData) GetDevice

func (m *StatData) GetDevice() string

func (*StatData) GetFrameSize

func (m *StatData) GetFrameSize() int32

func (*StatData) GetMode

func (m *StatData) GetMode() string

func (*StatData) GetPhaseCorrection

func (m *StatData) GetPhaseCorrection() int32

func (*StatData) GetRsErrors

func (m *StatData) GetRsErrors() []int32

func (*StatData) GetScid

func (m *StatData) GetScid() int32

func (*StatData) GetSignalLocked

func (m *StatData) GetSignalLocked() bool

func (*StatData) GetSignalQuality

func (m *StatData) GetSignalQuality() uint32

func (*StatData) GetSyncCorrelation

func (m *StatData) GetSyncCorrelation() int32

func (*StatData) GetSyncWord

func (m *StatData) GetSyncWord() []byte

func (*StatData) GetVcid

func (m *StatData) GetVcid() int32

func (*StatData) GetViterbiErrors

func (m *StatData) GetViterbiErrors() int32

func (*StatData) ProtoMessage

func (*StatData) ProtoMessage()

func (*StatData) Reset

func (m *StatData) Reset()

func (*StatData) String

func (m *StatData) String() string

func (*StatData) XXX_DiscardUnknown

func (m *StatData) XXX_DiscardUnknown()

func (*StatData) XXX_Marshal

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

func (*StatData) XXX_Merge

func (dst *StatData) XXX_Merge(src proto.Message)

func (*StatData) XXX_Size

func (m *StatData) XXX_Size() int

func (*StatData) XXX_Unmarshal

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

Jump to

Keyboard shortcuts

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