common

package
v2.0.0-test.1+incompat... Latest Latest
Warning

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

Go to latest
Published: Jul 20, 2018 License: MIT Imports: 3 Imported by: 58

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Modulation_name = map[int32]string{
	0: "LORA",
	1: "FSK",
}
View Source
var Modulation_value = map[string]int32{
	"LORA": 0,
	"FSK":  1,
}
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",
}
View Source
var 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,
}

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 (dst *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 Modulation

type Modulation int32
const (
	// LoRa
	Modulation_LORA Modulation = 0
	// FSK
	Modulation_FSK Modulation = 1
)

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
	// KR920
	Region_KR920 Region = 8
	// IN865
	Region_IN865 Region = 9
	// RU864
	Region_RU864 Region = 10
)

func (Region) EnumDescriptor

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

func (Region) String

func (x Region) String() string

Jump to

Keyboard shortcuts

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