geo

package
v0.0.0-...-d91e8b8 Latest Latest
Warning

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

Go to latest
Published: Nov 14, 2024 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterGeolocationServerServiceServer

func RegisterGeolocationServerServiceServer(s *grpc.Server, srv GeolocationServerServiceServer)

Types

type FrameRXInfo

type FrameRXInfo struct {
	// Uplink Gateway meta-data.
	RxInfo               []*gw.UplinkRXInfo `protobuf:"bytes,1,rep,name=rx_info,json=rxInfo,proto3" json:"rx_info,omitempty"`
	XXX_NoUnkeyedLiteral struct{}           `json:"-"`
	XXX_unrecognized     []byte             `json:"-"`
	XXX_sizecache        int32              `json:"-"`
}

func (*FrameRXInfo) Descriptor

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

func (*FrameRXInfo) GetRxInfo

func (m *FrameRXInfo) GetRxInfo() []*gw.UplinkRXInfo

func (*FrameRXInfo) ProtoMessage

func (*FrameRXInfo) ProtoMessage()

func (*FrameRXInfo) Reset

func (m *FrameRXInfo) Reset()

func (*FrameRXInfo) String

func (m *FrameRXInfo) String() string

func (*FrameRXInfo) XXX_DiscardUnknown

func (m *FrameRXInfo) XXX_DiscardUnknown()

func (*FrameRXInfo) XXX_Marshal

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

func (*FrameRXInfo) XXX_Merge

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

func (*FrameRXInfo) XXX_Size

func (m *FrameRXInfo) XXX_Size() int

func (*FrameRXInfo) XXX_Unmarshal

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

type GeolocationServerServiceClient

type GeolocationServerServiceClient interface {
	// ResolveTDOA resolves the location based on TDOA.
	ResolveTDOA(ctx context.Context, in *ResolveTDOARequest, opts ...grpc.CallOption) (*ResolveTDOAResponse, error)
	// ResolveMultiFrameTDOA resolves the location using TDOA, based on
	// multiple frames.
	ResolveMultiFrameTDOA(ctx context.Context, in *ResolveMultiFrameTDOARequest, opts ...grpc.CallOption) (*ResolveMultiFrameTDOAResponse, error)
}

GeolocationServerServiceClient is the client API for GeolocationServerService service.

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

type GeolocationServerServiceServer

type GeolocationServerServiceServer interface {
	// ResolveTDOA resolves the location based on TDOA.
	ResolveTDOA(context.Context, *ResolveTDOARequest) (*ResolveTDOAResponse, error)
	// ResolveMultiFrameTDOA resolves the location using TDOA, based on
	// multiple frames.
	ResolveMultiFrameTDOA(context.Context, *ResolveMultiFrameTDOARequest) (*ResolveMultiFrameTDOAResponse, error)
}

GeolocationServerServiceServer is the server API for GeolocationServerService service.

type ResolveMultiFrameTDOARequest

type ResolveMultiFrameTDOARequest struct {
	// Device ID.
	DevEui []byte `protobuf:"bytes,1,opt,name=dev_eui,json=devEUI,proto3" json:"dev_eui,omitempty"`
	// Frames meta-data.
	FrameRxInfoSet []*FrameRXInfo `protobuf:"bytes,2,rep,name=frame_rx_info_set,json=frameRXInfoSet,proto3" json:"frame_rx_info_set,omitempty"`
	// Device reference altitude.
	DeviceReferenceAltitude float64  `` /* 134-byte string literal not displayed */
	XXX_NoUnkeyedLiteral    struct{} `json:"-"`
	XXX_unrecognized        []byte   `json:"-"`
	XXX_sizecache           int32    `json:"-"`
}

func (*ResolveMultiFrameTDOARequest) Descriptor

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

func (*ResolveMultiFrameTDOARequest) GetDevEui

func (m *ResolveMultiFrameTDOARequest) GetDevEui() []byte

func (*ResolveMultiFrameTDOARequest) GetDeviceReferenceAltitude

func (m *ResolveMultiFrameTDOARequest) GetDeviceReferenceAltitude() float64

func (*ResolveMultiFrameTDOARequest) GetFrameRxInfoSet

func (m *ResolveMultiFrameTDOARequest) GetFrameRxInfoSet() []*FrameRXInfo

func (*ResolveMultiFrameTDOARequest) ProtoMessage

func (*ResolveMultiFrameTDOARequest) ProtoMessage()

func (*ResolveMultiFrameTDOARequest) Reset

func (m *ResolveMultiFrameTDOARequest) Reset()

func (*ResolveMultiFrameTDOARequest) String

func (*ResolveMultiFrameTDOARequest) XXX_DiscardUnknown

func (m *ResolveMultiFrameTDOARequest) XXX_DiscardUnknown()

func (*ResolveMultiFrameTDOARequest) XXX_Marshal

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

func (*ResolveMultiFrameTDOARequest) XXX_Merge

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

func (*ResolveMultiFrameTDOARequest) XXX_Size

func (m *ResolveMultiFrameTDOARequest) XXX_Size() int

func (*ResolveMultiFrameTDOARequest) XXX_Unmarshal

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

type ResolveMultiFrameTDOAResponse

type ResolveMultiFrameTDOAResponse struct {
	// Resolve result.
	Result               *ResolveResult `protobuf:"bytes,1,opt,name=result,proto3" json:"result,omitempty"`
	XXX_NoUnkeyedLiteral struct{}       `json:"-"`
	XXX_unrecognized     []byte         `json:"-"`
	XXX_sizecache        int32          `json:"-"`
}

func (*ResolveMultiFrameTDOAResponse) Descriptor

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

func (*ResolveMultiFrameTDOAResponse) GetResult

