gw

package
v4.9.9 Latest Latest
Warning

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

Go to latest
Published: Mar 31, 2021 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	DownlinkTiming_name = map[int32]string{
		0: "IMMEDIATELY",
		1: "DELAY",
		2: "GPS_EPOCH",
	}
	DownlinkTiming_value = map[string]int32{
		"IMMEDIATELY": 0,
		"DELAY":       1,
		"GPS_EPOCH":   2,
	}
)

Enum value maps for DownlinkTiming.

View Source
var (
	FineTimestampType_name = map[int32]string{
		0: "NONE",
		1: "ENCRYPTED",
		2: "PLAIN",
	}
	FineTimestampType_value = map[string]int32{
		"NONE":      0,
		"ENCRYPTED": 1,
		"PLAIN":     2,
	}
)

Enum value maps for FineTimestampType.

View Source
var (
	CRCStatus_name = map[int32]string{
		0: "NO_CRC",
		1: "BAD_CRC",
		2: "CRC_OK",
	}
	CRCStatus_value = map[string]int32{
		"NO_CRC":  0,
		"BAD_CRC": 1,
		"CRC_OK":  2,
	}
)

Enum value maps for CRCStatus.

View Source
var (
	TxAckStatus_name = map[int32]string{
		0:  "IGNORED",
		1:  "OK",
		2:  "TOO_LATE",
		3:  "TOO_EARLY",
		4:  "COLLISION_PACKET",
		5:  "COLLISION_BEACON",
		6:  "TX_FREQ",
		7:  "TX_POWER",
		8:  "GPS_UNLOCKED",
		9:  "QUEUE_FULL",
		10: "INTERNAL_ERROR",
	}
	TxAckStatus_value = map[string]int32{
		"IGNORED":          0,
		"OK":               1,
		"TOO_LATE":         2,
		"TOO_EARLY":        3,
		"COLLISION_PACKET": 4,
		"COLLISION_BEACON": 5,
		"TX_FREQ":          6,
		"TX_POWER":         7,
		"GPS_UNLOCKED":     8,
		"QUEUE_FULL":       9,
		"INTERNAL_ERROR":   10,
	}
)

Enum value maps for TxAckStatus.

View Source
var File_gw_gw_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type CRCStatus

type CRCStatus int32
const (
	// No CRC.
	CRCStatus_NO_CRC CRCStatus = 0
	// Bad CRC.
	CRCStatus_BAD_CRC CRCStatus = 1
	// CRC OK.
	CRCStatus_CRC_OK CRCStatus = 2
)

func (CRCStatus) Descriptor

func (CRCStatus) Descriptor() protoreflect.EnumDescriptor

func (CRCStatus) Enum

func (x CRCStatus) Enum() *CRCStatus

func (CRCStatus) EnumDescriptor deprecated

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

Deprecated: Use CRCStatus.Descriptor instead.

func (CRCStatus) Number

func (x CRCStatus) Number() protoreflect.EnumNumber

func (CRCStatus) String

func (x CRCStatus) String() string

func (CRCStatus) Type

type ChannelConfiguration

type ChannelConfiguration struct {

	// Frequency (Hz).
	Frequency uint32 `protobuf:"varint,1,opt,name=frequency,proto3" json:"frequency,omitempty"`
	// Channel modulation.
	Modulation common.Modulation `protobuf:"varint,2,opt,name=modulation,proto3,enum=common.Modulation" json:"modulation,omitempty"`
	// Types that are assignable to ModulationConfig:
	//	*ChannelConfiguration_LoraModulationConfig
	//	*ChannelConfiguration_FskModulationConfig
	ModulationConfig isChannelConfiguration_ModulationConfig `protobuf_oneof:"modulation_config"`
	// Board index.
	Board uint32 `protobuf:"varint,5,opt,name=board,proto3" json:"board,omitempty"`
	// Demodulator index (of the given board).
	Demodulator uint32 `protobuf:"varint,6,opt,name=demodulator,proto3" json:"demodulator,omitempty"`
	// contains filtered or unexported fields
}

func (*ChannelConfiguration) Descriptor deprecated

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

Deprecated: Use ChannelConfiguration.ProtoReflect.Descriptor instead.

func (*ChannelConfiguration) GetBoard

func (x *ChannelConfiguration) GetBoard() uint32

func (*ChannelConfiguration) GetDemodulator

func (x *ChannelConfiguration) GetDemodulator() uint32

func (*ChannelConfiguration) GetFrequency

func (x *ChannelConfiguration) GetFrequency() uint32

func (*ChannelConfiguration) GetFskModulationConfig

func (x *ChannelConfiguration) GetFskModulationConfig() *FSKModulationConfig

func (*ChannelConfiguration) GetLoraModulationConfig

func (x *ChannelConfiguration) GetLoraModulationConfig() *LoRaModulationConfig

func (*ChannelConfiguration) GetModulation

func (x *ChannelConfiguration) GetModulation() common.Modulation

func (*ChannelConfiguration) GetModulationConfig

func (m *ChannelConfiguration) GetModulationConfig() isChannelConfiguration_ModulationConfig

func (*ChannelConfiguration) ProtoMessage

func (*ChannelConfiguration) ProtoMessage()

func (*ChannelConfiguration) ProtoReflect

func (x *ChannelConfiguration) ProtoReflect() protoreflect.Message

func (*ChannelConfiguration) Reset

func (x *ChannelConfiguration) Reset()

func (*ChannelConfiguration) String

func (x *ChannelConfiguration) String() string

type ChannelConfiguration_FskModulationConfig

type ChannelConfiguration_FskModulationConfig struct {
	// FSK modulation config.
	FskModulationConfig *FSKModulationConfig `protobuf:"bytes,4,opt,name=fsk_modulation_config,json=fskModulationConfig,proto3,oneof"`
}

type ChannelConfiguration_LoraModulationConfig

type ChannelConfiguration_LoraModulationConfig struct {
	// LoRa modulation config.
	LoraModulationConfig *LoRaModulationConfig `protobuf:"bytes,3,opt,name=lora_modulation_config,json=loRaModulationConfig,proto3,oneof"`
}

type DelayTimingInfo

type DelayTimingInfo struct {

	// Delay (duration).
	// The delay will be added to the gateway internal timing, provided by the context object.
	Delay *duration.Duration `protobuf:"bytes,1,opt,name=delay,proto3" json:"delay,omitempty"`
	// contains filtered or unexported fields
}

func (*DelayTimingInfo) Descriptor deprecated

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

Deprecated: Use DelayTimingInfo.ProtoReflect.Descriptor instead.

func (*DelayTimingInfo) GetDelay

func (x *DelayTimingInfo) GetDelay() *duration.Duration

func (*DelayTimingInfo) ProtoMessage

func (*DelayTimingInfo) ProtoMessage()

func (*DelayTimingInfo) ProtoReflect

func (x *DelayTimingInfo) ProtoReflect() protoreflect.Message

func (*DelayTimingInfo) Reset

func (x *DelayTimingInfo) Reset()

func (*DelayTimingInfo) String

func (x *DelayTimingInfo) String() string

type DownlinkFrame

