Documentation ¶
Index ¶
- Variables
- func RegisterApplicationServerServer(s *grpc.Server, srv ApplicationServerServer)
- type ApplicationServerClient
- type ApplicationServerServer
- type DataRate
- func (*DataRate) Descriptor() ([]byte, []int)
- func (m *DataRate) GetBandWidth() uint32
- func (m *DataRate) GetBitrate() uint32
- func (m *DataRate) GetModulation() string
- func (m *DataRate) GetSpreadFactor() uint32
- func (*DataRate) ProtoMessage()
- func (m *DataRate) Reset()
- func (m *DataRate) String() string
- func (m *DataRate) XXX_DiscardUnknown()
- func (m *DataRate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *DataRate) XXX_Merge(src proto.Message)
- func (m *DataRate) XXX_Size() int
- func (m *DataRate) XXX_Unmarshal(b []byte) error
- type ErrorType
- type HandleDownlinkACKRequest
- func (*HandleDownlinkACKRequest) Descriptor() ([]byte, []int)
- func (m *HandleDownlinkACKRequest) GetAcknowledged() bool
- func (m *HandleDownlinkACKRequest) GetDevEUI() []byte
- func (m *HandleDownlinkACKRequest) GetFCnt() uint32
- func (*HandleDownlinkACKRequest) ProtoMessage()
- func (m *HandleDownlinkACKRequest) Reset()
- func (m *HandleDownlinkACKRequest) String() string
- func (m *HandleDownlinkACKRequest) XXX_DiscardUnknown()
- func (m *HandleDownlinkACKRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *HandleDownlinkACKRequest) XXX_Merge(src proto.Message)
- func (m *HandleDownlinkACKRequest) XXX_Size() int
- func (m *HandleDownlinkACKRequest) XXX_Unmarshal(b []byte) error
- type HandleDownlinkACKResponse
- func (*HandleDownlinkACKResponse) Descriptor() ([]byte, []int)
- func (*HandleDownlinkACKResponse) ProtoMessage()
- func (m *HandleDownlinkACKResponse) Reset()
- func (m *HandleDownlinkACKResponse) String() string
- func (m *HandleDownlinkACKResponse) XXX_DiscardUnknown()
- func (m *HandleDownlinkACKResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *HandleDownlinkACKResponse) XXX_Merge(src proto.Message)
- func (m *HandleDownlinkACKResponse) XXX_Size() int
- func (m *HandleDownlinkACKResponse) XXX_Unmarshal(b []byte) error
- type HandleErrorRequest
- func (*HandleErrorRequest) Descriptor() ([]byte, []int)
- func (m *HandleErrorRequest) GetDevEUI() []byte
- func (m *HandleErrorRequest) GetError() string
- func (m *HandleErrorRequest) GetFCnt() uint32
- func (m *HandleErrorRequest) GetType() ErrorType
- func (*HandleErrorRequest) ProtoMessage()
- func (m *HandleErrorRequest) Reset()
- func (m *HandleErrorRequest) String() string
- func (m *HandleErrorRequest) XXX_DiscardUnknown()
- func (m *HandleErrorRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *HandleErrorRequest) XXX_Merge(src proto.Message)
- func (m *HandleErrorRequest) XXX_Size() int
- func (m *HandleErrorRequest) XXX_Unmarshal(b []byte) error
- type HandleErrorResponse
- func (*HandleErrorResponse) Descriptor() ([]byte, []int)
- func (*HandleErrorResponse) ProtoMessage()
- func (m *HandleErrorResponse) Reset()
- func (m *HandleErrorResponse) String() string
- func (m *HandleErrorResponse) XXX_DiscardUnknown()
- func (m *HandleErrorResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *HandleErrorResponse) XXX_Merge(src proto.Message)
- func (m *HandleErrorResponse) XXX_Size() int
- func (m *HandleErrorResponse) XXX_Unmarshal(b []byte) error
- type HandleProprietaryUplinkRequest
- func (*HandleProprietaryUplinkRequest) Descriptor() ([]byte, []int)
- func (m *HandleProprietaryUplinkRequest) GetMacPayload() []byte
- func (m *HandleProprietaryUplinkRequest) GetMic() []byte
- func (m *HandleProprietaryUplinkRequest) GetRxInfo() []*RXInfo
- func (m *HandleProprietaryUplinkRequest) GetTxInfo() *TXInfo
- func (*HandleProprietaryUplinkRequest) ProtoMessage()
- func (m *HandleProprietaryUplinkRequest) Reset()
- func (m *HandleProprietaryUplinkRequest) String() string
- func (m *HandleProprietaryUplinkRequest) XXX_DiscardUnknown()
- func (m *HandleProprietaryUplinkRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *HandleProprietaryUplinkRequest) XXX_Merge(src proto.Message)
- func (m *HandleProprietaryUplinkRequest) XXX_Size() int
- func (m *HandleProprietaryUplinkRequest) XXX_Unmarshal(b []byte) error
- type HandleProprietaryUplinkResponse
- func (*HandleProprietaryUplinkResponse) Descriptor() ([]byte, []int)
- func (*HandleProprietaryUplinkResponse) ProtoMessage()
- func (m *HandleProprietaryUplinkResponse) Reset()
- func (m *HandleProprietaryUplinkResponse) String() string
- func (m *HandleProprietaryUplinkResponse) XXX_DiscardUnknown()
- func (m *HandleProprietaryUplinkResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *HandleProprietaryUplinkResponse) XXX_Merge(src proto.Message)
- func (m *HandleProprietaryUplinkResponse) XXX_Size() int
- func (m *HandleProprietaryUplinkResponse) XXX_Unmarshal(b []byte) error
- type HandleUplinkDataRequest
- func (*HandleUplinkDataRequest) Descriptor() ([]byte, []int)
- func (m *HandleUplinkDataRequest) GetAppEUI() []byte
- func (m *HandleUplinkDataRequest) GetData() []byte
- func (m *HandleUplinkDataRequest) GetDevEUI() []byte
- func (m *HandleUplinkDataRequest) GetDeviceStatusBattery() uint32
- func (m *HandleUplinkDataRequest) GetDeviceStatusMargin() int32
- func (m *HandleUplinkDataRequest) GetFCnt() uint32
- func (m *HandleUplinkDataRequest) GetFPort() uint32
- func (m *HandleUplinkDataRequest) GetRxInfo() []*RXInfo
- func (m *HandleUplinkDataRequest) GetTxInfo() *TXInfo
- func (*HandleUplinkDataRequest) ProtoMessage()
- func (m *HandleUplinkDataRequest) Reset()
- func (m *HandleUplinkDataRequest) String() string
- func (m *HandleUplinkDataRequest) XXX_DiscardUnknown()
- func (m *HandleUplinkDataRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *HandleUplinkDataRequest) XXX_Merge(src proto.Message)
- func (m *HandleUplinkDataRequest) XXX_Size() int
- func (m *HandleUplinkDataRequest) XXX_Unmarshal(b []byte) error
- type HandleUplinkDataResponse
- func (*HandleUplinkDataResponse) Descriptor() ([]byte, []int)
- func (*HandleUplinkDataResponse) ProtoMessage()
- func (m *HandleUplinkDataResponse) Reset()
- func (m *HandleUplinkDataResponse) String() string
- func (m *HandleUplinkDataResponse) XXX_DiscardUnknown()
- func (m *HandleUplinkDataResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *HandleUplinkDataResponse) XXX_Merge(src proto.Message)
- func (m *HandleUplinkDataResponse) XXX_Size() int
- func (m *HandleUplinkDataResponse) XXX_Unmarshal(b []byte) error
- type RXInfo
- func (*RXInfo) Descriptor() ([]byte, []int)
- func (m *RXInfo) GetAltitude() float64
- func (m *RXInfo) GetLatitude() float64
- func (m *RXInfo) GetLoRaSNR() float64
- func (m *RXInfo) GetLongitude() float64
- func (m *RXInfo) GetMac() []byte
- func (m *RXInfo) GetName() string
- func (m *RXInfo) GetRssi() int32
- func (m *RXInfo) GetTime() string
- func (*RXInfo) ProtoMessage()
- func (m *RXInfo) Reset()
- func (m *RXInfo) String() string
- func (m *RXInfo) XXX_DiscardUnknown()
- func (m *RXInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *RXInfo) XXX_Merge(src proto.Message)
- func (m *RXInfo) XXX_Size() int
- func (m *RXInfo) XXX_Unmarshal(b []byte) error
- type RXWindow
- type TXInfo
- func (*TXInfo) Descriptor() ([]byte, []int)
- func (m *TXInfo) GetAdr() bool
- func (m *TXInfo) GetCodeRate() string
- func (m *TXInfo) GetDataRate() *DataRate
- func (m *TXInfo) GetFrequency() int64
- func (*TXInfo) ProtoMessage()
- func (m *TXInfo) Reset()
- func (m *TXInfo) String() string
- func (m *TXInfo) XXX_DiscardUnknown()
- func (m *TXInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *TXInfo) XXX_Merge(src proto.Message)
- func (m *TXInfo) XXX_Size() int
- func (m *TXInfo) XXX_Unmarshal(b []byte) error
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) GetBandWidth ¶
func (*DataRate) GetBitrate ¶
func (*DataRate) GetModulation ¶
func (*DataRate) GetSpreadFactor ¶
func (*DataRate) ProtoMessage ¶
func (*DataRate) ProtoMessage()
func (*DataRate) XXX_DiscardUnknown ¶
func (m *DataRate) XXX_DiscardUnknown()
func (*DataRate) XXX_Marshal ¶
func (*DataRate) XXX_Unmarshal ¶
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 (m *HandleProprietaryUplinkRequest) String() 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 (m *HandleProprietaryUplinkResponse) Reset()
func (*HandleProprietaryUplinkResponse) String ¶
func (m *HandleProprietaryUplinkResponse) String() 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) GetAltitude ¶
func (*RXInfo) GetLatitude ¶
func (*RXInfo) GetLoRaSNR ¶
func (*RXInfo) GetLongitude ¶
func (*RXInfo) ProtoMessage ¶
func (*RXInfo) ProtoMessage()
func (*RXInfo) XXX_DiscardUnknown ¶
func (m *RXInfo) XXX_DiscardUnknown()
func (*RXInfo) XXX_Marshal ¶
func (*RXInfo) XXX_Unmarshal ¶
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) GetCodeRate ¶
func (*TXInfo) GetDataRate ¶
func (*TXInfo) GetFrequency ¶
func (*TXInfo) ProtoMessage ¶
func (*TXInfo) ProtoMessage()
func (*TXInfo) XXX_DiscardUnknown ¶
func (m *TXInfo) XXX_DiscardUnknown()
func (*TXInfo) XXX_Marshal ¶
func (*TXInfo) XXX_Unmarshal ¶
Click to show internal directories.
Click to hide internal directories.