as

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: May 28, 2018 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrorType_name = map[int32]string{
	0: "Generic",
	1: "OTAA",
	2: "DATA_UP_FCNT",
	3: "DATA_UP_MIC",
	4: "DEVICE_QUEUE_ITEM_SIZE",
	5: "DEVICE_QUEUE_ITEM_FCNT",
}
View Source
var ErrorType_value = map[string]int32{
	"Generic":                0,
	"OTAA":                   1,
	"DATA_UP_FCNT":           2,
	"DATA_UP_MIC":            3,
	"DEVICE_QUEUE_ITEM_SIZE": 4,
	"DEVICE_QUEUE_ITEM_FCNT": 5,
}
View Source
var RXWindow_name = map[int32]string{
	0: "RX1",
	1: "RX2",
}
View Source
var RXWindow_value = map[string]int32{
	"RX1": 0,
	"RX2": 1,
}

Functions

func RegisterApplicationServerServer

func RegisterApplicationServerServer(s *grpc.Server, srv ApplicationServerServer)

Types

type ApplicationServerClient

type ApplicationServerClient interface {
	// HandleUplinkData publishes data received from an end-device.
	HandleUplinkData(ctx context.Context, in *HandleUplinkDataRequest, opts ...grpc.CallOption) (*HandleUplinkDataResponse, error)
	// HandleProprietaryUplink handles proprietary uplink payloads.
	HandleProprietaryUplink(ctx context.Context, in *HandleProprietaryUplinkRequest, opts ...grpc.CallOption) (*HandleProprietaryUplinkResponse, error)
	// HandleError publishes an error message.
	HandleError(ctx context.Context, in *HandleErrorRequest, opts ...grpc.CallOption) (*HandleErrorResponse, error)
	// HandleDownlinkACK sends a downlink ACK or nACK response.
	HandleDownlinkACK(ctx context.Context, in *HandleDownlinkACKRequest, opts ...grpc.CallOption) (*HandleDownlinkACKResponse, error)
}

ApplicationServerClient is the client API for ApplicationServer service.

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

func NewApplicationServerClient

func NewApplicationServerClient(cc *grpc.ClientConn) ApplicationServerClient

type ApplicationServerServer

type ApplicationServerServer interface {
	// HandleUplinkData publishes data received from an end-device.
	HandleUplinkData(context.Context, *HandleUplinkDataRequest) (*HandleUplinkDataResponse, error)
	// HandleProprietaryUplink handles proprietary uplink payloads.
	HandleProprietaryUplink(context.Context, *HandleProprietaryUplinkRequest) (*HandleProprietaryUplinkResponse, error)
	// HandleError publishes an error message.
	HandleError(context.Context, *HandleErrorRequest) (*HandleErrorResponse, error)
	// HandleDownlinkACK sends a downlink ACK or nACK response.
	HandleDownlinkACK(context.Context, *HandleDownlinkACKRequest) (*HandleDownlinkACKResponse, error)
}

type DataRate