type DownlinkFrame struct {

	// PHYPayload.
	// Deprecated: replaced by items.
	PhyPayload []byte `protobuf:"bytes,1,opt,name=phy_payload,json=phyPayload,proto3" json:"phy_payload,omitempty"`
	// TX meta-data.
	// Deprecated: replaced by items.
	TxInfo *DownlinkTXInfo `protobuf:"bytes,2,opt,name=tx_info,json=txInfo,proto3" json:"tx_info,omitempty"`
	// Token (uint16 value).
	// Deprecated: replaced by downlink_id.
	Token uint32 `protobuf:"varint,3,opt,name=token,proto3" json:"token,omitempty"`
	// Downlink ID (UUID).
	DownlinkId []byte `protobuf:"bytes,4,opt,name=downlink_id,json=downlinkID,proto3" json:"downlink_id,omitempty"`
	// Downlink frame items.
	// This makes it possible to send multiple downlink opportunities to the
	// gateway at once (e.g. RX1 and RX2 in LoRaWAN). The first item has the
	// highest priority, the last the lowest. The gateway will emit at most
	// one item.
	Items []*DownlinkFrameItem `protobuf:"bytes,5,rep,name=items,proto3" json:"items,omitempty"`
	// Gateway ID.
	GatewayId []byte `protobuf:"bytes,6,opt,name=gateway_id,json=gatewayID,proto3" json:"gateway_id,omitempty"`
	// contains filtered or unexported fields
}

func (*DownlinkFrame) Descriptor deprecated

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

Deprecated: Use DownlinkFrame.ProtoReflect.Descriptor instead.

func (*DownlinkFrame) GetDownlinkId

func (x *DownlinkFrame) GetDownlinkId() []byte

func (*DownlinkFrame) GetGatewayId

func (x *DownlinkFrame) GetGatewayId() []byte

func (*DownlinkFrame) GetItems

func (x *DownlinkFrame) GetItems() []*DownlinkFrameItem

func (*DownlinkFrame) GetPhyPayload

func (x *DownlinkFrame) GetPhyPayload() []byte

func (*DownlinkFrame) GetToken

func (x *DownlinkFrame) GetToken() uint32

func (*DownlinkFrame) GetTxInfo

func (x *DownlinkFrame) GetTxInfo() *DownlinkTXInfo

func (*DownlinkFrame) ProtoMessage

func (*DownlinkFrame) ProtoMessage()

func (*DownlinkFrame) ProtoReflect

func (x *DownlinkFrame) ProtoReflect() protoreflect.Message

func (*DownlinkFrame) Reset

func (x *DownlinkFrame) Reset()

func (*DownlinkFrame) String

func (x *DownlinkFrame) String() string

type DownlinkFrameItem

type DownlinkFrameItem struct {

	// PHYPayload.
	PhyPayload []byte `protobuf:"bytes,1,opt,name=phy_payload,json=phyPayload,proto3" json:"phy_payload,omitempty"`
	// TX meta-data.
	TxInfo *DownlinkTXInfo `protobuf:"bytes,2,opt,name=tx_info,json=txInfo,proto3" json:"tx_info,omitempty"`
	// contains filtered or unexported fields
}

func (*DownlinkFrameItem) Descriptor deprecated

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

Deprecated: Use DownlinkFrameItem.ProtoReflect.Descriptor instead.

func (*DownlinkFrameItem) GetPhyPayload

func (x *DownlinkFrameItem) GetPhyPayload() []byte

func (*DownlinkFrameItem) GetTxInfo

func (x *DownlinkFrameItem) GetTxInfo() *DownlinkTXInfo

func (*DownlinkFrameItem) ProtoMessage

func (*DownlinkFrameItem) ProtoMessage()

func (*DownlinkFrameItem) ProtoReflect

func (x *DownlinkFrameItem) ProtoReflect() protoreflect.Message

func (*DownlinkFrameItem) Reset

func (x *DownlinkFrameItem) Reset()

func (*DownlinkFrameItem) String

func (x *DownlinkFrameItem) String() string

type DownlinkTXAck

type DownlinkTXAck struct {

	// Gateway ID.
	GatewayId []byte `protobuf:"bytes,1,opt,name=gateway_id,json=gatewayID,proto3" json:"gateway_id,omitempty"`
	// Token (uint16 value).
	// Deprecated: replaced by downlink_id.
	Token uint32 `protobuf:"varint,2,opt,name=token,proto3" json:"token,omitempty"`
	// Error.
	// Deprecated: replaced by items.
	Error string `protobuf:"bytes,3,opt,name=error,proto3" json:"error,omitempty"`
	// Downlink ID (UUID).
	DownlinkId []byte `protobuf:"bytes,4,opt,name=downlink_id,json=downlinkID,proto3" json:"downlink_id,omitempty"`
	// Downlink frame items.
	// This list has the same length as the request and indicates which
	// downlink frame has been emitted of the requested list (or why it failed).
	// Note that at most one item has a positive acknowledgement.
	Items []*DownlinkTXAckItem `protobuf:"bytes,5,rep,name=items,proto3" json:"items,omitempty"`
	// contains filtered or unexported fields
}

func (*DownlinkTXAck) Descriptor deprecated

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

Deprecated: Use DownlinkTXAck.ProtoReflect.Descriptor instead.

func (*DownlinkTXAck) GetDownlinkId

func (x *DownlinkTXAck) GetDownlinkId() []byte

func (*DownlinkTXAck) GetError

func (x *DownlinkTXAck) GetError() string

func (*DownlinkTXAck) GetGatewayId

func (x *DownlinkTXAck) GetGatewayId() []byte

func (*DownlinkTXAck) GetItems

func (x *DownlinkTXAck) GetItems() []*DownlinkTXAckItem

func (*DownlinkTXAck) GetToken

func (x *DownlinkTXAck) GetToken() uint32

func (*DownlinkTXAck) ProtoMessage

func (*DownlinkTXAck) ProtoMessage()

func (*DownlinkTXAck) ProtoReflect

func (x *DownlinkTXAck) ProtoReflect() protoreflect.Message

func (*DownlinkTXAck) Reset

func (x *DownlinkTXAck) Reset()

func (*DownlinkTXAck) String

func (x *DownlinkTXAck) String() string

type DownlinkTXAckItem

type DownlinkTXAckItem struct {

	// The Ack status of this item.
	Status TxAckStatus `protobuf:"varint,1,opt,name=status,proto3,enum=gw.TxAckStatus" json:"status,omitempty"`
	// contains filtered or unexported fields
}

func (*DownlinkTXAckItem) Descriptor deprecated

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

Deprecated: Use DownlinkTXAckItem.ProtoReflect.Descriptor instead.

func (*DownlinkTXAckItem) GetStatus

func (x *DownlinkTXAckItem) GetStatus() TxAckStatus

func (*DownlinkTXAckItem) ProtoMessage

func (*DownlinkTXAckItem) ProtoMessage()

func (*DownlinkTXAckItem) ProtoReflect

func (x *DownlinkTXAckItem) ProtoReflect() protoreflect.Message

func (*DownlinkTXAckItem) Reset

func (x *DownlinkTXAckItem) Reset()

func (*DownlinkTXAckItem) String

func (x *DownlinkTXAckItem) String() string

type DownlinkTXInfo

