Documentation ¶
Index ¶
- Variables
- type KeyEnvelope
- func (*KeyEnvelope) Descriptor() ([]byte, []int)
- func (m *KeyEnvelope) GetAesKey() []byte
- func (m *KeyEnvelope) GetKekLabel() string
- func (*KeyEnvelope) ProtoMessage()
- func (m *KeyEnvelope) Reset()
- func (m *KeyEnvelope) String() string
- func (m *KeyEnvelope) XXX_DiscardUnknown()
- func (m *KeyEnvelope) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *KeyEnvelope) XXX_Merge(src proto.Message)
- func (m *KeyEnvelope) XXX_Size() int
- func (m *KeyEnvelope) XXX_Unmarshal(b []byte) error
- type Location
- func (*Location) Descriptor() ([]byte, []int)
- func (m *Location) GetAccuracy() uint32
- func (m *Location) GetAltitude() float64
- func (m *Location) GetLatitude() float64
- func (m *Location) GetLongitude() float64
- func (m *Location) GetSource() LocationSource
- func (*Location) ProtoMessage()
- func (m *Location) Reset()
- func (m *Location) String() string
- func (m *Location) XXX_DiscardUnknown()
- func (m *Location) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Location) XXX_Merge(src proto.Message)
- func (m *Location) XXX_Size() int
- func (m *Location) XXX_Unmarshal(b []byte) error
- type LocationSource
- type MType
- type Modulation
- type Region
Constants ¶
This section is empty.
Variables ¶
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",
}
View Source
var 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,
}
View Source
var MType_name = map[int32]string{
0: "JoinRequest",
1: "JoinAccept",
2: "UnconfirmedDataUp",
3: "UnconfirmedDataDown",
4: "ConfirmedDataUp",
5: "ConfirmedDataDown",
6: "RejoinRequest",
7: "Proprietary",
}
View Source
var MType_value = map[string]int32{
"JoinRequest": 0,
"JoinAccept": 1,
"UnconfirmedDataUp": 2,
"UnconfirmedDataDown": 3,
"ConfirmedDataUp": 4,
"ConfirmedDataDown": 5,
"RejoinRequest": 6,
"Proprietary": 7,
}
View Source
var Modulation_name = map[int32]string{
0: "LORA",
1: "FSK",
2: "LR_FHSS",
}
View Source
var Modulation_value = map[string]int32{
"LORA": 0,
"FSK": 1,
"LR_FHSS": 2,
}
View Source
var Region_name = map[int32]string{
0: "EU868",
2: "US915",
3: "CN779",
4: "EU433",
5: "AU915",
6: "CN470",
7: "AS923",
12: "AS923_2",
13: "AS923_3",
14: "AS923_4",
8: "KR920",
9: "IN865",
10: "RU864",
11: "ISM2400",
}
View Source
var Region_value = map[string]int32{
"EU868": 0,
"US915": 2,
"CN779": 3,
"EU433": 4,
"AU915": 5,
"CN470": 6,
"AS923": 7,
"AS923_2": 12,
"AS923_3": 13,
"AS923_4": 14,
"KR920": 8,
"IN865": 9,
"RU864": 10,
"ISM2400": 11,
}
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"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*KeyEnvelope) Descriptor ¶
func (*KeyEnvelope) Descriptor() ([]byte, []int)
func (*KeyEnvelope) GetAesKey ¶
func (m *KeyEnvelope) GetAesKey() []byte
func (*KeyEnvelope) GetKekLabel ¶
func (m *KeyEnvelope) GetKekLabel() string
func (*KeyEnvelope) ProtoMessage ¶
func (*KeyEnvelope) ProtoMessage()
func (*KeyEnvelope) Reset ¶
func (m *KeyEnvelope) Reset()
func (*KeyEnvelope) String ¶
func (m *KeyEnvelope) String() string
func (*KeyEnvelope) XXX_DiscardUnknown ¶
func (m *KeyEnvelope) XXX_DiscardUnknown()
func (*KeyEnvelope) XXX_Marshal ¶
func (m *KeyEnvelope) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*KeyEnvelope) XXX_Merge ¶
func (m *KeyEnvelope) XXX_Merge(src proto.Message)
func (*KeyEnvelope) XXX_Size ¶
func (m *KeyEnvelope) XXX_Size() int
func (*KeyEnvelope) XXX_Unmarshal ¶
func (m *KeyEnvelope) XXX_Unmarshal(b []byte) error
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"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Location) Descriptor ¶
func (*Location) GetAccuracy ¶
func (*Location) GetAltitude ¶
func (*Location) GetLatitude ¶
func (*Location) GetLongitude ¶
func (*Location) GetSource ¶
func (m *Location) GetSource() LocationSource
func (*Location) ProtoMessage ¶
func (*Location) ProtoMessage()
func (*Location) XXX_DiscardUnknown ¶
func (m *Location) XXX_DiscardUnknown()
func (*Location) XXX_Marshal ¶
func (*Location) XXX_Unmarshal ¶
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) EnumDescriptor ¶
func (LocationSource) EnumDescriptor() ([]byte, []int)
func (LocationSource) String ¶
func (x LocationSource) String() string
type MType ¶
type MType int32
const ( // JoinRequest. MType_JoinRequest MType = 0 // JoinAccept. MType_JoinAccept MType = 1 // UnconfirmedDataUp. MType_UnconfirmedDataUp MType = 2 // UnconfirmedDataDown. MType_UnconfirmedDataDown MType = 3 // ConfirmedDataUp. MType_ConfirmedDataUp MType = 4 // ConfirmedDataDown. MType_ConfirmedDataDown MType = 5 // RejoinRequest. MType_RejoinRequest MType = 6 // Proprietary. MType_Proprietary MType = 7 )
func (MType) EnumDescriptor ¶
type Modulation ¶
type Modulation int32
const ( // LoRa Modulation_LORA Modulation = 0 // FSK Modulation_FSK Modulation = 1 // LR-FHSS Modulation_LR_FHSS Modulation = 2 )
func (Modulation) EnumDescriptor ¶
func (Modulation) EnumDescriptor() ([]byte, []int)
func (Modulation) String ¶
func (x Modulation) String() string
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 // AS923 with -1.80 MHz frequency offset Region_AS923_2 Region = 12 // AS923 with -6.60 MHz frequency offset Region_AS923_3 Region = 13 // AS923 with -5.90 MHz frequency offset Region_AS923_4 Region = 14 // KR920 Region_KR920 Region = 8 // IN865 Region_IN865 Region = 9 // RU864 Region_RU864 Region = 10 // ISM2400 (LoRaWAN 2.4 GHz) Region_ISM2400 Region = 11 )
func (Region) EnumDescriptor ¶
Click to show internal directories.
Click to hide internal directories.