type DataRate struct {
	Modulation           string   `protobuf:"bytes,1,opt,name=modulation" json:"modulation,omitempty"`
	BandWidth            uint32   `protobuf:"varint,2,opt,name=bandWidth" json:"bandWidth,omitempty"`
	SpreadFactor         uint32   `protobuf:"varint,3,opt,name=spreadFactor" json:"spreadFactor,omitempty"`
	Bitrate              uint32   `protobuf:"varint,4,opt,name=bitrate" json:"bitrate,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*DataRate) Descriptor

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

func (*DataRate) GetBandWidth

func (m *DataRate) GetBandWidth() uint32

func (*DataRate) GetBitrate

func (m *DataRate) GetBitrate() uint32

func (*DataRate) GetModulation

func (m *DataRate) GetModulation() string

func (*DataRate) GetSpreadFactor

func (m *DataRate) GetSpreadFactor() uint32

func (*DataRate) ProtoMessage

func (*DataRate) ProtoMessage()

func (*DataRate) Reset

func (m *DataRate) Reset()

func (*DataRate) String

func (m *DataRate) String() string

func (*DataRate) XXX_DiscardUnknown

func (m *DataRate) XXX_DiscardUnknown()

func (*DataRate) XXX_Marshal

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

func (*DataRate) XXX_Merge

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

func (*DataRate) XXX_Size

func (m *DataRate) XXX_Size() int

func (*DataRate) XXX_Unmarshal

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

type ErrorType

type ErrorType int32
const (
	ErrorType_Generic                ErrorType = 0
	ErrorType_OTAA                   ErrorType = 1
	ErrorType_DATA_UP_FCNT           ErrorType = 2
	ErrorType_DATA_UP_MIC            ErrorType = 3
	ErrorType_DEVICE_QUEUE_ITEM_SIZE ErrorType = 4
	ErrorType_DEVICE_QUEUE_ITEM_FCNT ErrorType = 5
)

func (ErrorType) EnumDescriptor

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

func (ErrorType) String

func (x ErrorType) String() string

type HandleDownlinkACKRequest

type HandleDownlinkACKRequest struct {
	// DevEUI of the device.
	DevEUI []byte `protobuf:"bytes,1,opt,name=devEUI,proto3" json:"devEUI,omitempty"`
	// Downlink frame-counter.
	FCnt uint32 `protobuf:"varint,2,opt,name=fCnt" json:"fCnt,omitempty"`
	// Frame was acknowledged?
	Acknowledged         bool     `protobuf:"varint,3,opt,name=acknowledged" json:"acknowledged,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*HandleDownlinkACKRequest) Descriptor

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

func (*HandleDownlinkACKRequest) GetAcknowledged

func (m *HandleDownlinkACKRequest) GetAcknowledged() bool

func (*HandleDownlinkACKRequest) GetDevEUI

func (m *HandleDownlinkACKRequest) GetDevEUI() []byte

func (*HandleDownlinkACKRequest) GetFCnt

func (m *HandleDownlinkACKRequest) GetFCnt() uint32

func (*HandleDownlinkACKRequest) ProtoMessage

func (*HandleDownlinkACKRequest) ProtoMessage()

func (*HandleDownlinkACKRequest) Reset

func (m *HandleDownlinkACKRequest) Reset()

func (*HandleDownlinkACKRequest) String

func (m *HandleDownlinkACKRequest) String() string

func (*HandleDownlinkACKRequest) XXX_DiscardUnknown

func (m *HandleDownlinkACKRequest) XXX_DiscardUnknown()

func (*HandleDownlinkACKRequest) XXX_Marshal

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

func (*HandleDownlinkACKRequest) XXX_Merge

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

func (*HandleDownlinkACKRequest) XXX_Size

func (m *HandleDownlinkACKRequest) XXX_Size() int

func (*HandleDownlinkACKRequest) XXX_Unmarshal

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

type HandleDownlinkACKResponse

type HandleDownlinkACKResponse struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*HandleDownlinkACKResponse) Descriptor

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

func (*HandleDownlinkACKResponse) ProtoMessage

func (*HandleDownlinkACKResponse) ProtoMessage()

func (*HandleDownlinkACKResponse) Reset

func (m *HandleDownlinkACKResponse) Reset()

func (*HandleDownlinkACKResponse) String

func (m *HandleDownlinkACKResponse) String() string

func (*HandleDownlinkACKResponse) XXX_DiscardUnknown

func (m *HandleDownlinkACKResponse) XXX_DiscardUnknown()

func (*HandleDownlinkACKResponse) XXX_Marshal

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

func (*HandleDownlinkACKResponse) XXX_Merge

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

func (*HandleDownlinkACKResponse) XXX_Size

func (m *HandleDownlinkACKResponse) XXX_Size() int

func (*HandleDownlinkACKResponse) XXX_Unmarshal

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

type HandleErrorRequest