type DownlinkTXInfo struct {

	// Gateway ID.
	// Deprecated: replaced by gateway_id in DownlinkFrame.
	GatewayId []byte `protobuf:"bytes,1,opt,name=gateway_id,json=gatewayID,proto3" json:"gateway_id,omitempty"`
	// TX frequency (in Hz).
	Frequency uint32 `protobuf:"varint,5,opt,name=frequency,proto3" json:"frequency,omitempty"`
	// TX power (in dBm).
	Power int32 `protobuf:"varint,6,opt,name=power,proto3" json:"power,omitempty"`
	// Modulation.
	Modulation common.Modulation `protobuf:"varint,7,opt,name=modulation,proto3,enum=common.Modulation" json:"modulation,omitempty"`
	// Types that are assignable to ModulationInfo:
	//	*DownlinkTXInfo_LoraModulationInfo
	//	*DownlinkTXInfo_FskModulationInfo
	ModulationInfo isDownlinkTXInfo_ModulationInfo `protobuf_oneof:"modulation_info"`
	// The board identifier for emitting the frame.
	Board uint32 `protobuf:"varint,10,opt,name=board,proto3" json:"board,omitempty"`
	// The antenna identifier for emitting the frame.
	Antenna uint32 `protobuf:"varint,11,opt,name=antenna,proto3" json:"antenna,omitempty"`
	// Timing defines the downlink timing to use.
	Timing DownlinkTiming `protobuf:"varint,12,opt,name=timing,proto3,enum=gw.DownlinkTiming" json:"timing,omitempty"`
	// Types that are assignable to TimingInfo:
	//	*DownlinkTXInfo_ImmediatelyTimingInfo
	//	*DownlinkTXInfo_DelayTimingInfo
	//	*DownlinkTXInfo_GpsEpochTimingInfo
	TimingInfo isDownlinkTXInfo_TimingInfo `protobuf_oneof:"timing_info"`
	// Gateway specific context.
	// In case of a Class-A downlink, this contains a copy of the uplink context.
	Context []byte `protobuf:"bytes,16,opt,name=context,proto3" json:"context,omitempty"`
	// contains filtered or unexported fields
}

func (*DownlinkTXInfo) Descriptor deprecated

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

Deprecated: Use DownlinkTXInfo.ProtoReflect.Descriptor instead.

func (*DownlinkTXInfo) GetAntenna

func (x *DownlinkTXInfo) GetAntenna() uint32

func (*DownlinkTXInfo) GetBoard

func (x *DownlinkTXInfo) GetBoard() uint32

func (*DownlinkTXInfo) GetContext

func (x *DownlinkTXInfo) GetContext() []byte

func (*DownlinkTXInfo) GetDelayTimingInfo

func (x *DownlinkTXInfo) GetDelayTimingInfo() *DelayTimingInfo

func (*DownlinkTXInfo) GetFrequency

func (x *DownlinkTXInfo) GetFrequency() uint32

func (*DownlinkTXInfo) GetFskModulationInfo

func (x *DownlinkTXInfo) GetFskModulationInfo() *FSKModulationInfo

func (*DownlinkTXInfo) GetGatewayId

func (x *DownlinkTXInfo) GetGatewayId() []byte

func (*DownlinkTXInfo) GetGpsEpochTimingInfo

func (x *DownlinkTXInfo) GetGpsEpochTimingInfo() *GPSEpochTimingInfo

func (*DownlinkTXInfo) GetImmediatelyTimingInfo

func (x *DownlinkTXInfo) GetImmediatelyTimingInfo() *ImmediatelyTimingInfo

func (*DownlinkTXInfo) GetLoraModulationInfo

func (x *DownlinkTXInfo) GetLoraModulationInfo() *LoRaModulationInfo

func (*DownlinkTXInfo) GetModulation

func (x *DownlinkTXInfo) GetModulation() common.Modulation

func (*DownlinkTXInfo) GetModulationInfo

func (m *DownlinkTXInfo) GetModulationInfo() isDownlinkTXInfo_ModulationInfo

func (*DownlinkTXInfo) GetPower

func (x *DownlinkTXInfo) GetPower() int32

func (*DownlinkTXInfo) GetTiming

func (x *DownlinkTXInfo) GetTiming() DownlinkTiming

func (*DownlinkTXInfo) GetTimingInfo

func (m *DownlinkTXInfo) GetTimingInfo() isDownlinkTXInfo_TimingInfo

func (*DownlinkTXInfo) ProtoMessage

func (*DownlinkTXInfo) ProtoMessage()

func (*DownlinkTXInfo) ProtoReflect

func (x *DownlinkTXInfo) ProtoReflect() protoreflect.Message

func (*DownlinkTXInfo) Reset

func (x *DownlinkTXInfo) Reset()

func (*DownlinkTXInfo) String

func (x *DownlinkTXInfo) String() string

type DownlinkTXInfo_DelayTimingInfo

type DownlinkTXInfo_DelayTimingInfo struct {
	// Context based delay timing information.
	DelayTimingInfo *DelayTimingInfo `protobuf:"bytes,14,opt,name=delay_timing_info,json=delayTimingInfo,proto3,oneof"`
}

type DownlinkTXInfo_FskModulationInfo

type DownlinkTXInfo_FskModulationInfo struct {
	// FSK modulation information.
	FskModulationInfo *FSKModulationInfo `protobuf:"bytes,9,opt,name=fsk_modulation_info,json=fskModulationInfo,proto3,oneof"`
}

type DownlinkTXInfo_GpsEpochTimingInfo

type DownlinkTXInfo_GpsEpochTimingInfo struct {
	// GPS Epoch timing information.
	GpsEpochTimingInfo *GPSEpochTimingInfo `protobuf:"bytes,15,opt,name=gps_epoch_timing_info,json=gpsEpochTimingInfo,proto3,oneof"`
}

type DownlinkTXInfo_ImmediatelyTimingInfo

type DownlinkTXInfo_ImmediatelyTimingInfo struct {
	// Immediately timing information.
	ImmediatelyTimingInfo *ImmediatelyTimingInfo `protobuf:"bytes,13,opt,name=immediately_timing_info,json=immediatelyTimingInfo,proto3,oneof"`
}

type DownlinkTXInfo_LoraModulationInfo

type DownlinkTXInfo_LoraModulationInfo struct {
	// LoRa modulation information.
	LoraModulationInfo *LoRaModulationInfo `protobuf:"bytes,8,opt,name=lora_modulation_info,json=loRaModulationInfo,proto3,oneof"`
}

type DownlinkTiming

type DownlinkTiming int32
const (
	// Send the downlink immediately.
	DownlinkTiming_IMMEDIATELY DownlinkTiming = 0
	// Send downlink at the given delay (based on provided context).
	DownlinkTiming_DELAY DownlinkTiming = 1
	// Send at given GPS epoch value.
	DownlinkTiming_GPS_EPOCH DownlinkTiming = 2
)

func (DownlinkTiming) Descriptor

func (DownlinkTiming) Enum

func (x DownlinkTiming) Enum() *DownlinkTiming

func (DownlinkTiming) EnumDescriptor deprecated

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

Deprecated: Use DownlinkTiming.Descriptor instead.

func (DownlinkTiming) Number

func (DownlinkTiming) String

func (x DownlinkTiming) String() string

func (DownlinkTiming) Type

type EncryptedFineTimestamp

type EncryptedFineTimestamp struct {

	// AES key index used for encrypting the fine timestamp.
	AesKeyIndex uint32 `protobuf:"varint,1,opt,name=aes_key_index,json=aesKeyIndex,proto3" json:"aes_key_index,omitempty"`
	// Encrypted 'main' fine-timestamp (ns precision part of the timestamp).
	EncryptedNs []byte `protobuf:"bytes,2,opt,name=encrypted_ns,json=encryptedNS,proto3" json:"encrypted_ns,omitempty"`
	// FPGA ID.
	FpgaId []byte `protobuf:"bytes,3,opt,name=fpga_id,json=fpgaID,proto3" json:"fpga_id,omitempty"`
	// contains filtered or unexported fields
}