func (*ResolveMultiFrameTDOAResponse) ProtoMessage

func (*ResolveMultiFrameTDOAResponse) ProtoMessage()

func (*ResolveMultiFrameTDOAResponse) Reset

func (m *ResolveMultiFrameTDOAResponse) Reset()

func (*ResolveMultiFrameTDOAResponse) String

func (*ResolveMultiFrameTDOAResponse) XXX_DiscardUnknown

func (m *ResolveMultiFrameTDOAResponse) XXX_DiscardUnknown()

func (*ResolveMultiFrameTDOAResponse) XXX_Marshal

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

func (*ResolveMultiFrameTDOAResponse) XXX_Merge

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

func (*ResolveMultiFrameTDOAResponse) XXX_Size

func (m *ResolveMultiFrameTDOAResponse) XXX_Size() int

func (*ResolveMultiFrameTDOAResponse) XXX_Unmarshal

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

type ResolveResult

type ResolveResult struct {
	// Resolved location.
	Location             *common.Location `protobuf:"bytes,1,opt,name=location,proto3" json:"location,omitempty"`
	XXX_NoUnkeyedLiteral struct{}         `json:"-"`
	XXX_unrecognized     []byte           `json:"-"`
	XXX_sizecache        int32            `json:"-"`
}

func (*ResolveResult) Descriptor

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

func (*ResolveResult) GetLocation

func (m *ResolveResult) GetLocation() *common.Location

func (*ResolveResult) ProtoMessage

func (*ResolveResult) ProtoMessage()

func (*ResolveResult) Reset

func (m *ResolveResult) Reset()

func (*ResolveResult) String

func (m *ResolveResult) String() string

func (*ResolveResult) XXX_DiscardUnknown

func (m *ResolveResult) XXX_DiscardUnknown()

func (*ResolveResult) XXX_Marshal

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

func (*ResolveResult) XXX_Merge

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

func (*ResolveResult) XXX_Size

func (m *ResolveResult) XXX_Size() int

func (*ResolveResult) XXX_Unmarshal

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

type ResolveTDOARequest

type ResolveTDOARequest struct {
	// Device ID.
	DevEui []byte `protobuf:"bytes,1,opt,name=dev_eui,json=devEUI,proto3" json:"dev_eui,omitempty"`
	// Frame meta-data.
	FrameRxInfo *FrameRXInfo `protobuf:"bytes,2,opt,name=frame_rx_info,json=frameRXInfo,proto3" json:"frame_rx_info,omitempty"`
	// Device reference altitude.
	DeviceReferenceAltitude float64  `` /* 134-byte string literal not displayed */
	XXX_NoUnkeyedLiteral    struct{} `json:"-"`
	XXX_unrecognized        []byte   `json:"-"`
	XXX_sizecache           int32    `json:"-"`
}

func (*ResolveTDOARequest) Descriptor

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

func (*ResolveTDOARequest) GetDevEui

func (m *ResolveTDOARequest) GetDevEui() []byte

func (*ResolveTDOARequest) GetDeviceReferenceAltitude

func (m *ResolveTDOARequest) GetDeviceReferenceAltitude() float64

func (*ResolveTDOARequest) GetFrameRxInfo

func (m *ResolveTDOARequest) GetFrameRxInfo() *FrameRXInfo

func (*ResolveTDOARequest) ProtoMessage

func (*ResolveTDOARequest) ProtoMessage()

func (*ResolveTDOARequest) Reset

func (m *ResolveTDOARequest) Reset()

func (*ResolveTDOARequest) String

func (m *ResolveTDOARequest) String() string

func (*ResolveTDOARequest) XXX_DiscardUnknown

func (m *ResolveTDOARequest) XXX_DiscardUnknown()

func (*ResolveTDOARequest) XXX_Marshal

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

func (*ResolveTDOARequest) XXX_Merge

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

func (*ResolveTDOARequest) XXX_Size

func (m *ResolveTDOARequest) XXX_Size() int

func (*ResolveTDOARequest) XXX_Unmarshal

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

type ResolveTDOAResponse

type ResolveTDOAResponse struct {
	// Resolve result.
	Result               *ResolveResult `protobuf:"bytes,1,opt,name=result,proto3" json:"result,omitempty"`
	XXX_NoUnkeyedLiteral struct{}       `json:"-"`
	XXX_unrecognized     []byte         `json:"-"`
	XXX_sizecache        int32          `json:"-"`
}

func (*ResolveTDOAResponse) Descriptor

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

func (*ResolveTDOAResponse) GetResult

func (m *ResolveTDOAResponse) GetResult() *ResolveResult

func (*ResolveTDOAResponse) ProtoMessage

func (*ResolveTDOAResponse) ProtoMessage()

func (*ResolveTDOAResponse) Reset

func (m *ResolveTDOAResponse) Reset()

func (*ResolveTDOAResponse) String

func (m *ResolveTDOAResponse) String() string

func (*ResolveTDOAResponse) XXX_DiscardUnknown

func (m *ResolveTDOAResponse) XXX_DiscardUnknown()

func (*ResolveTDOAResponse) XXX_Marshal

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

func (*ResolveTDOAResponse) XXX_Merge

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

func (*ResolveTDOAResponse) XXX_Size

func (m *ResolveTDOAResponse) XXX_Size() int

func (*ResolveTDOAResponse) XXX_Unmarshal

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

type UnimplementedGeolocationServerServiceServer

type UnimplementedGeolocationServerServiceServer struct {
}

UnimplementedGeolocationServerServiceServer can be embedded to have forward compatible implementations.

func (*UnimplementedGeolocationServerServiceServer) ResolveMultiFrameTDOA

func (*UnimplementedGeolocationServerServiceServer) ResolveTDOA

Jump to

Keyboard shortcuts

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