type HandleErrorRequest struct {
	// DevEUI of the device.
	DevEUI []byte `protobuf:"bytes,1,opt,name=devEUI,proto3" json:"devEUI,omitempty"`
	// Type of the error.
	Type ErrorType `protobuf:"varint,3,opt,name=type,enum=as.ErrorType" json:"type,omitempty"`
	// Error string describing the error.
	Error string `protobuf:"bytes,4,opt,name=error" json:"error,omitempty"`
	// Frame-counter (if applicable) related to the error.
	FCnt                 uint32   `protobuf:"varint,5,opt,name=fCnt" json:"fCnt,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*HandleErrorRequest) Descriptor

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

func (*HandleErrorRequest) GetDevEUI

func (m *HandleErrorRequest) GetDevEUI() []byte

func (*HandleErrorRequest) GetError

func (m *HandleErrorRequest) GetError() string

func (*HandleErrorRequest) GetFCnt

func (m *HandleErrorRequest) GetFCnt() uint32

func (*HandleErrorRequest) GetType

func (m *HandleErrorRequest) GetType() ErrorType

func (*HandleErrorRequest) ProtoMessage

func (*HandleErrorRequest) ProtoMessage()

func (*HandleErrorRequest) Reset

func (m *HandleErrorRequest) Reset()

func (*HandleErrorRequest) String

func (m *HandleErrorRequest) String() string

func (*HandleErrorRequest) XXX_DiscardUnknown

func (m *HandleErrorRequest) XXX_DiscardUnknown()

func (*HandleErrorRequest) XXX_Marshal

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

func (*HandleErrorRequest) XXX_Merge

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

func (*HandleErrorRequest) XXX_Size

func (m *HandleErrorRequest) XXX_Size() int

func (*HandleErrorRequest) XXX_Unmarshal

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

type HandleErrorResponse

type HandleErrorResponse struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*HandleErrorResponse) Descriptor

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

func (*HandleErrorResponse) ProtoMessage

func (*HandleErrorResponse) ProtoMessage()

func (*HandleErrorResponse) Reset

func (m *HandleErrorResponse) Reset()

func (*HandleErrorResponse) String

func (m *HandleErrorResponse) String() string

func (*HandleErrorResponse) XXX_DiscardUnknown

func (m *HandleErrorResponse) XXX_DiscardUnknown()

func (*HandleErrorResponse) XXX_Marshal

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

func (*HandleErrorResponse) XXX_Merge

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

func (*HandleErrorResponse) XXX_Size

func (m *HandleErrorResponse) XXX_Size() int

func (*HandleErrorResponse) XXX_Unmarshal

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

type HandleProprietaryUplinkRequest

type HandleProprietaryUplinkRequest struct {
	// MACPayload of the proprietary LoRaWAN frame.
	MacPayload []byte `protobuf:"bytes,1,opt,name=macPayload,proto3" json:"macPayload,omitempty"`
	// MIC of the proprietary LoRaWAN frame.
	Mic []byte `protobuf:"bytes,2,opt,name=mic,proto3" json:"mic,omitempty"`
	// TXInfo contains the TX related meta-data.
	TxInfo *TXInfo `protobuf:"bytes,3,opt,name=txInfo" json:"txInfo,omitempty"`
	// RXInfo contains the RX related meta-data.
	RxInfo               []*RXInfo `protobuf:"bytes,4,rep,name=rxInfo" json:"rxInfo,omitempty"`
	XXX_NoUnkeyedLiteral struct{}  `json:"-"`
	XXX_unrecognized     []byte    `json:"-"`
	XXX_sizecache        int32     `json:"-"`
}

func (*HandleProprietaryUplinkRequest) Descriptor

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

func (*HandleProprietaryUplinkRequest) GetMacPayload

func (m *HandleProprietaryUplinkRequest) GetMacPayload() []byte

func (*HandleProprietaryUplinkRequest) GetMic

func (m *HandleProprietaryUplinkRequest) GetMic() []byte

func (*HandleProprietaryUplinkRequest) GetRxInfo

func (m *HandleProprietaryUplinkRequest) GetRxInfo() []*RXInfo

func (*HandleProprietaryUplinkRequest) GetTxInfo

func (m *HandleProprietaryUplinkRequest) GetTxInfo() *TXInfo

func (*HandleProprietaryUplinkRequest) ProtoMessage

func (*HandleProprietaryUplinkRequest) ProtoMessage()

func (*HandleProprietaryUplinkRequest) Reset

func (m *HandleProprietaryUplinkRequest) Reset()

func (*HandleProprietaryUplinkRequest) String

func (*HandleProprietaryUplinkRequest) XXX_DiscardUnknown

func (m *HandleProprietaryUplinkRequest) XXX_DiscardUnknown()

func (*HandleProprietaryUplinkRequest) XXX_Marshal

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

func (*HandleProprietaryUplinkRequest) XXX_Merge

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

func (*HandleProprietaryUplinkRequest) XXX_Size

func (m *HandleProprietaryUplinkRequest) XXX_Size() int

func (*HandleProprietaryUplinkRequest) XXX_Unmarshal

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

type HandleProprietaryUplinkResponse

type HandleProprietaryUplinkResponse struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*HandleProprietaryUplinkResponse) Descriptor

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

func (*HandleProprietaryUplinkResponse) ProtoMessage

func (*HandleProprietaryUplinkResponse) ProtoMessage()

func (*HandleProprietaryUplinkResponse) Reset

func (*HandleProprietaryUplinkResponse) String

func (*HandleProprietaryUplinkResponse) XXX_DiscardUnknown

func (m *HandleProprietaryUplinkResponse) XXX_DiscardUnknown()

func (*HandleProprietaryUplinkResponse) XXX_Marshal

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

func (*HandleProprietaryUplinkResponse) XXX_Merge

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

func (*HandleProprietaryUplinkResponse) XXX_Size

func (m *HandleProprietaryUplinkResponse) XXX_Size() int

func (*HandleProprietaryUplinkResponse) XXX_Unmarshal

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

type HandleUplinkDataRequest

type HandleUplinkDataRequest struct {
	DevEUI []byte    `protobuf:"bytes,1,opt,name=devEUI,proto3" json:"devEUI,omitempty"`
	AppEUI []byte    `protobuf:"bytes,2,opt,name=appEUI,proto3" json:"appEUI,omitempty"`
	FCnt   uint32    `protobuf:"varint,3,opt,name=fCnt" json:"fCnt,omitempty"`
	FPort  uint32    `protobuf:"varint,4,opt,name=fPort" json:"fPort,omitempty"`
	Data   []byte    `protobuf:"bytes,5,opt,name=data,proto3" json:"data,omitempty"`
	TxInfo *TXInfo   `protobuf:"bytes,6,opt,name=txInfo" json:"txInfo,omitempty"`
	RxInfo []*RXInfo `protobuf:"bytes,7,rep,name=rxInfo" json:"rxInfo,omitempty"`
	// The device battery status
	// 0:      The end-device is connected to an external power source
	// 1..254: The battery level, 1 being at minimum and 254 being at maximum
	// 255:    The end-device was not able to measure the battery level
	// 256:    The device-status is not available.
	DeviceStatusBattery uint32 `protobuf:"varint,9,opt,name=deviceStatusBattery" json:"deviceStatusBattery,omitempty"`
	// The device margin status
	// -32..32: The demodulation SNR ration in dB
	// 256:     The device-status is not available.
	DeviceStatusMargin   int32    `protobuf:"varint,10,opt,name=deviceStatusMargin" json:"deviceStatusMargin,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*HandleUplinkDataRequest) Descriptor

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

func (*HandleUplinkDataRequest) GetAppEUI

func (m *HandleUplinkDataRequest) GetAppEUI() []byte

func (*HandleUplinkDataRequest) GetData

func (m *HandleUplinkDataRequest) GetData() []byte

func (*HandleUplinkDataRequest) GetDevEUI

func (m *HandleUplinkDataRequest) GetDevEUI() []byte

func (*HandleUplinkDataRequest) GetDeviceStatusBattery

func (m *HandleUplinkDataRequest) GetDeviceStatusBattery() uint32

func (*HandleUplinkDataRequest) GetDeviceStatusMargin

func (m *HandleUplinkDataRequest) GetDeviceStatusMargin() int32

func (*HandleUplinkDataRequest) GetFCnt

func (m *HandleUplinkDataRequest) GetFCnt() uint32

func (*HandleUplinkDataRequest) GetFPort

func (m *HandleUplinkDataRequest) GetFPort() uint32

func (*HandleUplinkDataRequest) GetRxInfo

func (m *HandleUplinkDataRequest) GetRxInfo() []*RXInfo

func (*HandleUplinkDataRequest) GetTxInfo

func (m *HandleUplinkDataRequest) GetTxInfo() *TXInfo

func (*HandleUplinkDataRequest) ProtoMessage

func (*HandleUplinkDataRequest) ProtoMessage()

func (*HandleUplinkDataRequest) Reset

func (m *HandleUplinkDataRequest) Reset()

func (*HandleUplinkDataRequest) String

func (m *HandleUplinkDataRequest) String() string

func (*HandleUplinkDataRequest) XXX_DiscardUnknown

func (m *HandleUplinkDataRequest) XXX_DiscardUnknown()

func (*HandleUplinkDataRequest) XXX_Marshal

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

func (*HandleUplinkDataRequest) XXX_Merge

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

func (*HandleUplinkDataRequest) XXX_Size

func (m *HandleUplinkDataRequest) XXX_Size() int

func (*HandleUplinkDataRequest) XXX_Unmarshal

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

type HandleUplinkDataResponse

type HandleUplinkDataResponse struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*HandleUplinkDataResponse) Descriptor

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