func (*EncryptedFineTimestamp) Descriptor deprecated

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

Deprecated: Use EncryptedFineTimestamp.ProtoReflect.Descriptor instead.

func (*EncryptedFineTimestamp) GetAesKeyIndex

func (x *EncryptedFineTimestamp) GetAesKeyIndex() uint32

func (*EncryptedFineTimestamp) GetEncryptedNs

func (x *EncryptedFineTimestamp) GetEncryptedNs() []byte

func (*EncryptedFineTimestamp) GetFpgaId

func (x *EncryptedFineTimestamp) GetFpgaId() []byte

func (*EncryptedFineTimestamp) ProtoMessage

func (*EncryptedFineTimestamp) ProtoMessage()

func (*EncryptedFineTimestamp) ProtoReflect

func (x *EncryptedFineTimestamp) ProtoReflect() protoreflect.Message

func (*EncryptedFineTimestamp) Reset

func (x *EncryptedFineTimestamp) Reset()

func (*EncryptedFineTimestamp) String

func (x *EncryptedFineTimestamp) String() string

type FSKModulationConfig

type FSKModulationConfig struct {

	// Bandwidth.
	Bandwidth uint32 `protobuf:"varint,1,opt,name=bandwidth,proto3" json:"bandwidth,omitempty"`
	// Bitrate.
	Bitrate uint32 `protobuf:"varint,2,opt,name=bitrate,proto3" json:"bitrate,omitempty"`
	// contains filtered or unexported fields
}

func (*FSKModulationConfig) Descriptor deprecated

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

Deprecated: Use FSKModulationConfig.ProtoReflect.Descriptor instead.

func (*FSKModulationConfig) GetBandwidth

func (x *FSKModulationConfig) GetBandwidth() uint32

func (*FSKModulationConfig) GetBitrate

func (x *FSKModulationConfig) GetBitrate() uint32

func (*FSKModulationConfig) ProtoMessage

func (*FSKModulationConfig) ProtoMessage()

func (*FSKModulationConfig) ProtoReflect

func (x *FSKModulationConfig) ProtoReflect() protoreflect.Message

func (*FSKModulationConfig) Reset

func (x *FSKModulationConfig) Reset()

func (*FSKModulationConfig) String

func (x *FSKModulationConfig) String() string

type FSKModulationInfo

type FSKModulationInfo struct {

	// Frequency deviation.
	FrequencyDeviation uint32 `protobuf:"varint,1,opt,name=frequency_deviation,json=frequencyDeviation,proto3" json:"frequency_deviation,omitempty"`
	// FSK datarate (bits / sec).
	Datarate uint32 `protobuf:"varint,2,opt,name=datarate,proto3" json:"datarate,omitempty"`
	// contains filtered or unexported fields
}

func (*FSKModulationInfo) Descriptor deprecated

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

Deprecated: Use FSKModulationInfo.ProtoReflect.Descriptor instead.

func (*FSKModulationInfo) GetDatarate

func (x *FSKModulationInfo) GetDatarate() uint32

func (*FSKModulationInfo) GetFrequencyDeviation

func (x *FSKModulationInfo) GetFrequencyDeviation() uint32

func (*FSKModulationInfo) ProtoMessage

func (*FSKModulationInfo) ProtoMessage()

func (*FSKModulationInfo) ProtoReflect

func (x *FSKModulationInfo) ProtoReflect() protoreflect.Message

func (*FSKModulationInfo) Reset

func (x *FSKModulationInfo) Reset()

func (*FSKModulationInfo) String

func (x *FSKModulationInfo) String() string

type FineTimestampType

type FineTimestampType int32
const (
	// No fine-timestamp available.
	FineTimestampType_NONE FineTimestampType = 0
	// Encrypted fine-timestamp.
	FineTimestampType_ENCRYPTED FineTimestampType = 1
	// Plain fine-timestamp.
	FineTimestampType_PLAIN FineTimestampType = 2
)

func (FineTimestampType) Descriptor

func (FineTimestampType) Enum

func (FineTimestampType) EnumDescriptor deprecated

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

Deprecated: Use FineTimestampType.Descriptor instead.

func (FineTimestampType) Number

func (FineTimestampType) String

func (x FineTimestampType) String() string

func (FineTimestampType) Type

type GPSEpochTimingInfo

type GPSEpochTimingInfo struct {

	// Duration since GPS Epoch.
	TimeSinceGpsEpoch *duration.Duration `protobuf:"bytes,1,opt,name=time_since_gps_epoch,json=timeSinceGPSEpoch,proto3" json:"time_since_gps_epoch,omitempty"`
	// contains filtered or unexported fields
}

func (*GPSEpochTimingInfo) Descriptor deprecated

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

Deprecated: Use GPSEpochTimingInfo.ProtoReflect.Descriptor instead.

func (*GPSEpochTimingInfo) GetTimeSinceGpsEpoch

func (x *GPSEpochTimingInfo) GetTimeSinceGpsEpoch() *duration.Duration

func (*GPSEpochTimingInfo) ProtoMessage

func (*GPSEpochTimingInfo) ProtoMessage()

func (*GPSEpochTimingInfo) ProtoReflect

func (x *GPSEpochTimingInfo) ProtoReflect() protoreflect.Message

func (*GPSEpochTimingInfo) Reset

func (x *GPSEpochTimingInfo) Reset()

func (*GPSEpochTimingInfo) String

func (x *GPSEpochTimingInfo) String() string

type GatewayCommandExecRequest

