Documentation
¶
Index ¶
- Variables
- type KeyEnvelope
- func (*KeyEnvelope) Descriptor() ([]byte, []int)deprecated
- func (x *KeyEnvelope) GetAesKey() []byte
- func (x *KeyEnvelope) GetKekLabel() string
- func (*KeyEnvelope) ProtoMessage()
- func (x *KeyEnvelope) ProtoReflect() protoreflect.Message
- func (x *KeyEnvelope) Reset()
- func (x *KeyEnvelope) String() string
- type Location
- func (*Location) Descriptor() ([]byte, []int)deprecated
- func (x *Location) GetAccuracy() uint32
- func (x *Location) GetAltitude() float64
- func (x *Location) GetLatitude() float64
- func (x *Location) GetLongitude() float64
- func (x *Location) GetSource() LocationSource
- func (*Location) ProtoMessage()
- func (x *Location) ProtoReflect() protoreflect.Message
- func (x *Location) Reset()
- func (x *Location) String() string
- type LocationSource
- func (LocationSource) Descriptor() protoreflect.EnumDescriptor
- func (x LocationSource) Enum() *LocationSource
- func (LocationSource) EnumDescriptor() ([]byte, []int)deprecated
- func (x LocationSource) Number() protoreflect.EnumNumber
- func (x LocationSource) String() string
- func (LocationSource) Type() protoreflect.EnumType
- type Modulation
- type Region
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Modulation_name = map[int32]string{ 0: "LORA", 1: "FSK", } Modulation_value = map[string]int32{ "LORA": 0, "FSK": 1, } )
Enum value maps for Modulation.
View Source
var ( Region_name = map[int32]string{ 0: "EU868", 2: "US915", 3: "CN779", 4: "EU433", 5: "AU915", 6: "CN470", 7: "AS923", 8: "KR920", 9: "IN865", 10: "RU864", } Region_value = map[string]int32{ "EU868": 0, "US915": 2, "CN779": 3, "EU433": 4, "AU915": 5, "CN470": 6, "AS923": 7, "KR920": 8, "IN865": 9, "RU864": 10, } )
Enum value maps for Region.
View Source
var ( LocationSource_name = map[int32]string{ 0: "UNKNOWN", 1: "GPS", 2: "CONFIG", 3: "GEO_RESOLVER_TDOA", 4: "GEO_RESOLVER_RSSI", 5: "GEO_RESOLVER_GNSS", 6: "GEO_RESOLVER_WIFI", } LocationSource_value = map[string]int32{ "UNKNOWN": 0, "GPS": 1, "CONFIG": 2, "GEO_RESOLVER_TDOA": 3, "GEO_RESOLVER_RSSI": 4, "GEO_RESOLVER_GNSS": 5, "GEO_RESOLVER_WIFI": 6, } )
Enum value maps for LocationSource.
View Source
var File_common_common_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type KeyEnvelope ¶
type KeyEnvelope struct { // KEK label. KekLabel string `protobuf:"bytes,1,opt,name=kek_label,json=kekLabel,proto3" json:"kek_label,omitempty"` // AES key (when the kek_label is set, this key is encrypted using a key // known to the join-server and application-server. // For more information please refer to the LoRaWAN Backend Interface // 'Key Transport Security' section. AesKey []byte `protobuf:"bytes,2,opt,name=aes_key,json=aesKey,proto3" json:"aes_key,omitempty"` // contains filtered or unexported fields }
func (*KeyEnvelope) Descriptor
deprecated
func (*KeyEnvelope) Descriptor() ([]byte, []int)
Deprecated: Use KeyEnvelope.ProtoReflect.Descriptor instead.
func (*KeyEnvelope) GetAesKey ¶
func (x *KeyEnvelope) GetAesKey() []byte
func (*KeyEnvelope) GetKekLabel ¶
func (x *KeyEnvelope) GetKekLabel() string
func (*KeyEnvelope) ProtoMessage ¶
func (*KeyEnvelope) ProtoMessage()
func (*KeyEnvelope) ProtoReflect ¶
func (x *KeyEnvelope) ProtoReflect() protoreflect.Message
func (*KeyEnvelope) Reset ¶
func (x *KeyEnvelope) Reset()
func (*KeyEnvelope) String ¶
func (x *KeyEnvelope) String() string
type Location ¶
type Location struct { // Latitude. Latitude float64 `protobuf:"fixed64,1,opt,name=latitude,proto3" json:"latitude,omitempty"` // Longitude. Longitude float64 `protobuf:"fixed64,2,opt,name=longitude,proto3" json:"longitude,omitempty"` // Altitude. Altitude float64 `protobuf:"fixed64,3,opt,name=altitude,proto3" json:"altitude,omitempty"` // Location source. Source LocationSource `protobuf:"varint,4,opt,name=source,proto3,enum=common.LocationSource" json:"source,omitempty"` // Accuracy (in meters). Accuracy uint32 `protobuf:"varint,5,opt,name=accuracy,proto3" json:"accuracy,omitempty"` // contains filtered or unexported fields }
func (*Location) Descriptor
deprecated
func (*Location) GetAccuracy ¶
func (*Location) GetAltitude ¶
func (*Location) GetLatitude ¶
func (*Location) GetLongitude ¶
func (*Location) GetSource ¶
func (x *Location) GetSource() LocationSource
func (*Location) ProtoMessage ¶
func (*Location) ProtoMessage()
func (*Location) ProtoReflect ¶
func (x *Location) ProtoReflect() protoreflect.Message
type LocationSource ¶
type LocationSource int32
const ( // Unknown. LocationSource_UNKNOWN LocationSource = 0 // GPS. LocationSource_GPS LocationSource = 1 // Manually configured. LocationSource_CONFIG LocationSource = 2 // Geo resolver (TDOA). LocationSource_GEO_RESOLVER_TDOA LocationSource = 3 // Geo resolver (RSSI). LocationSource_GEO_RESOLVER_RSSI LocationSource = 4 // Geo resolver (GNSS). LocationSource_GEO_RESOLVER_GNSS LocationSource = 5 // Geo resolver (WIFI). LocationSource_GEO_RESOLVER_WIFI LocationSource = 6 )
func (LocationSource) Descriptor ¶
func (LocationSource) Descriptor() protoreflect.EnumDescriptor
func (LocationSource) Enum ¶
func (x LocationSource) Enum() *LocationSource
func (LocationSource) EnumDescriptor
deprecated
func (LocationSource) EnumDescriptor() ([]byte, []int)
Deprecated: Use LocationSource.Descriptor instead.
func (LocationSource) Number ¶
func (x LocationSource) Number() protoreflect.EnumNumber
func (LocationSource) String ¶
func (x LocationSource) String() string
func (LocationSource) Type ¶
func (LocationSource) Type() protoreflect.EnumType
type Modulation ¶
type Modulation int32
const ( // LoRa Modulation_LORA Modulation = 0 // FSK Modulation_FSK Modulation = 1 )
func (Modulation) Descriptor ¶
func (Modulation) Descriptor() protoreflect.EnumDescriptor
func (Modulation) Enum ¶
func (x Modulation) Enum() *Modulation
func (Modulation) EnumDescriptor
deprecated
func (Modulation) EnumDescriptor() ([]byte, []int)
Deprecated: Use Modulation.Descriptor instead.
func (Modulation) Number ¶
func (x Modulation) Number() protoreflect.EnumNumber
func (Modulation) String ¶
func (x Modulation) String() string
func (Modulation) Type ¶
func (Modulation) Type() protoreflect.EnumType
type Region ¶
type Region int32
const ( // EU868 Region_EU868 Region = 0 // US915 Region_US915 Region = 2 // CN779 Region_CN779 Region = 3 // EU433 Region_EU433 Region = 4 // AU915 Region_AU915 Region = 5 // CN470 Region_CN470 Region = 6 // AS923 Region_AS923 Region = 7 // KR920 Region_KR920 Region = 8 // IN865 Region_IN865 Region = 9 // RU864 Region_RU864 Region = 10 )
func (Region) Descriptor ¶
func (Region) Descriptor() protoreflect.EnumDescriptor
func (Region) EnumDescriptor
deprecated
func (Region) Number ¶
func (x Region) Number() protoreflect.EnumNumber
func (Region) Type ¶
func (Region) Type() protoreflect.EnumType
Click to show internal directories.
Click to hide internal directories.