func (*HandleUplinkDataResponse) ProtoMessage

func (*HandleUplinkDataResponse) ProtoMessage()

func (*HandleUplinkDataResponse) Reset

func (m *HandleUplinkDataResponse) Reset()

func (*HandleUplinkDataResponse) String

func (m *HandleUplinkDataResponse) String() string

func (*HandleUplinkDataResponse) XXX_DiscardUnknown

func (m *HandleUplinkDataResponse) XXX_DiscardUnknown()

func (*HandleUplinkDataResponse) XXX_Marshal

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

func (*HandleUplinkDataResponse) XXX_Merge

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

func (*HandleUplinkDataResponse) XXX_Size

func (m *HandleUplinkDataResponse) XXX_Size() int

func (*HandleUplinkDataResponse) XXX_Unmarshal

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

type RXInfo

type RXInfo struct {
	Mac                  []byte   `protobuf:"bytes,1,opt,name=mac,proto3" json:"mac,omitempty"`
	Time                 string   `protobuf:"bytes,2,opt,name=time" json:"time,omitempty"`
	Rssi                 int32    `protobuf:"varint,3,opt,name=rssi" json:"rssi,omitempty"`
	LoRaSNR              float64  `protobuf:"fixed64,4,opt,name=loRaSNR" json:"loRaSNR,omitempty"`
	Name                 string   `protobuf:"bytes,5,opt,name=name" json:"name,omitempty"`
	Latitude             float64  `protobuf:"fixed64,6,opt,name=latitude" json:"latitude,omitempty"`
	Longitude            float64  `protobuf:"fixed64,7,opt,name=longitude" json:"longitude,omitempty"`
	Altitude             float64  `protobuf:"fixed64,8,opt,name=altitude" json:"altitude,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*RXInfo) Descriptor

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

func (*RXInfo) GetAltitude

func (m *RXInfo) GetAltitude() float64

func (*RXInfo) GetLatitude

func (m *RXInfo) GetLatitude() float64

func (*RXInfo) GetLoRaSNR

func (m *RXInfo) GetLoRaSNR() float64

func (*RXInfo) GetLongitude

func (m *RXInfo) GetLongitude() float64

func (*RXInfo) GetMac

func (m *RXInfo) GetMac() []byte

func (*RXInfo) GetName

func (m *RXInfo) GetName() string

func (*RXInfo) GetRssi

func (m *RXInfo) GetRssi() int32

func (*RXInfo) GetTime

func (m *RXInfo) GetTime() string

func (*RXInfo) ProtoMessage

func (*RXInfo) ProtoMessage()

func (*RXInfo) Reset

func (m *RXInfo) Reset()

func (*RXInfo) String

func (m *RXInfo) String() string

func (*RXInfo) XXX_DiscardUnknown

func (m *RXInfo) XXX_DiscardUnknown()

func (*RXInfo) XXX_Marshal

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

func (*RXInfo) XXX_Merge

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

func (*RXInfo) XXX_Size

func (m *RXInfo) XXX_Size() int

func (*RXInfo) XXX_Unmarshal

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

type RXWindow

type RXWindow int32
const (
	RXWindow_RX1 RXWindow = 0
	RXWindow_RX2 RXWindow = 1
)

func (RXWindow) EnumDescriptor

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

func (RXWindow) String

func (x RXWindow) String() string

type TXInfo

type TXInfo struct {
	Frequency            int64     `protobuf:"varint,1,opt,name=frequency" json:"frequency,omitempty"`
	DataRate             *DataRate `protobuf:"bytes,2,opt,name=dataRate" json:"dataRate,omitempty"`
	Adr                  bool      `protobuf:"varint,3,opt,name=adr" json:"adr,omitempty"`
	CodeRate             string    `protobuf:"bytes,4,opt,name=codeRate" json:"codeRate,omitempty"`
	XXX_NoUnkeyedLiteral struct{}  `json:"-"`
	XXX_unrecognized     []byte    `json:"-"`
	XXX_sizecache        int32     `json:"-"`
}

func (*TXInfo) Descriptor

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

func (*TXInfo) GetAdr

func (m *TXInfo) GetAdr() bool

func (*TXInfo) GetCodeRate

func (m *TXInfo) GetCodeRate() string

func (*TXInfo) GetDataRate

func (m *TXInfo) GetDataRate() *DataRate

func (*TXInfo) GetFrequency

func (m *TXInfo) GetFrequency() int64

func (*TXInfo) ProtoMessage

func (*TXInfo) ProtoMessage()

func (*TXInfo) Reset

func (m *TXInfo) Reset()

func (*TXInfo) String

func (m *TXInfo) String() string

func (*TXInfo) XXX_DiscardUnknown

func (m *TXInfo) XXX_DiscardUnknown()

func (*TXInfo) XXX_Marshal

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

func (*TXInfo) XXX_Merge

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

func (*TXInfo) XXX_Size

func (m *TXInfo) XXX_Size() int

func (*TXInfo) XXX_Unmarshal

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

Jump to

Keyboard shortcuts

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