type GatewayCommandExecRequest struct {

	// Gateway ID.
	GatewayId []byte `protobuf:"bytes,1,opt,name=gateway_id,json=gatewayID,proto3" json:"gateway_id,omitempty"`
	// Command to execute.
	// This command must be pre-configured in the LoRa Gateway Bridge configuration.
	Command string `protobuf:"bytes,2,opt,name=command,proto3" json:"command,omitempty"`
	// Execution request ID (UUID).
	// The same token will be returned when the execution of the command has
	// completed.
	ExecId []byte `protobuf:"bytes,3,opt,name=ExecId,json=execID,proto3" json:"ExecId,omitempty"`
	// Standard input.
	Stdin []byte `protobuf:"bytes,4,opt,name=stdin,proto3" json:"stdin,omitempty"`
	// Environment variables.
	Environment map[string]string `` /* 163-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*GatewayCommandExecRequest) Descriptor deprecated

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

Deprecated: Use GatewayCommandExecRequest.ProtoReflect.Descriptor instead.

func (*GatewayCommandExecRequest) GetCommand

func (x *GatewayCommandExecRequest) GetCommand() string

func (*GatewayCommandExecRequest) GetEnvironment

func (x *GatewayCommandExecRequest) GetEnvironment() map[string]string

func (*GatewayCommandExecRequest) GetExecId

func (x *GatewayCommandExecRequest) GetExecId() []byte

func (*GatewayCommandExecRequest) GetGatewayId

func (x *GatewayCommandExecRequest) GetGatewayId() []byte

func (*GatewayCommandExecRequest) GetStdin

func (x *GatewayCommandExecRequest) GetStdin() []byte

func (*GatewayCommandExecRequest) ProtoMessage

func (*GatewayCommandExecRequest) ProtoMessage()

func (*GatewayCommandExecRequest) ProtoReflect

func (*GatewayCommandExecRequest) Reset

func (x *GatewayCommandExecRequest) Reset()

func (*GatewayCommandExecRequest) String

func (x *GatewayCommandExecRequest) String() string

type GatewayCommandExecResponse

type GatewayCommandExecResponse struct {

	// Gateway ID.
	GatewayId []byte `protobuf:"bytes,1,opt,name=gateway_id,json=gatewayID,proto3" json:"gateway_id,omitempty"`
	// Execution request ID (UUID).
	ExecId []byte `protobuf:"bytes,2,opt,name=exec_id,json=execID,proto3" json:"exec_id,omitempty"`
	// Standard output.
	Stdout []byte `protobuf:"bytes,3,opt,name=stdout,proto3" json:"stdout,omitempty"`
	// Standard error.
	Stderr []byte `protobuf:"bytes,4,opt,name=stderr,proto3" json:"stderr,omitempty"`
	// Error message.
	Error string `protobuf:"bytes,5,opt,name=error,proto3" json:"error,omitempty"`
	// contains filtered or unexported fields
}

func (*GatewayCommandExecResponse) Descriptor deprecated

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

Deprecated: Use GatewayCommandExecResponse.ProtoReflect.Descriptor instead.

func (*GatewayCommandExecResponse) GetError

func (x *GatewayCommandExecResponse) GetError() string

func (*GatewayCommandExecResponse) GetExecId

func (x *GatewayCommandExecResponse) GetExecId() []byte

func (*GatewayCommandExecResponse) GetGatewayId

func (x *GatewayCommandExecResponse) GetGatewayId() []byte

func (*GatewayCommandExecResponse) GetStderr

func (x *GatewayCommandExecResponse) GetStderr() []byte

func (*GatewayCommandExecResponse) GetStdout

func (x *GatewayCommandExecResponse) GetStdout() []byte

func (*GatewayCommandExecResponse) ProtoMessage

func (*GatewayCommandExecResponse) ProtoMessage()

func (*GatewayCommandExecResponse) ProtoReflect

func (*GatewayCommandExecResponse) Reset

func (x *GatewayCommandExecResponse) Reset()

func (*GatewayCommandExecResponse) String

func (x *GatewayCommandExecResponse) String() string

type GatewayConfiguration

type GatewayConfiguration struct {

	// Gateway ID.
	GatewayId []byte `protobuf:"bytes,1,opt,name=gateway_id,json=gatewayID,proto3" json:"gateway_id,omitempty"`
	// Configuration version.
	Version string `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"`
	// Channels.
	Channels []*ChannelConfiguration `protobuf:"bytes,3,rep,name=channels,proto3" json:"channels,omitempty"`
	// Stats interval.
	StatsInterval *duration.Duration `protobuf:"bytes,4,opt,name=stats_interval,json=statsInterval,proto3" json:"stats_interval,omitempty"`
	// contains filtered or unexported fields
}

func (*GatewayConfiguration) Descriptor deprecated

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

Deprecated: Use GatewayConfiguration.ProtoReflect.Descriptor instead.

func (*GatewayConfiguration) GetChannels

func (x *GatewayConfiguration) GetChannels() []*ChannelConfiguration

func (*GatewayConfiguration) GetGatewayId

func (x *GatewayConfiguration) GetGatewayId() []byte

func (*GatewayConfiguration) GetStatsInterval

func (x *GatewayConfiguration) GetStatsInterval() *duration.Duration

func (*GatewayConfiguration) GetVersion

func (x *GatewayConfiguration) GetVersion() string

func (*GatewayConfiguration) ProtoMessage

func (*GatewayConfiguration) ProtoMessage()

func (*GatewayConfiguration) ProtoReflect

func (x *GatewayConfiguration) ProtoReflect() protoreflect.Message

func (*GatewayConfiguration) Reset

func (x *GatewayConfiguration) Reset()

func (*GatewayConfiguration) String

func (x *GatewayConfiguration) String() string

type GatewayStats

type GatewayStats struct {

	// Gateway ID.
	GatewayId []byte `protobuf:"bytes,1,opt,name=gateway_id,json=gatewayID,proto3" json:"gateway_id,omitempty"`
	// Gateway IP.
	Ip string `protobuf:"bytes,9,opt,name=ip,proto3" json:"ip,omitempty"`
	// Gateway time.
	Time *timestamp.Timestamp `protobuf:"bytes,2,opt,name=time,proto3" json:"time,omitempty"`
	// Gateway location.
	Location *common.Location `protobuf:"bytes,3,opt,name=location,proto3" json:"location,omitempty"`
	// Gateway configuration version (this maps to the config_version sent
	// by LoRa Server to the gateway).
	ConfigVersion string `protobuf:"bytes,4,opt,name=config_version,json=configVersion,proto3" json:"config_version,omitempty"`
	// Number of radio packets received.
	RxPacketsReceived uint32 `protobuf:"varint,5,opt,name=rx_packets_received,json=rxPacketsReceived,proto3" json:"rx_packets_received,omitempty"`
	// Number of radio packets received with valid PHY CRC.
	RxPacketsReceivedOk uint32 `protobuf:"varint,6,opt,name=rx_packets_received_ok,json=rxPacketsReceivedOK,proto3" json:"rx_packets_received_ok,omitempty"`
	// Number of downlink packets received for transmission.
	TxPacketsReceived uint32 `protobuf:"varint,7,opt,name=tx_packets_received,json=txPacketsReceived,proto3" json:"tx_packets_received,omitempty"`
	// Number of downlink packets emitted.
	TxPacketsEmitted uint32 `protobuf:"varint,8,opt,name=tx_packets_emitted,json=txPacketsEmitted,proto3" json:"tx_packets_emitted,omitempty"`
	// Additional gateway meta-data.
	MetaData map[string]string `` /* 174-byte string literal not displayed */
	// Stats ID (UUID).
	// Unique identifier for the gateway stats.
	StatsId []byte `protobuf:"bytes,11,opt,name=stats_id,json=statsID,proto3" json:"stats_id,omitempty"`
	// contains filtered or unexported fields
}

func (*GatewayStats) Descriptor deprecated

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

Deprecated: Use GatewayStats.ProtoReflect.Descriptor instead.

func (*GatewayStats) GetConfigVersion

func (x *GatewayStats) GetConfigVersion() string

func (*GatewayStats) GetGatewayId

func (x *GatewayStats) GetGatewayId() []byte

func (*GatewayStats) GetIp

func (x *GatewayStats) GetIp() string

func (*GatewayStats) GetLocation

func (x *GatewayStats) GetLocation() *common.Location

func (*GatewayStats) GetMetaData

func (x *GatewayStats) GetMetaData() map[string]string

func (*GatewayStats) GetRxPacketsReceived

func (x *GatewayStats) GetRxPacketsReceived() uint32

func (*GatewayStats) GetRxPacketsReceivedOk

func (x *GatewayStats) GetRxPacketsReceivedOk() uint32

func (*GatewayStats) GetStatsId

func (x *GatewayStats) GetStatsId() []byte

func (*GatewayStats) GetTime

func (x *GatewayStats) GetTime() *timestamp.Timestamp

func (*GatewayStats) GetTxPacketsEmitted

func (x *GatewayStats) GetTxPacketsEmitted() uint32

func (*GatewayStats) GetTxPacketsReceived

func (x *GatewayStats) GetTxPacketsReceived() uint32

func (*GatewayStats) ProtoMessage

func (*GatewayStats) ProtoMessage()

func (*GatewayStats) ProtoReflect

func (x *GatewayStats) ProtoReflect() protoreflect.Message

func (*GatewayStats) Reset

func (x *GatewayStats) Reset()

func (*GatewayStats) String

func (x *GatewayStats) String() string

type ImmediatelyTimingInfo

type ImmediatelyTimingInfo struct {
	// contains filtered or unexported fields
}

func (*ImmediatelyTimingInfo) Descriptor deprecated

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

Deprecated: Use ImmediatelyTimingInfo.ProtoReflect.Descriptor instead.

func (*ImmediatelyTimingInfo) ProtoMessage

func (*ImmediatelyTimingInfo) ProtoMessage()

func (*ImmediatelyTimingInfo) ProtoReflect

func (x *ImmediatelyTimingInfo) ProtoReflect() protoreflect.Message

func (*ImmediatelyTimingInfo) Reset

func (x *ImmediatelyTimingInfo) Reset()

func (*ImmediatelyTimingInfo) String

func (x *ImmediatelyTimingInfo) String() string

type LoRaModulationConfig

type LoRaModulationConfig struct {

	// Bandwidth.
	Bandwidth uint32 `protobuf:"varint,1,opt,name=bandwidth,proto3" json:"bandwidth,omitempty"`
	// Spreading-factors.
	SpreadingFactors []uint32 `protobuf:"varint,2,rep,packed,name=spreading_factors,json=spreadingFactors,proto3" json:"spreading_factors,omitempty"`
	// contains filtered or unexported fields
}

func (*LoRaModulationConfig) Descriptor deprecated

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

Deprecated: Use LoRaModulationConfig.ProtoReflect.Descriptor instead.

func (*LoRaModulationConfig) GetBandwidth

func (x *LoRaModulationConfig) GetBandwidth() uint32

func (*LoRaModulationConfig) GetSpreadingFactors

func (x *LoRaModulationConfig) GetSpreadingFactors() []uint32

func (*LoRaModulationConfig) ProtoMessage

func (*LoRaModulationConfig) ProtoMessage()

func (*LoRaModulationConfig) ProtoReflect

func (x *LoRaModulationConfig) ProtoReflect() protoreflect.Message

func (*LoRaModulationConfig) Reset

func (x *LoRaModulationConfig) Reset()

func (*LoRaModulationConfig) String

func (x *LoRaModulationConfig) String() string

type LoRaModulationInfo

type LoRaModulationInfo struct {

	// Bandwidth.
	Bandwidth uint32 `protobuf:"varint,1,opt,name=bandwidth,proto3" json:"bandwidth,omitempty"`
	// Speading-factor.
	SpreadingFactor uint32 `protobuf:"varint,2,opt,name=spreading_factor,json=spreadingFactor,proto3" json:"spreading_factor,omitempty"`
	// Code-rate.
	CodeRate string `protobuf:"bytes,3,opt,name=code_rate,json=codeRate,proto3" json:"code_rate,omitempty"`
	// Polarization inversion.
	PolarizationInversion bool `protobuf:"varint,4,opt,name=polarization_inversion,json=polarizationInversion,proto3" json:"polarization_inversion,omitempty"`
	// contains filtered or unexported fields
}

func (*LoRaModulationInfo) Descriptor deprecated

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

Deprecated: Use LoRaModulationInfo.ProtoReflect.Descriptor instead.

func (*LoRaModulationInfo) GetBandwidth

func (x *LoRaModulationInfo) GetBandwidth() uint32

func (*LoRaModulationInfo) GetCodeRate

func (x *LoRaModulationInfo) GetCodeRate() string

func (*LoRaModulationInfo) GetPolarizationInversion

func (x *LoRaModulationInfo) GetPolarizationInversion() bool

func (*LoRaModulationInfo) GetSpreadingFactor

func (x *LoRaModulationInfo) GetSpreadingFactor() uint32

func (*LoRaModulationInfo) ProtoMessage

func (*LoRaModulationInfo) ProtoMessage()

func (*LoRaModulationInfo) ProtoReflect

func (x *LoRaModulationInfo) ProtoReflect() protoreflect.Message

func (*LoRaModulationInfo) Reset

func (x *LoRaModulationInfo) Reset()

func (*LoRaModulationInfo) String

func (x *LoRaModulationInfo) String() string

type PlainFineTimestamp

type PlainFineTimestamp struct {

	// Full timestamp.
	Time *timestamp.Timestamp `protobuf:"bytes,1,opt,name=time,proto3" json:"time,omitempty"`
	// contains filtered or unexported fields
}

func (*PlainFineTimestamp) Descriptor deprecated

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

Deprecated: Use PlainFineTimestamp.ProtoReflect.Descriptor instead.

func (*PlainFineTimestamp) GetTime

func (x *PlainFineTimestamp) GetTime() *timestamp.Timestamp

func (*PlainFineTimestamp) ProtoMessage

func (*PlainFineTimestamp) ProtoMessage()

func (*PlainFineTimestamp) ProtoReflect

func (x *PlainFineTimestamp) ProtoReflect() protoreflect.Message

func (*PlainFineTimestamp) Reset

func (x *PlainFineTimestamp) Reset()

func (*PlainFineTimestamp) String

func (x *PlainFineTimestamp) String() string

type RawPacketForwarderCommand

type RawPacketForwarderCommand struct {

	// Gateway ID.
	GatewayId []byte `protobuf:"bytes,1,opt,name=gateway_id,json=gatewayID,proto3" json:"gateway_id,omitempty"`
	// Raw ID (UUID).
	RawId []byte `protobuf:"bytes,2,opt,name=raw_id,json=rawID,proto3" json:"raw_id,omitempty"`
	// Payload contains the raw payload.
	Payload []byte `protobuf:"bytes,3,opt,name=payload,proto3" json:"payload,omitempty"`
	// contains filtered or unexported fields
}

RawPacketForwarderEvent contains a raw packet-forwarder command. It can be used to access packet-forwarder features that are not (fully) integrated with the ChirpStack Gateway Bridge.

func (*RawPacketForwarderCommand) Descriptor deprecated

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

Deprecated: Use RawPacketForwarderCommand.ProtoReflect.Descriptor instead.

func (*RawPacketForwarderCommand) GetGatewayId

func (x *RawPacketForwarderCommand) GetGatewayId() []byte

func (*RawPacketForwarderCommand) GetPayload

func (x *RawPacketForwarderCommand) GetPayload() []byte

func (*RawPacketForwarderCommand) GetRawId

func (x *RawPacketForwarderCommand) GetRawId() []byte

func (*RawPacketForwarderCommand) ProtoMessage

func (*RawPacketForwarderCommand) ProtoMessage()

func (*RawPacketForwarderCommand) ProtoReflect

func (*RawPacketForwarderCommand) Reset

func (x *RawPacketForwarderCommand) Reset()

func (*RawPacketForwarderCommand) String

func (x *RawPacketForwarderCommand) String() string

type RawPacketForwarderEvent

type RawPacketForwarderEvent struct {

	// Gateway ID.
	GatewayId []byte `protobuf:"bytes,1,opt,name=gateway_id,json=gatewayID,proto3" json:"gateway_id,omitempty"`
	// Raw ID (UUID).
	RawId []byte `protobuf:"bytes,2,opt,name=raw_id,json=rawID,proto3" json:"raw_id,omitempty"`
	// Payload contains the raw payload.
	Payload []byte `protobuf:"bytes,3,opt,name=payload,proto3" json:"payload,omitempty"`
	// contains filtered or unexported fields
}

RawPacketForwarderEvent contains a raw packet-forwarder event. It can be used to access packet-forwarder features that are not (fully) integrated with the ChirpStack Gateway Bridge.

func (*RawPacketForwarderEvent) Descriptor deprecated

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

Deprecated: Use RawPacketForwarderEvent.ProtoReflect.Descriptor instead.

func (*RawPacketForwarderEvent) GetGatewayId

func (x *RawPacketForwarderEvent) GetGatewayId() []byte

func (*RawPacketForwarderEvent) GetPayload

func (x *RawPacketForwarderEvent) GetPayload() []byte

func (*RawPacketForwarderEvent) GetRawId

func (x *RawPacketForwarderEvent) GetRawId() []byte

func (*RawPacketForwarderEvent) ProtoMessage

func (*RawPacketForwarderEvent) ProtoMessage()

func (*RawPacketForwarderEvent) ProtoReflect

func (x *RawPacketForwarderEvent) ProtoReflect() protoreflect.Message

func (*RawPacketForwarderEvent) Reset

func (x *RawPacketForwarderEvent) Reset()

func (*RawPacketForwarderEvent) String

func (x *RawPacketForwarderEvent) String() string

type TxAckStatus

type TxAckStatus int32
const (
	// Ignored (when a previous item was already emitted).
	TxAckStatus_IGNORED TxAckStatus = 0
	// Packet has been programmed for downlink.
	TxAckStatus_OK TxAckStatus = 1
	// Rejected because it was already too late to program this packet for downlink.
	TxAckStatus_TOO_LATE TxAckStatus = 2
	// Rejected because downlink packet timestamp is too much in advance.
	TxAckStatus_TOO_EARLY TxAckStatus = 3
	// Rejected because there was already a packet programmed in requested timeframe.
	TxAckStatus_COLLISION_PACKET TxAckStatus = 4
	// Rejected because there was already a beacon planned in requested timeframe.
	TxAckStatus_COLLISION_BEACON TxAckStatus = 5
	// Rejected because requested frequency is not supported by TX RF chain.
	TxAckStatus_TX_FREQ TxAckStatus = 6
	// Rejected because requested power is not supported by gateway.
	TxAckStatus_TX_POWER TxAckStatus = 7
	// Rejected because GPS is unlocked, so GPS timestamp cannot be used.
	TxAckStatus_GPS_UNLOCKED TxAckStatus = 8
	// Downlink queue is full.
	TxAckStatus_QUEUE_FULL TxAckStatus = 9
	// Internal error.
	TxAckStatus_INTERNAL_ERROR TxAckStatus = 10
)

func (TxAckStatus) Descriptor

func (TxAckStatus) Enum

func (x TxAckStatus) Enum() *TxAckStatus

func (TxAckStatus) EnumDescriptor deprecated

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

Deprecated: Use TxAckStatus.Descriptor instead.

func (TxAckStatus) Number

func (x TxAckStatus) Number() protoreflect.EnumNumber

func (TxAckStatus) String

func (x TxAckStatus) String() string

func (TxAckStatus) Type

type UplinkFrame

type UplinkFrame struct {

	// PHYPayload.
	PhyPayload []byte `protobuf:"bytes,1,opt,name=phy_payload,json=phyPayload,proto3" json:"phy_payload,omitempty"`
	// TX meta-data.
	TxInfo *UplinkTXInfo `protobuf:"bytes,2,opt,name=tx_info,json=txInfo,proto3" json:"tx_info,omitempty"`
	// RX meta-data.
	RxInfo *UplinkRXInfo `protobuf:"bytes,3,opt,name=rx_info,json=rxInfo,proto3" json:"rx_info,omitempty"`
	// contains filtered or unexported fields
}

func (*UplinkFrame) Descriptor deprecated

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

Deprecated: Use UplinkFrame.ProtoReflect.Descriptor instead.

func (*UplinkFrame) GetPhyPayload

func (x *UplinkFrame) GetPhyPayload() []byte

func (*UplinkFrame) GetRxInfo

func (x *UplinkFrame) GetRxInfo() *UplinkRXInfo

func (*UplinkFrame) GetTxInfo

func (x *UplinkFrame) GetTxInfo() *UplinkTXInfo

func (*UplinkFrame) ProtoMessage

func (*UplinkFrame) ProtoMessage()

func (*UplinkFrame) ProtoReflect

func (x *UplinkFrame) ProtoReflect() protoreflect.Message

func (*UplinkFrame) Reset

func (x *UplinkFrame) Reset()

func (*UplinkFrame) String

func (x *UplinkFrame) String() string

type UplinkFrameSet

type UplinkFrameSet struct {

	// PHYPayload.
	PhyPayload []byte `protobuf:"bytes,1,opt,name=phy_payload,json=phyPayload,proto3" json:"phy_payload,omitempty"`
	// TX meta-data.
	TxInfo *UplinkTXInfo `protobuf:"bytes,2,opt,name=tx_info,json=txInfo,proto3" json:"tx_info,omitempty"`
	// RX meta-data set.
	RxInfo []*UplinkRXInfo `protobuf:"bytes,3,rep,name=rx_info,json=rxInfo,proto3" json:"rx_info,omitempty"`
	// contains filtered or unexported fields
}

func (*UplinkFrameSet) Descriptor deprecated

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

Deprecated: Use UplinkFrameSet.ProtoReflect.Descriptor instead.

func (*UplinkFrameSet) GetPhyPayload

func (x *UplinkFrameSet) GetPhyPayload() []byte

func (*UplinkFrameSet) GetRxInfo

func (x *UplinkFrameSet) GetRxInfo() []*UplinkRXInfo

func (*UplinkFrameSet) GetTxInfo

func (x *UplinkFrameSet) GetTxInfo() *UplinkTXInfo

func (*UplinkFrameSet) ProtoMessage

func (*UplinkFrameSet) ProtoMessage()

func (*UplinkFrameSet) ProtoReflect

func (x *UplinkFrameSet) ProtoReflect() protoreflect.Message

func (*UplinkFrameSet) Reset

func (x *UplinkFrameSet) Reset()

func (*UplinkFrameSet) String

func (x *UplinkFrameSet) String() string

type UplinkRXInfo

type UplinkRXInfo struct {

	// Gateway ID.
	GatewayId []byte `protobuf:"bytes,1,opt,name=gateway_id,json=gatewayID,proto3" json:"gateway_id,omitempty"`
	// RX time (only set when the gateway has a GPS module).
	Time *timestamp.Timestamp `protobuf:"bytes,2,opt,name=time,proto3" json:"time,omitempty"`
	// RX time since GPS epoch (only set when the gateway has a GPS module).
	TimeSinceGpsEpoch *duration.Duration `protobuf:"bytes,3,opt,name=time_since_gps_epoch,json=timeSinceGPSEpoch,proto3" json:"time_since_gps_epoch,omitempty"`
	// RSSI.
	Rssi int32 `protobuf:"varint,5,opt,name=rssi,proto3" json:"rssi,omitempty"`
	// LoRa SNR.
	LoraSnr float64 `protobuf:"fixed64,6,opt,name=lora_snr,json=loRaSNR,proto3" json:"lora_snr,omitempty"`
	// Channel.
	Channel uint32 `protobuf:"varint,7,opt,name=channel,proto3" json:"channel,omitempty"`
	// RF Chain.
	RfChain uint32 `protobuf:"varint,8,opt,name=rf_chain,json=rfChain,proto3" json:"rf_chain,omitempty"`
	// Board.
	Board uint32 `protobuf:"varint,9,opt,name=board,proto3" json:"board,omitempty"`
	// Antenna.
	Antenna uint32 `protobuf:"varint,10,opt,name=antenna,proto3" json:"antenna,omitempty"`
	// Location.
	Location *common.Location `protobuf:"bytes,11,opt,name=location,proto3" json:"location,omitempty"`
	// Fine-timestamp type.
	FineTimestampType FineTimestampType `` /* 142-byte string literal not displayed */
	// Fine-timestamp data.
	//
	// Types that are assignable to FineTimestamp:
	//	*UplinkRXInfo_EncryptedFineTimestamp
	//	*UplinkRXInfo_PlainFineTimestamp
	FineTimestamp isUplinkRXInfo_FineTimestamp `protobuf_oneof:"fine_timestamp"`
	// Gateway specific context.
	Context []byte `protobuf:"bytes,15,opt,name=context,proto3" json:"context,omitempty"`
	// Uplink ID (UUID bytes).
	// Unique and random ID which can be used to correlate the uplink across multiple logs.
	UplinkId []byte `protobuf:"bytes,16,opt,name=uplink_id,json=uplinkID,proto3" json:"uplink_id,omitempty"`
	// CRC status.
	CrcStatus CRCStatus `protobuf:"varint,17,opt,name=crc_status,json=crcStatus,proto3,enum=gw.CRCStatus" json:"crc_status,omitempty"`
	// contains filtered or unexported fields
}

func (*UplinkRXInfo) Descriptor deprecated

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

Deprecated: Use UplinkRXInfo.ProtoReflect.Descriptor instead.

func (*UplinkRXInfo) GetAntenna

func (x *UplinkRXInfo) GetAntenna() uint32

func (*UplinkRXInfo) GetBoard

func (x *UplinkRXInfo) GetBoard() uint32

func (*UplinkRXInfo) GetChannel

func (x *UplinkRXInfo) GetChannel() uint32

func (*UplinkRXInfo) GetContext

func (x *UplinkRXInfo) GetContext() []byte

func (*UplinkRXInfo) GetCrcStatus

func (x *UplinkRXInfo) GetCrcStatus() CRCStatus

func (*UplinkRXInfo) GetEncryptedFineTimestamp

func (x *UplinkRXInfo) GetEncryptedFineTimestamp() *EncryptedFineTimestamp

func (*UplinkRXInfo) GetFineTimestamp

func (m *UplinkRXInfo) GetFineTimestamp() isUplinkRXInfo_FineTimestamp

func (*UplinkRXInfo) GetFineTimestampType

func (x *UplinkRXInfo) GetFineTimestampType() FineTimestampType

func (*UplinkRXInfo) GetGatewayId

func (x *UplinkRXInfo) GetGatewayId() []byte

func (*UplinkRXInfo) GetLocation

func (x *UplinkRXInfo) GetLocation() *common.Location

func (*UplinkRXInfo) GetLoraSnr

func (x *UplinkRXInfo) GetLoraSnr() float64

func (*UplinkRXInfo) GetPlainFineTimestamp

func (x *UplinkRXInfo) GetPlainFineTimestamp() *PlainFineTimestamp

func (*UplinkRXInfo) GetRfChain

func (x *UplinkRXInfo) GetRfChain() uint32

func (*UplinkRXInfo) GetRssi

func (x *UplinkRXInfo) GetRssi() int32

func (*UplinkRXInfo) GetTime

func (x *UplinkRXInfo) GetTime() *timestamp.Timestamp

func (*UplinkRXInfo) GetTimeSinceGpsEpoch

func (x *UplinkRXInfo) GetTimeSinceGpsEpoch() *duration.Duration

func (*UplinkRXInfo) GetUplinkId

func (x *UplinkRXInfo) GetUplinkId() []byte

func (*UplinkRXInfo) ProtoMessage

func (*UplinkRXInfo) ProtoMessage()

func (*UplinkRXInfo) ProtoReflect

func (x *UplinkRXInfo) ProtoReflect() protoreflect.Message

func (*UplinkRXInfo) Reset

func (x *UplinkRXInfo) Reset()

func (*UplinkRXInfo) String

func (x *UplinkRXInfo) String() string

type UplinkRXInfo_EncryptedFineTimestamp

type UplinkRXInfo_EncryptedFineTimestamp struct {
	// Encrypted fine-timestamp data.
	EncryptedFineTimestamp *EncryptedFineTimestamp `protobuf:"bytes,13,opt,name=encrypted_fine_timestamp,json=encryptedFineTimestamp,proto3,oneof"`
}

type UplinkRXInfo_PlainFineTimestamp

type UplinkRXInfo_PlainFineTimestamp struct {
	// Plain fine-timestamp data.
	PlainFineTimestamp *PlainFineTimestamp `protobuf:"bytes,14,opt,name=plain_fine_timestamp,json=plainFineTimestamp,proto3,oneof"`
}

type UplinkTXInfo

type UplinkTXInfo struct {

	// Frequency (Hz).
	Frequency uint32 `protobuf:"varint,1,opt,name=frequency,proto3" json:"frequency,omitempty"`
	// Modulation.
	Modulation common.Modulation `protobuf:"varint,2,opt,name=modulation,proto3,enum=common.Modulation" json:"modulation,omitempty"`
	// Types that are assignable to ModulationInfo:
	//	*UplinkTXInfo_LoraModulationInfo
	//	*UplinkTXInfo_FskModulationInfo
	ModulationInfo isUplinkTXInfo_ModulationInfo `protobuf_oneof:"modulation_info"`
	// contains filtered or unexported fields
}

func (*UplinkTXInfo) Descriptor deprecated

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

Deprecated: Use UplinkTXInfo.ProtoReflect.Descriptor instead.

func (*UplinkTXInfo) GetFrequency

func (x *UplinkTXInfo) GetFrequency() uint32

func (*UplinkTXInfo) GetFskModulationInfo

func (x *UplinkTXInfo) GetFskModulationInfo() *FSKModulationInfo

func (*UplinkTXInfo) GetLoraModulationInfo

func (x *UplinkTXInfo) GetLoraModulationInfo() *LoRaModulationInfo

func (*UplinkTXInfo) GetModulation

func (x *UplinkTXInfo) GetModulation() common.Modulation

func (*UplinkTXInfo) GetModulationInfo

func (m *UplinkTXInfo) GetModulationInfo() isUplinkTXInfo_ModulationInfo

func (*UplinkTXInfo) ProtoMessage

func (*UplinkTXInfo) ProtoMessage()

func (*UplinkTXInfo) ProtoReflect

func (x *UplinkTXInfo) ProtoReflect() protoreflect.Message

func (*UplinkTXInfo) Reset

func (x *UplinkTXInfo) Reset()

func (*UplinkTXInfo) String

func (x *UplinkTXInfo) String() string

type UplinkTXInfo_FskModulationInfo

type UplinkTXInfo_FskModulationInfo struct {
	// FSK modulation information.
	FskModulationInfo *FSKModulationInfo `protobuf:"bytes,4,opt,name=fsk_modulation_info,json=fskModulationInfo,proto3,oneof"`
}

type UplinkTXInfo_LoraModulationInfo

type UplinkTXInfo_LoraModulationInfo struct {
	// LoRa modulation information.
	LoraModulationInfo *LoRaModulationInfo `protobuf:"bytes,3,opt,name=lora_modulation_info,json=loRaModulationInfo,proto3,oneof"`
}

Jump to

Keyboard shortcuts

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