Documentation ¶
Index ¶
- Variables
- func RegisterApplicationServerServiceServer(s *grpc.Server, srv ApplicationServerServiceServer)
- type ApplicationServerServiceClient
- type ApplicationServerServiceServer
- type DeviceActivationContext
- func (*DeviceActivationContext) Descriptor() ([]byte, []int)
- func (m *DeviceActivationContext) GetAppSKey() *common.KeyEnvelope
- func (m *DeviceActivationContext) GetDevAddr() []byte
- func (*DeviceActivationContext) ProtoMessage()
- func (m *DeviceActivationContext) Reset()
- func (m *DeviceActivationContext) String() string
- func (m *DeviceActivationContext) XXX_DiscardUnknown()
- func (m *DeviceActivationContext) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DeviceActivationContext) XXX_Merge(src proto.Message)
- func (m *DeviceActivationContext) XXX_Size() int
- func (m *DeviceActivationContext) XXX_Unmarshal(b []byte) error
- type ErrorType
- type HandleConnStateRequest
- func (*HandleConnStateRequest) Descriptor() ([]byte, []int)
- func (m *HandleConnStateRequest) GetGatewayId() []byte
- func (m *HandleConnStateRequest) GetIsRetained() bool
- func (m *HandleConnStateRequest) GetState() gw.State
- func (m *HandleConnStateRequest) GetStatsId() []byte
- func (*HandleConnStateRequest) ProtoMessage()
- func (m *HandleConnStateRequest) Reset()
- func (m *HandleConnStateRequest) String() string
- func (m *HandleConnStateRequest) XXX_DiscardUnknown()
- func (m *HandleConnStateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *HandleConnStateRequest) XXX_Merge(src proto.Message)
- func (m *HandleConnStateRequest) XXX_Size() int
- func (m *HandleConnStateRequest) XXX_Unmarshal(b []byte) error
- type HandleConnStateRequest_State
- 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 (m *HandleDownlinkACKRequest) XXX_Merge(src proto.Message)
- func (m *HandleDownlinkACKRequest) XXX_Size() int
- func (m *HandleDownlinkACKRequest) 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 (m *HandleErrorRequest) XXX_Merge(src proto.Message)
- func (m *HandleErrorRequest) XXX_Size() int
- func (m *HandleErrorRequest) XXX_Unmarshal(b []byte) error
- type HandleGatewayStatsRequest
- func (*HandleGatewayStatsRequest) Descriptor() ([]byte, []int)
- func (m *HandleGatewayStatsRequest) GetDownBytesCount() int32
- func (m *HandleGatewayStatsRequest) GetGatewayId() []byte
- func (m *HandleGatewayStatsRequest) GetLocation() *common.Location
- func (m *HandleGatewayStatsRequest) GetMetadata() map[string]string
- func (m *HandleGatewayStatsRequest) GetRxPacketsPerDr() map[uint32]uint32
- func (m *HandleGatewayStatsRequest) GetRxPacketsPerFrequency() map[uint32]uint32
- func (m *HandleGatewayStatsRequest) GetRxPacketsReceived() uint32
- func (m *HandleGatewayStatsRequest) GetRxPacketsReceivedOk() uint32
- func (m *HandleGatewayStatsRequest) GetStatsId() []byte
- func (m *HandleGatewayStatsRequest) GetTime() *timestamp.Timestamp
- func (m *HandleGatewayStatsRequest) GetTxPacketsEmitted() uint32
- func (m *HandleGatewayStatsRequest) GetTxPacketsPerDr() map[uint32]uint32
- func (m *HandleGatewayStatsRequest) GetTxPacketsPerFrequency() map[uint32]uint32
- func (m *HandleGatewayStatsRequest) GetTxPacketsPerStatus() map[string]uint32
- func (m *HandleGatewayStatsRequest) GetTxPacketsReceived() uint32
- func (m *HandleGatewayStatsRequest) GetUpBytesCount() int32
- func (*HandleGatewayStatsRequest) ProtoMessage()
- func (m *HandleGatewayStatsRequest) Reset()
- func (m *HandleGatewayStatsRequest) String() string
- func (m *HandleGatewayStatsRequest) XXX_DiscardUnknown()
- func (m *HandleGatewayStatsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *HandleGatewayStatsRequest) XXX_Merge(src proto.Message)
- func (m *HandleGatewayStatsRequest) XXX_Size() int
- func (m *HandleGatewayStatsRequest) 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() []*gw.UplinkRXInfo
- func (m *HandleProprietaryUplinkRequest) GetTxInfo() *gw.UplinkTXInfo
- 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 (m *HandleProprietaryUplinkRequest) XXX_Merge(src proto.Message)
- func (m *HandleProprietaryUplinkRequest) XXX_Size() int
- func (m *HandleProprietaryUplinkRequest) XXX_Unmarshal(b []byte) error
- type HandleTxAckRequest
- func (*HandleTxAckRequest) Descriptor() ([]byte, []int)
- func (m *HandleTxAckRequest) GetDevEui() []byte
- func (m *HandleTxAckRequest) GetFCnt() uint32
- func (m *HandleTxAckRequest) GetGatewayId() []byte
- func (m *HandleTxAckRequest) GetTxInfo() *gw.DownlinkTXInfo
- func (*HandleTxAckRequest) ProtoMessage()
- func (m *HandleTxAckRequest) Reset()
- func (m *HandleTxAckRequest) String() string
- func (m *HandleTxAckRequest) XXX_DiscardUnknown()
- func (m *HandleTxAckRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *HandleTxAckRequest) XXX_Merge(src proto.Message)
- func (m *HandleTxAckRequest) XXX_Size() int
- func (m *HandleTxAckRequest) XXX_Unmarshal(b []byte) error
- type HandleUplinkDataRequest
- func (*HandleUplinkDataRequest) Descriptor() ([]byte, []int)
- func (m *HandleUplinkDataRequest) GetAdr() bool
- func (m *HandleUplinkDataRequest) GetConfirmedUplink() bool
- func (m *HandleUplinkDataRequest) GetData() []byte
- func (m *HandleUplinkDataRequest) GetDevEui() []byte
- func (m *HandleUplinkDataRequest) GetDeviceActivationContext() *DeviceActivationContext
- func (m *HandleUplinkDataRequest) GetDr() uint32
- func (m *HandleUplinkDataRequest) GetFCnt() uint32
- func (m *HandleUplinkDataRequest) GetFPort() uint32
- func (m *HandleUplinkDataRequest) GetJoinEui() []byte
- func (m *HandleUplinkDataRequest) GetRxInfo() []*gw.UplinkRXInfo
- func (m *HandleUplinkDataRequest) GetTxInfo() *gw.UplinkTXInfo
- 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 (m *HandleUplinkDataRequest) XXX_Merge(src proto.Message)
- func (m *HandleUplinkDataRequest) XXX_Size() int
- func (m *HandleUplinkDataRequest) XXX_Unmarshal(b []byte) error
- type RXWindow
- type ReEncryptDeviceQueueItem
- func (*ReEncryptDeviceQueueItem) Descriptor() ([]byte, []int)
- func (m *ReEncryptDeviceQueueItem) GetConfirmed() bool
- func (m *ReEncryptDeviceQueueItem) GetFCnt() uint32
- func (m *ReEncryptDeviceQueueItem) GetFPort() uint32
- func (m *ReEncryptDeviceQueueItem) GetFrmPayload() []byte
- func (*ReEncryptDeviceQueueItem) ProtoMessage()
- func (m *ReEncryptDeviceQueueItem) Reset()
- func (m *ReEncryptDeviceQueueItem) String() string
- func (m *ReEncryptDeviceQueueItem) XXX_DiscardUnknown()
- func (m *ReEncryptDeviceQueueItem) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ReEncryptDeviceQueueItem) XXX_Merge(src proto.Message)
- func (m *ReEncryptDeviceQueueItem) XXX_Size() int
- func (m *ReEncryptDeviceQueueItem) XXX_Unmarshal(b []byte) error
- type ReEncryptDeviceQueueItemsRequest
- func (*ReEncryptDeviceQueueItemsRequest) Descriptor() ([]byte, []int)
- func (m *ReEncryptDeviceQueueItemsRequest) GetDevAddr() []byte
- func (m *ReEncryptDeviceQueueItemsRequest) GetDevEui() []byte
- func (m *ReEncryptDeviceQueueItemsRequest) GetFCntStart() uint32
- func (m *ReEncryptDeviceQueueItemsRequest) GetItems() []*ReEncryptDeviceQueueItem
- func (*ReEncryptDeviceQueueItemsRequest) ProtoMessage()
- func (m *ReEncryptDeviceQueueItemsRequest) Reset()
- func (m *ReEncryptDeviceQueueItemsRequest) String() string
- func (m *ReEncryptDeviceQueueItemsRequest) XXX_DiscardUnknown()
- func (m *ReEncryptDeviceQueueItemsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ReEncryptDeviceQueueItemsRequest) XXX_Merge(src proto.Message)
- func (m *ReEncryptDeviceQueueItemsRequest) XXX_Size() int
- func (m *ReEncryptDeviceQueueItemsRequest) XXX_Unmarshal(b []byte) error
- type ReEncryptDeviceQueueItemsResponse
- func (*ReEncryptDeviceQueueItemsResponse) Descriptor() ([]byte, []int)
- func (m *ReEncryptDeviceQueueItemsResponse) GetItems() []*ReEncryptedDeviceQueueItem
- func (*ReEncryptDeviceQueueItemsResponse) ProtoMessage()
- func (m *ReEncryptDeviceQueueItemsResponse) Reset()
- func (m *ReEncryptDeviceQueueItemsResponse) String() string
- func (m *ReEncryptDeviceQueueItemsResponse) XXX_DiscardUnknown()
- func (m *ReEncryptDeviceQueueItemsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ReEncryptDeviceQueueItemsResponse) XXX_Merge(src proto.Message)
- func (m *ReEncryptDeviceQueueItemsResponse) XXX_Size() int
- func (m *ReEncryptDeviceQueueItemsResponse) XXX_Unmarshal(b []byte) error
- type ReEncryptedDeviceQueueItem
- func (*ReEncryptedDeviceQueueItem) Descriptor() ([]byte, []int)
- func (m *ReEncryptedDeviceQueueItem) GetConfirmed() bool
- func (m *ReEncryptedDeviceQueueItem) GetFCnt() uint32
- func (m *ReEncryptedDeviceQueueItem) GetFPort() uint32
- func (m *ReEncryptedDeviceQueueItem) GetFrmPayload() []byte
- func (*ReEncryptedDeviceQueueItem) ProtoMessage()
- func (m *ReEncryptedDeviceQueueItem) Reset()
- func (m *ReEncryptedDeviceQueueItem) String() string
- func (m *ReEncryptedDeviceQueueItem) XXX_DiscardUnknown()
- func (m *ReEncryptedDeviceQueueItem) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ReEncryptedDeviceQueueItem) XXX_Merge(src proto.Message)
- func (m *ReEncryptedDeviceQueueItem) XXX_Size() int
- func (m *ReEncryptedDeviceQueueItem) XXX_Unmarshal(b []byte) error
- type SetDeviceLocationRequest
- func (*SetDeviceLocationRequest) Descriptor() ([]byte, []int)
- func (m *SetDeviceLocationRequest) GetDevEui() []byte
- func (m *SetDeviceLocationRequest) GetLocation() *common.Location
- func (m *SetDeviceLocationRequest) GetUplinkIds() [][]byte
- func (*SetDeviceLocationRequest) ProtoMessage()
- func (m *SetDeviceLocationRequest) Reset()
- func (m *SetDeviceLocationRequest) String() string
- func (m *SetDeviceLocationRequest) XXX_DiscardUnknown()
- func (m *SetDeviceLocationRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SetDeviceLocationRequest) XXX_Merge(src proto.Message)
- func (m *SetDeviceLocationRequest) XXX_Size() int
- func (m *SetDeviceLocationRequest) XXX_Unmarshal(b []byte) error
- type SetDeviceStatusRequest
- func (*SetDeviceStatusRequest) Descriptor() ([]byte, []int)
- func (m *SetDeviceStatusRequest) GetBattery() uint32
- func (m *SetDeviceStatusRequest) GetBatteryLevel() float32
- func (m *SetDeviceStatusRequest) GetBatteryLevelUnavailable() bool
- func (m *SetDeviceStatusRequest) GetDevEui() []byte
- func (m *SetDeviceStatusRequest) GetExternalPowerSource() bool
- func (m *SetDeviceStatusRequest) GetMargin() int32
- func (*SetDeviceStatusRequest) ProtoMessage()
- func (m *SetDeviceStatusRequest) Reset()
- func (m *SetDeviceStatusRequest) String() string
- func (m *SetDeviceStatusRequest) XXX_DiscardUnknown()
- func (m *SetDeviceStatusRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SetDeviceStatusRequest) XXX_Merge(src proto.Message)
- func (m *SetDeviceStatusRequest) XXX_Size() int
- func (m *SetDeviceStatusRequest) XXX_Unmarshal(b []byte) error
- type UnimplementedApplicationServerServiceServer
- func (*UnimplementedApplicationServerServiceServer) HandleDownlinkACK(ctx context.Context, req *HandleDownlinkACKRequest) (*empty.Empty, error)
- func (*UnimplementedApplicationServerServiceServer) HandleError(ctx context.Context, req *HandleErrorRequest) (*empty.Empty, error)
- func (*UnimplementedApplicationServerServiceServer) HandleGatewayConnStats(ctx context.Context, req *HandleConnStateRequest) (*empty.Empty, error)
- func (*UnimplementedApplicationServerServiceServer) HandleGatewayStats(ctx context.Context, req *HandleGatewayStatsRequest) (*empty.Empty, error)
- func (*UnimplementedApplicationServerServiceServer) HandleProprietaryUplink(ctx context.Context, req *HandleProprietaryUplinkRequest) (*empty.Empty, error)
- func (*UnimplementedApplicationServerServiceServer) HandleTxAck(ctx context.Context, req *HandleTxAckRequest) (*empty.Empty, error)
- func (*UnimplementedApplicationServerServiceServer) HandleUplinkData(ctx context.Context, req *HandleUplinkDataRequest) (*empty.Empty, error)
- func (*UnimplementedApplicationServerServiceServer) ReEncryptDeviceQueueItems(ctx context.Context, req *ReEncryptDeviceQueueItemsRequest) (*ReEncryptDeviceQueueItemsResponse, error)
- func (*UnimplementedApplicationServerServiceServer) SetDeviceLocation(ctx context.Context, req *SetDeviceLocationRequest) (*empty.Empty, error)
- func (*UnimplementedApplicationServerServiceServer) SetDeviceStatus(ctx context.Context, req *SetDeviceStatusRequest) (*empty.Empty, error)
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrorType_name = map[int32]string{
0: "GENERIC",
1: "OTAA",
2: "DATA_UP_FCNT_RESET",
3: "DATA_UP_MIC",
4: "DEVICE_QUEUE_ITEM_SIZE",
5: "DEVICE_QUEUE_ITEM_FCNT",
6: "DATA_UP_FCNT_RETRANSMISSION",
7: "DATA_DOWN_GATEWAY",
}
View Source
var ErrorType_value = map[string]int32{
"GENERIC": 0,
"OTAA": 1,
"DATA_UP_FCNT_RESET": 2,
"DATA_UP_MIC": 3,
"DEVICE_QUEUE_ITEM_SIZE": 4,
"DEVICE_QUEUE_ITEM_FCNT": 5,
"DATA_UP_FCNT_RETRANSMISSION": 6,
"DATA_DOWN_GATEWAY": 7,
}
View Source
var HandleConnStateRequest_State_name = map[int32]string{
0: "OFFLINE",
1: "ONLINE",
}
View Source
var HandleConnStateRequest_State_value = map[string]int32{
"OFFLINE": 0,
"ONLINE": 1,
}
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 RegisterApplicationServerServiceServer ¶
func RegisterApplicationServerServiceServer(s *grpc.Server, srv ApplicationServerServiceServer)
Types ¶
type ApplicationServerServiceClient ¶
type ApplicationServerServiceClient interface { // HandleUplinkData handles uplink data received from an end-device. HandleUplinkData(ctx context.Context, in *HandleUplinkDataRequest, opts ...grpc.CallOption) (*empty.Empty, error) // HandleProprietaryUplink handles proprietary uplink payloads. HandleProprietaryUplink(ctx context.Context, in *HandleProprietaryUplinkRequest, opts ...grpc.CallOption) (*empty.Empty, error) // HandleError handles an error message. HandleError(ctx context.Context, in *HandleErrorRequest, opts ...grpc.CallOption) (*empty.Empty, error) // HandleDownlinkACK handles a downlink ACK or nACK response. HandleDownlinkACK(ctx context.Context, in *HandleDownlinkACKRequest, opts ...grpc.CallOption) (*empty.Empty, error) // HandleGatewayStats handles the given gateway stats. HandleGatewayStats(ctx context.Context, in *HandleGatewayStatsRequest, opts ...grpc.CallOption) (*empty.Empty, error) // HandleTXACK handles the TX acknowledgement. HandleTxAck(ctx context.Context, in *HandleTxAckRequest, opts ...grpc.CallOption) (*empty.Empty, error) // SetDeviceStatus updates the device-status for a device. SetDeviceStatus(ctx context.Context, in *SetDeviceStatusRequest, opts ...grpc.CallOption) (*empty.Empty, error) // SetDeviceLocation updates the device-location for a device. SetDeviceLocation(ctx context.Context, in *SetDeviceLocationRequest, opts ...grpc.CallOption) (*empty.Empty, error) // ReEncryptDeviceQueueItems requests the application-server to re-encrypt // the given payload items using the new parameters. This request is // for example triggered when the associated frame-counter of a downlink // payload will be used by a mac-layer only payload, e.g. when the NS has // mac-commands (or ACKs) to send to the device and combining this with // an application-layer payload would exceed the max. payload size. // Note there is no requirement that the number of returned items must be // equal to the number of requested items. ReEncryptDeviceQueueItems(ctx context.Context, in *ReEncryptDeviceQueueItemsRequest, opts ...grpc.CallOption) (*ReEncryptDeviceQueueItemsResponse, error) // HandleGatewayConnStats handles the connection state of a gateway. HandleGatewayConnStats(ctx context.Context, in *HandleConnStateRequest, opts ...grpc.CallOption) (*empty.Empty, error) }
ApplicationServerServiceClient is the client API for ApplicationServerService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewApplicationServerServiceClient ¶
func NewApplicationServerServiceClient(cc grpc.ClientConnInterface) ApplicationServerServiceClient
type ApplicationServerServiceServer ¶
type ApplicationServerServiceServer interface { // HandleUplinkData handles uplink data received from an end-device. HandleUplinkData(context.Context, *HandleUplinkDataRequest) (*empty.Empty, error) // HandleProprietaryUplink handles proprietary uplink payloads. HandleProprietaryUplink(context.Context, *HandleProprietaryUplinkRequest) (*empty.Empty, error) // HandleError handles an error message. HandleError(context.Context, *HandleErrorRequest) (*empty.Empty, error) // HandleDownlinkACK handles a downlink ACK or nACK response. HandleDownlinkACK(context.Context, *HandleDownlinkACKRequest) (*empty.Empty, error) // HandleGatewayStats handles the given gateway stats. HandleGatewayStats(context.Context, *HandleGatewayStatsRequest) (*empty.Empty, error) // HandleTXACK handles the TX acknowledgement. HandleTxAck(context.Context, *HandleTxAckRequest) (*empty.Empty, error) // SetDeviceStatus updates the device-status for a device. SetDeviceStatus(context.Context, *SetDeviceStatusRequest) (*empty.Empty, error) // SetDeviceLocation updates the device-location for a device. SetDeviceLocation(context.Context, *SetDeviceLocationRequest) (*empty.Empty, error) // ReEncryptDeviceQueueItems requests the application-server to re-encrypt // the given payload items using the new parameters. This request is // for example triggered when the associated frame-counter of a downlink // payload will be used by a mac-layer only payload, e.g. when the NS has // mac-commands (or ACKs) to send to the device and combining this with // an application-layer payload would exceed the max. payload size. // Note there is no requirement that the number of returned items must be // equal to the number of requested items. ReEncryptDeviceQueueItems(context.Context, *ReEncryptDeviceQueueItemsRequest) (*ReEncryptDeviceQueueItemsResponse, error) // HandleGatewayConnStats handles the connection state of a gateway. HandleGatewayConnStats(context.Context, *HandleConnStateRequest) (*empty.Empty, error) }
ApplicationServerServiceServer is the server API for ApplicationServerService service.
type DeviceActivationContext ¶
type DeviceActivationContext struct { // Assigned Device Address. DevAddr []byte `protobuf:"bytes,1,opt,name=dev_addr,json=devAddr,proto3" json:"dev_addr,omitempty"` // Application session key (envelope). AppSKey *common.KeyEnvelope `protobuf:"bytes,2,opt,name=app_s_key,json=appSKey,proto3" json:"app_s_key,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*DeviceActivationContext) Descriptor ¶
func (*DeviceActivationContext) Descriptor() ([]byte, []int)
func (*DeviceActivationContext) GetAppSKey ¶
func (m *DeviceActivationContext) GetAppSKey() *common.KeyEnvelope
func (*DeviceActivationContext) GetDevAddr ¶
func (m *DeviceActivationContext) GetDevAddr() []byte
func (*DeviceActivationContext) ProtoMessage ¶
func (*DeviceActivationContext) ProtoMessage()
func (*DeviceActivationContext) Reset ¶
func (m *DeviceActivationContext) Reset()
func (*DeviceActivationContext) String ¶
func (m *DeviceActivationContext) String() string
func (*DeviceActivationContext) XXX_DiscardUnknown ¶
func (m *DeviceActivationContext) XXX_DiscardUnknown()
func (*DeviceActivationContext) XXX_Marshal ¶
func (m *DeviceActivationContext) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DeviceActivationContext) XXX_Merge ¶
func (m *DeviceActivationContext) XXX_Merge(src proto.Message)
func (*DeviceActivationContext) XXX_Size ¶
func (m *DeviceActivationContext) XXX_Size() int
func (*DeviceActivationContext) XXX_Unmarshal ¶
func (m *DeviceActivationContext) XXX_Unmarshal(b []byte) error
type ErrorType ¶
type ErrorType int32
const ( // Generic error type. ErrorType_GENERIC ErrorType = 0 // OTAA error. ErrorType_OTAA ErrorType = 1 // Uplink frame-counter was reset. ErrorType_DATA_UP_FCNT_RESET ErrorType = 2 // Uplink MIC error. ErrorType_DATA_UP_MIC ErrorType = 3 // Downlink payload size error. ErrorType_DEVICE_QUEUE_ITEM_SIZE ErrorType = 4 // Downlink frame-counter error. ErrorType_DEVICE_QUEUE_ITEM_FCNT ErrorType = 5 // Uplink frame-counter retransmission. ErrorType_DATA_UP_FCNT_RETRANSMISSION ErrorType = 6 // Downlink gateway error. ErrorType_DATA_DOWN_GATEWAY ErrorType = 7 )
func (ErrorType) EnumDescriptor ¶
type HandleConnStateRequest ¶ added in v4.0.1
type HandleConnStateRequest struct { // Gateway ID. GatewayId []byte `protobuf:"bytes,1,opt,name=gateway_id,json=gatewayID,proto3" json:"gateway_id,omitempty"` // Stat contains Gateway connection status ONLINE/OFFLINE State gw.State `protobuf:"varint,2,opt,name=state,proto3,enum=gw.State" json:"state,omitempty"` // Stats ID (UUID). StatsId []byte `protobuf:"bytes,3,opt,name=stats_id,json=statsId,proto3" json:"stats_id,omitempty"` // MQTT Message Retained or not. IsRetained bool `protobuf:"varint,4,opt,name=is_retained,json=isRetained,proto3" json:"is_retained,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*HandleConnStateRequest) Descriptor ¶ added in v4.0.1
func (*HandleConnStateRequest) Descriptor() ([]byte, []int)
func (*HandleConnStateRequest) GetGatewayId ¶ added in v4.0.1
func (m *HandleConnStateRequest) GetGatewayId() []byte
func (*HandleConnStateRequest) GetIsRetained ¶ added in v4.0.1
func (m *HandleConnStateRequest) GetIsRetained() bool
func (*HandleConnStateRequest) GetState ¶ added in v4.0.1
func (m *HandleConnStateRequest) GetState() gw.State
func (*HandleConnStateRequest) GetStatsId ¶ added in v4.0.1
func (m *HandleConnStateRequest) GetStatsId() []byte
func (*HandleConnStateRequest) ProtoMessage ¶ added in v4.0.1
func (*HandleConnStateRequest) ProtoMessage()
func (*HandleConnStateRequest) Reset ¶ added in v4.0.1
func (m *HandleConnStateRequest) Reset()
func (*HandleConnStateRequest) String ¶ added in v4.0.1
func (m *HandleConnStateRequest) String() string
func (*HandleConnStateRequest) XXX_DiscardUnknown ¶ added in v4.0.1
func (m *HandleConnStateRequest) XXX_DiscardUnknown()
func (*HandleConnStateRequest) XXX_Marshal ¶ added in v4.0.1
func (m *HandleConnStateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*HandleConnStateRequest) XXX_Merge ¶ added in v4.0.1
func (m *HandleConnStateRequest) XXX_Merge(src proto.Message)
func (*HandleConnStateRequest) XXX_Size ¶ added in v4.0.1
func (m *HandleConnStateRequest) XXX_Size() int
func (*HandleConnStateRequest) XXX_Unmarshal ¶ added in v4.0.1
func (m *HandleConnStateRequest) XXX_Unmarshal(b []byte) error
type HandleConnStateRequest_State ¶ added in v4.0.1
type HandleConnStateRequest_State int32
const ( HandleConnStateRequest_OFFLINE HandleConnStateRequest_State = 0 HandleConnStateRequest_ONLINE HandleConnStateRequest_State = 1 )
func (HandleConnStateRequest_State) EnumDescriptor ¶ added in v4.0.1
func (HandleConnStateRequest_State) EnumDescriptor() ([]byte, []int)
func (HandleConnStateRequest_State) String ¶ added in v4.0.1
func (x HandleConnStateRequest_State) String() string
type HandleDownlinkACKRequest ¶
type HandleDownlinkACKRequest struct { // Device EUI (8 bytes). DevEui []byte `protobuf:"bytes,1,opt,name=dev_eui,json=devEui,proto3" json:"dev_eui,omitempty"` // Downlink frame-counter. FCnt uint32 `protobuf:"varint,2,opt,name=f_cnt,json=fCnt,proto3" json:"f_cnt,omitempty"` // Frame was acknowledged? Acknowledged bool `protobuf:"varint,3,opt,name=acknowledged,proto3" 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 (m *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 HandleErrorRequest ¶
type HandleErrorRequest struct { // Device EUI (8 bytes). DevEui []byte `protobuf:"bytes,1,opt,name=dev_eui,json=devEui,proto3" json:"dev_eui,omitempty"` // Type of the error. Type ErrorType `protobuf:"varint,3,opt,name=type,proto3,enum=as.ErrorType" json:"type,omitempty"` // Error string describing the error. Error string `protobuf:"bytes,4,opt,name=error,proto3" json:"error,omitempty"` // Frame-counter (if applicable) related to the error. FCnt uint32 `protobuf:"varint,5,opt,name=f_cnt,json=fCnt,proto3" json:"f_cnt,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 (m *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 HandleGatewayStatsRequest ¶
type HandleGatewayStatsRequest struct { // Gateway ID (8 bytes). GatewayId []byte `protobuf:"bytes,1,opt,name=gateway_id,json=gatewayId,proto3" json:"gateway_id,omitempty"` // Stats ID (UUID). StatsId []byte `protobuf:"bytes,2,opt,name=stats_id,json=statsId,proto3" json:"stats_id,omitempty"` // Timestamp. Time *timestamp.Timestamp `protobuf:"bytes,3,opt,name=time,proto3" json:"time,omitempty"` // Gateway location. Location *common.Location `protobuf:"bytes,4,opt,name=location,proto3" json:"location,omitempty"` // Uplink frames received. RxPacketsReceived uint32 `protobuf:"varint,5,opt,name=rx_packets_received,json=rxPacketsReceived,proto3" json:"rx_packets_received,omitempty"` // Uplink frames received OK. RxPacketsReceivedOk uint32 `protobuf:"varint,6,opt,name=rx_packets_received_ok,json=rxPacketsReceivedOk,proto3" json:"rx_packets_received_ok,omitempty"` // Downlink transmissions requested. TxPacketsReceived uint32 `protobuf:"varint,7,opt,name=tx_packets_received,json=txPacketsReceived,proto3" json:"tx_packets_received,omitempty"` // Downlink emitted. TxPacketsEmitted uint32 `protobuf:"varint,8,opt,name=tx_packets_emitted,json=txPacketsEmitted,proto3" json:"tx_packets_emitted,omitempty"` // Gateway metadata. Metadata map[string]string `` /* 157-byte string literal not displayed */ // Tx packets per frequency. TxPacketsPerFrequency map[uint32]uint32 `` /* 219-byte string literal not displayed */ // Rx packets per frequency. RxPacketsPerFrequency map[uint32]uint32 `` /* 219-byte string literal not displayed */ // Tx packets per DR. TxPacketsPerDr map[uint32]uint32 `` /* 198-byte string literal not displayed */ // Rx packets per DR. RxPacketsPerDr map[uint32]uint32 `` /* 198-byte string literal not displayed */ // Tx packets per status. TxPacketsPerStatus map[string]uint32 `` /* 209-byte string literal not displayed */ // Uplink Packet bytes count UpBytesCount int32 `protobuf:"varint,15,opt,name=up_bytes_count,json=upBytesCount,proto3" json:"up_bytes_count,omitempty"` // Downlink Packet bytes count DownBytesCount int32 `protobuf:"varint,16,opt,name=down_bytes_count,json=downBytesCount,proto3" json:"down_bytes_count,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*HandleGatewayStatsRequest) Descriptor ¶
func (*HandleGatewayStatsRequest) Descriptor() ([]byte, []int)
func (*HandleGatewayStatsRequest) GetDownBytesCount ¶ added in v4.0.5
func (m *HandleGatewayStatsRequest) GetDownBytesCount() int32
func (*HandleGatewayStatsRequest) GetGatewayId ¶
func (m *HandleGatewayStatsRequest) GetGatewayId() []byte
func (*HandleGatewayStatsRequest) GetLocation ¶
func (m *HandleGatewayStatsRequest) GetLocation() *common.Location
func (*HandleGatewayStatsRequest) GetMetadata ¶
func (m *HandleGatewayStatsRequest) GetMetadata() map[string]string
func (*HandleGatewayStatsRequest) GetRxPacketsPerDr ¶
func (m *HandleGatewayStatsRequest) GetRxPacketsPerDr() map[uint32]uint32
func (*HandleGatewayStatsRequest) GetRxPacketsPerFrequency ¶
func (m *HandleGatewayStatsRequest) GetRxPacketsPerFrequency() map[uint32]uint32
func (*HandleGatewayStatsRequest) GetRxPacketsReceived ¶
func (m *HandleGatewayStatsRequest) GetRxPacketsReceived() uint32
func (*HandleGatewayStatsRequest) GetRxPacketsReceivedOk ¶
func (m *HandleGatewayStatsRequest) GetRxPacketsReceivedOk() uint32
func (*HandleGatewayStatsRequest) GetStatsId ¶
func (m *HandleGatewayStatsRequest) GetStatsId() []byte
func (*HandleGatewayStatsRequest) GetTime ¶
func (m *HandleGatewayStatsRequest) GetTime() *timestamp.Timestamp
func (*HandleGatewayStatsRequest) GetTxPacketsEmitted ¶
func (m *HandleGatewayStatsRequest) GetTxPacketsEmitted() uint32
func (*HandleGatewayStatsRequest) GetTxPacketsPerDr ¶
func (m *HandleGatewayStatsRequest) GetTxPacketsPerDr() map[uint32]uint32
func (*HandleGatewayStatsRequest) GetTxPacketsPerFrequency ¶
func (m *HandleGatewayStatsRequest) GetTxPacketsPerFrequency() map[uint32]uint32
func (*HandleGatewayStatsRequest) GetTxPacketsPerStatus ¶
func (m *HandleGatewayStatsRequest) GetTxPacketsPerStatus() map[string]uint32
func (*HandleGatewayStatsRequest) GetTxPacketsReceived ¶
func (m *HandleGatewayStatsRequest) GetTxPacketsReceived() uint32
func (*HandleGatewayStatsRequest) GetUpBytesCount ¶ added in v4.0.5
func (m *HandleGatewayStatsRequest) GetUpBytesCount() int32
func (*HandleGatewayStatsRequest) ProtoMessage ¶
func (*HandleGatewayStatsRequest) ProtoMessage()
func (*HandleGatewayStatsRequest) Reset ¶
func (m *HandleGatewayStatsRequest) Reset()
func (*HandleGatewayStatsRequest) String ¶
func (m *HandleGatewayStatsRequest) String() string
func (*HandleGatewayStatsRequest) XXX_DiscardUnknown ¶
func (m *HandleGatewayStatsRequest) XXX_DiscardUnknown()
func (*HandleGatewayStatsRequest) XXX_Marshal ¶
func (m *HandleGatewayStatsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*HandleGatewayStatsRequest) XXX_Merge ¶
func (m *HandleGatewayStatsRequest) XXX_Merge(src proto.Message)
func (*HandleGatewayStatsRequest) XXX_Size ¶
func (m *HandleGatewayStatsRequest) XXX_Size() int
func (*HandleGatewayStatsRequest) XXX_Unmarshal ¶
func (m *HandleGatewayStatsRequest) XXX_Unmarshal(b []byte) error
type HandleProprietaryUplinkRequest ¶
type HandleProprietaryUplinkRequest struct { // MACPayload of the proprietary LoRaWAN frame. MacPayload []byte `protobuf:"bytes,1,opt,name=mac_payload,json=macPayload,proto3" json:"mac_payload,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 *gw.UplinkTXInfo `protobuf:"bytes,3,opt,name=tx_info,json=txInfo,proto3" json:"tx_info,omitempty"` // RXInfo contains the RX related meta-data. RxInfo []*gw.UplinkRXInfo `protobuf:"bytes,4,rep,name=rx_info,json=rxInfo,proto3" json:"rx_info,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() []*gw.UplinkRXInfo
func (*HandleProprietaryUplinkRequest) GetTxInfo ¶
func (m *HandleProprietaryUplinkRequest) GetTxInfo() *gw.UplinkTXInfo
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 (m *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 HandleTxAckRequest ¶
type HandleTxAckRequest struct { // Device EUI (8 bytes). DevEui []byte `protobuf:"bytes,1,opt,name=dev_eui,json=devEui,proto3" json:"dev_eui,omitempty"` // Downlink frame-counter. FCnt uint32 `protobuf:"varint,2,opt,name=f_cnt,json=fCnt,proto3" json:"f_cnt,omitempty"` // Gateway ID. GatewayId []byte `protobuf:"bytes,3,opt,name=gateway_id,json=gatewayId,proto3" json:"gateway_id,omitempty"` // TXInfo contains the TX related meta-data. TxInfo *gw.DownlinkTXInfo `protobuf:"bytes,4,opt,name=tx_info,json=txInfo,proto3" json:"tx_info,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*HandleTxAckRequest) Descriptor ¶
func (*HandleTxAckRequest) Descriptor() ([]byte, []int)
func (*HandleTxAckRequest) GetDevEui ¶
func (m *HandleTxAckRequest) GetDevEui() []byte
func (*HandleTxAckRequest) GetFCnt ¶
func (m *HandleTxAckRequest) GetFCnt() uint32
func (*HandleTxAckRequest) GetGatewayId ¶
func (m *HandleTxAckRequest) GetGatewayId() []byte
func (*HandleTxAckRequest) GetTxInfo ¶
func (m *HandleTxAckRequest) GetTxInfo() *gw.DownlinkTXInfo
func (*HandleTxAckRequest) ProtoMessage ¶
func (*HandleTxAckRequest) ProtoMessage()
func (*HandleTxAckRequest) Reset ¶
func (m *HandleTxAckRequest) Reset()
func (*HandleTxAckRequest) String ¶
func (m *HandleTxAckRequest) String() string
func (*HandleTxAckRequest) XXX_DiscardUnknown ¶
func (m *HandleTxAckRequest) XXX_DiscardUnknown()
func (*HandleTxAckRequest) XXX_Marshal ¶
func (m *HandleTxAckRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*HandleTxAckRequest) XXX_Merge ¶
func (m *HandleTxAckRequest) XXX_Merge(src proto.Message)
func (*HandleTxAckRequest) XXX_Size ¶
func (m *HandleTxAckRequest) XXX_Size() int
func (*HandleTxAckRequest) XXX_Unmarshal ¶
func (m *HandleTxAckRequest) XXX_Unmarshal(b []byte) error
type HandleUplinkDataRequest ¶
type HandleUplinkDataRequest struct { // DevEUI EUI (8 bytes). DevEui []byte `protobuf:"bytes,1,opt,name=dev_eui,json=devEui,proto3" json:"dev_eui,omitempty"` // Join EUI used for OTAA activation (8 bytes). JoinEui []byte `protobuf:"bytes,2,opt,name=join_eui,json=joinEui,proto3" json:"join_eui,omitempty"` // Frame-counter. FCnt uint32 `protobuf:"varint,3,opt,name=f_cnt,json=fCnt,proto3" json:"f_cnt,omitempty"` // Frame port. FPort uint32 `protobuf:"varint,4,opt,name=f_port,json=fPort,proto3" json:"f_port,omitempty"` // ADR enabled. Adr bool `protobuf:"varint,5,opt,name=adr,proto3" json:"adr,omitempty"` // Data-rate. Dr uint32 `protobuf:"varint,6,opt,name=dr,proto3" json:"dr,omitempty"` // TX meta-data. TxInfo *gw.UplinkTXInfo `protobuf:"bytes,7,opt,name=tx_info,json=txInfo,proto3" json:"tx_info,omitempty"` // RX meta-data. RxInfo []*gw.UplinkRXInfo `protobuf:"bytes,8,rep,name=rx_info,json=rxInfo,proto3" json:"rx_info,omitempty"` // Received data (encrypted). Data []byte `protobuf:"bytes,9,opt,name=data,proto3" json:"data,omitempty"` // Device activation context. // // This field is only set on the first uplink frame when the security // context has changed (e.g. a new OTAA (re)activation). DeviceActivationContext *DeviceActivationContext `` /* 133-byte string literal not displayed */ // Uplink was of type confirmed. ConfirmedUplink bool `protobuf:"varint,11,opt,name=confirmed_uplink,json=confirmedUplink,proto3" json:"confirmed_uplink,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*HandleUplinkDataRequest) Descriptor ¶
func (*HandleUplinkDataRequest) Descriptor() ([]byte, []int)
func (*HandleUplinkDataRequest) GetAdr ¶
func (m *HandleUplinkDataRequest) GetAdr() bool
func (*HandleUplinkDataRequest) GetConfirmedUplink ¶
func (m *HandleUplinkDataRequest) GetConfirmedUplink() bool
func (*HandleUplinkDataRequest) GetData ¶
func (m *HandleUplinkDataRequest) GetData() []byte
func (*HandleUplinkDataRequest) GetDevEui ¶
func (m *HandleUplinkDataRequest) GetDevEui() []byte
func (*HandleUplinkDataRequest) GetDeviceActivationContext ¶
func (m *HandleUplinkDataRequest) GetDeviceActivationContext() *DeviceActivationContext
func (*HandleUplinkDataRequest) GetDr ¶
func (m *HandleUplinkDataRequest) GetDr() uint32
func (*HandleUplinkDataRequest) GetFCnt ¶
func (m *HandleUplinkDataRequest) GetFCnt() uint32
func (*HandleUplinkDataRequest) GetFPort ¶
func (m *HandleUplinkDataRequest) GetFPort() uint32
func (*HandleUplinkDataRequest) GetJoinEui ¶
func (m *HandleUplinkDataRequest) GetJoinEui() []byte
func (*HandleUplinkDataRequest) GetRxInfo ¶
func (m *HandleUplinkDataRequest) GetRxInfo() []*gw.UplinkRXInfo
func (*HandleUplinkDataRequest) GetTxInfo ¶
func (m *HandleUplinkDataRequest) GetTxInfo() *gw.UplinkTXInfo
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 (m *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 ReEncryptDeviceQueueItem ¶
type ReEncryptDeviceQueueItem struct { // The encrypted FRMPayload bytes. FrmPayload []byte `protobuf:"bytes,1,opt,name=frm_payload,json=frmPayload,proto3" json:"frm_payload,omitempty"` // The original FCnt of the payload. FCnt uint32 `protobuf:"varint,2,opt,name=f_cnt,json=fCnt,proto3" json:"f_cnt,omitempty"` // The FPort of the payload. FPort uint32 `protobuf:"varint,3,opt,name=f_port,json=fPort,proto3" json:"f_port,omitempty"` // Payload is of type confirmed. Confirmed bool `protobuf:"varint,4,opt,name=confirmed,proto3" json:"confirmed,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ReEncryptDeviceQueueItem) Descriptor ¶
func (*ReEncryptDeviceQueueItem) Descriptor() ([]byte, []int)
func (*ReEncryptDeviceQueueItem) GetConfirmed ¶
func (m *ReEncryptDeviceQueueItem) GetConfirmed() bool
func (*ReEncryptDeviceQueueItem) GetFCnt ¶
func (m *ReEncryptDeviceQueueItem) GetFCnt() uint32
func (*ReEncryptDeviceQueueItem) GetFPort ¶
func (m *ReEncryptDeviceQueueItem) GetFPort() uint32
func (*ReEncryptDeviceQueueItem) GetFrmPayload ¶
func (m *ReEncryptDeviceQueueItem) GetFrmPayload() []byte
func (*ReEncryptDeviceQueueItem) ProtoMessage ¶
func (*ReEncryptDeviceQueueItem) ProtoMessage()
func (*ReEncryptDeviceQueueItem) Reset ¶
func (m *ReEncryptDeviceQueueItem) Reset()
func (*ReEncryptDeviceQueueItem) String ¶
func (m *ReEncryptDeviceQueueItem) String() string
func (*ReEncryptDeviceQueueItem) XXX_DiscardUnknown ¶
func (m *ReEncryptDeviceQueueItem) XXX_DiscardUnknown()
func (*ReEncryptDeviceQueueItem) XXX_Marshal ¶
func (m *ReEncryptDeviceQueueItem) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ReEncryptDeviceQueueItem) XXX_Merge ¶
func (m *ReEncryptDeviceQueueItem) XXX_Merge(src proto.Message)
func (*ReEncryptDeviceQueueItem) XXX_Size ¶
func (m *ReEncryptDeviceQueueItem) XXX_Size() int
func (*ReEncryptDeviceQueueItem) XXX_Unmarshal ¶
func (m *ReEncryptDeviceQueueItem) XXX_Unmarshal(b []byte) error
type ReEncryptDeviceQueueItemsRequest ¶
type ReEncryptDeviceQueueItemsRequest struct { // DevEUI of the device. DevEui []byte `protobuf:"bytes,1,opt,name=dev_eui,json=devEui,proto3" json:"dev_eui,omitempty"` // Device addres. // This is the device address which was used to encrypt the given // payloads. DevAddr []byte `protobuf:"bytes,2,opt,name=dev_addr,json=devAddr,proto3" json:"dev_addr,omitempty"` // Downlink frame-counter to start with. // The application-server must use this value when encrypting the first // item, and increment it for each successive item. FCntStart uint32 `protobuf:"varint,3,opt,name=f_cnt_start,json=fCntStart,proto3" json:"f_cnt_start,omitempty"` // Items to re-encrypt. Items []*ReEncryptDeviceQueueItem `protobuf:"bytes,4,rep,name=items,proto3" json:"items,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ReEncryptDeviceQueueItemsRequest) Descriptor ¶
func (*ReEncryptDeviceQueueItemsRequest) Descriptor() ([]byte, []int)
func (*ReEncryptDeviceQueueItemsRequest) GetDevAddr ¶
func (m *ReEncryptDeviceQueueItemsRequest) GetDevAddr() []byte
func (*ReEncryptDeviceQueueItemsRequest) GetDevEui ¶
func (m *ReEncryptDeviceQueueItemsRequest) GetDevEui() []byte
func (*ReEncryptDeviceQueueItemsRequest) GetFCntStart ¶
func (m *ReEncryptDeviceQueueItemsRequest) GetFCntStart() uint32
func (*ReEncryptDeviceQueueItemsRequest) GetItems ¶
func (m *ReEncryptDeviceQueueItemsRequest) GetItems() []*ReEncryptDeviceQueueItem
func (*ReEncryptDeviceQueueItemsRequest) ProtoMessage ¶
func (*ReEncryptDeviceQueueItemsRequest) ProtoMessage()
func (*ReEncryptDeviceQueueItemsRequest) Reset ¶
func (m *ReEncryptDeviceQueueItemsRequest) Reset()
func (*ReEncryptDeviceQueueItemsRequest) String ¶
func (m *ReEncryptDeviceQueueItemsRequest) String() string
func (*ReEncryptDeviceQueueItemsRequest) XXX_DiscardUnknown ¶
func (m *ReEncryptDeviceQueueItemsRequest) XXX_DiscardUnknown()
func (*ReEncryptDeviceQueueItemsRequest) XXX_Marshal ¶
func (m *ReEncryptDeviceQueueItemsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ReEncryptDeviceQueueItemsRequest) XXX_Merge ¶
func (m *ReEncryptDeviceQueueItemsRequest) XXX_Merge(src proto.Message)
func (*ReEncryptDeviceQueueItemsRequest) XXX_Size ¶
func (m *ReEncryptDeviceQueueItemsRequest) XXX_Size() int
func (*ReEncryptDeviceQueueItemsRequest) XXX_Unmarshal ¶
func (m *ReEncryptDeviceQueueItemsRequest) XXX_Unmarshal(b []byte) error
type ReEncryptDeviceQueueItemsResponse ¶
type ReEncryptDeviceQueueItemsResponse struct { Items []*ReEncryptedDeviceQueueItem `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ReEncryptDeviceQueueItemsResponse) Descriptor ¶
func (*ReEncryptDeviceQueueItemsResponse) Descriptor() ([]byte, []int)
func (*ReEncryptDeviceQueueItemsResponse) GetItems ¶
func (m *ReEncryptDeviceQueueItemsResponse) GetItems() []*ReEncryptedDeviceQueueItem
func (*ReEncryptDeviceQueueItemsResponse) ProtoMessage ¶
func (*ReEncryptDeviceQueueItemsResponse) ProtoMessage()
func (*ReEncryptDeviceQueueItemsResponse) Reset ¶
func (m *ReEncryptDeviceQueueItemsResponse) Reset()
func (*ReEncryptDeviceQueueItemsResponse) String ¶
func (m *ReEncryptDeviceQueueItemsResponse) String() string
func (*ReEncryptDeviceQueueItemsResponse) XXX_DiscardUnknown ¶
func (m *ReEncryptDeviceQueueItemsResponse) XXX_DiscardUnknown()
func (*ReEncryptDeviceQueueItemsResponse) XXX_Marshal ¶
func (m *ReEncryptDeviceQueueItemsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ReEncryptDeviceQueueItemsResponse) XXX_Merge ¶
func (m *ReEncryptDeviceQueueItemsResponse) XXX_Merge(src proto.Message)
func (*ReEncryptDeviceQueueItemsResponse) XXX_Size ¶
func (m *ReEncryptDeviceQueueItemsResponse) XXX_Size() int
func (*ReEncryptDeviceQueueItemsResponse) XXX_Unmarshal ¶
func (m *ReEncryptDeviceQueueItemsResponse) XXX_Unmarshal(b []byte) error
type ReEncryptedDeviceQueueItem ¶
type ReEncryptedDeviceQueueItem struct { // The re-encrypted FRMPayload bytes. FrmPayload []byte `protobuf:"bytes,1,opt,name=frm_payload,json=frmPayload,proto3" json:"frm_payload,omitempty"` // The new FCnt of the payload. FCnt uint32 `protobuf:"varint,2,opt,name=f_cnt,json=fCnt,proto3" json:"f_cnt,omitempty"` // The FPort of the payload. FPort uint32 `protobuf:"varint,3,opt,name=f_port,json=fPort,proto3" json:"f_port,omitempty"` // Payload is of type confirmed. Confirmed bool `protobuf:"varint,4,opt,name=confirmed,proto3" json:"confirmed,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ReEncryptedDeviceQueueItem) Descriptor ¶
func (*ReEncryptedDeviceQueueItem) Descriptor() ([]byte, []int)
func (*ReEncryptedDeviceQueueItem) GetConfirmed ¶
func (m *ReEncryptedDeviceQueueItem) GetConfirmed() bool
func (*ReEncryptedDeviceQueueItem) GetFCnt ¶
func (m *ReEncryptedDeviceQueueItem) GetFCnt() uint32
func (*ReEncryptedDeviceQueueItem) GetFPort ¶
func (m *ReEncryptedDeviceQueueItem) GetFPort() uint32
func (*ReEncryptedDeviceQueueItem) GetFrmPayload ¶
func (m *ReEncryptedDeviceQueueItem) GetFrmPayload() []byte
func (*ReEncryptedDeviceQueueItem) ProtoMessage ¶
func (*ReEncryptedDeviceQueueItem) ProtoMessage()
func (*ReEncryptedDeviceQueueItem) Reset ¶
func (m *ReEncryptedDeviceQueueItem) Reset()
func (*ReEncryptedDeviceQueueItem) String ¶
func (m *ReEncryptedDeviceQueueItem) String() string
func (*ReEncryptedDeviceQueueItem) XXX_DiscardUnknown ¶
func (m *ReEncryptedDeviceQueueItem) XXX_DiscardUnknown()
func (*ReEncryptedDeviceQueueItem) XXX_Marshal ¶
func (m *ReEncryptedDeviceQueueItem) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ReEncryptedDeviceQueueItem) XXX_Merge ¶
func (m *ReEncryptedDeviceQueueItem) XXX_Merge(src proto.Message)
func (*ReEncryptedDeviceQueueItem) XXX_Size ¶
func (m *ReEncryptedDeviceQueueItem) XXX_Size() int
func (*ReEncryptedDeviceQueueItem) XXX_Unmarshal ¶
func (m *ReEncryptedDeviceQueueItem) XXX_Unmarshal(b []byte) error
type SetDeviceLocationRequest ¶
type SetDeviceLocationRequest struct { // Device EUI (8 bytes). DevEui []byte `protobuf:"bytes,1,opt,name=dev_eui,json=devEui,proto3" json:"dev_eui,omitempty"` // The location of the device. Location *common.Location `protobuf:"bytes,2,opt,name=location,proto3" json:"location,omitempty"` // Uplink IDs used for geolocation. UplinkIds [][]byte `protobuf:"bytes,3,rep,name=uplink_ids,json=uplinkIds,proto3" json:"uplink_ids,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*SetDeviceLocationRequest) Descriptor ¶
func (*SetDeviceLocationRequest) Descriptor() ([]byte, []int)
func (*SetDeviceLocationRequest) GetDevEui ¶
func (m *SetDeviceLocationRequest) GetDevEui() []byte
func (*SetDeviceLocationRequest) GetLocation ¶
func (m *SetDeviceLocationRequest) GetLocation() *common.Location
func (*SetDeviceLocationRequest) GetUplinkIds ¶
func (m *SetDeviceLocationRequest) GetUplinkIds() [][]byte
func (*SetDeviceLocationRequest) ProtoMessage ¶
func (*SetDeviceLocationRequest) ProtoMessage()
func (*SetDeviceLocationRequest) Reset ¶
func (m *SetDeviceLocationRequest) Reset()
func (*SetDeviceLocationRequest) String ¶
func (m *SetDeviceLocationRequest) String() string
func (*SetDeviceLocationRequest) XXX_DiscardUnknown ¶
func (m *SetDeviceLocationRequest) XXX_DiscardUnknown()
func (*SetDeviceLocationRequest) XXX_Marshal ¶
func (m *SetDeviceLocationRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SetDeviceLocationRequest) XXX_Merge ¶
func (m *SetDeviceLocationRequest) XXX_Merge(src proto.Message)
func (*SetDeviceLocationRequest) XXX_Size ¶
func (m *SetDeviceLocationRequest) XXX_Size() int
func (*SetDeviceLocationRequest) XXX_Unmarshal ¶
func (m *SetDeviceLocationRequest) XXX_Unmarshal(b []byte) error
type SetDeviceStatusRequest ¶
type SetDeviceStatusRequest struct { // Device EUI (8 bytes). DevEui []byte `protobuf:"bytes,1,opt,name=dev_eui,json=devEui,proto3" json:"dev_eui,omitempty"` // Battery level (deprecated, use battery_level). // 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 Battery uint32 `protobuf:"varint,2,opt,name=battery,proto3" json:"battery,omitempty"` // The device margin status // -32..32: The demodulation SNR ration in dB Margin int32 `protobuf:"varint,3,opt,name=margin,proto3" json:"margin,omitempty"` // Device is connected to an external power source. ExternalPowerSource bool `protobuf:"varint,4,opt,name=external_power_source,json=externalPowerSource,proto3" json:"external_power_source,omitempty"` BatteryLevelUnavailable bool `` /* 133-byte string literal not displayed */ // Battery level as a percentage. BatteryLevel float32 `protobuf:"fixed32,6,opt,name=battery_level,json=batteryLevel,proto3" json:"battery_level,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*SetDeviceStatusRequest) Descriptor ¶
func (*SetDeviceStatusRequest) Descriptor() ([]byte, []int)
func (*SetDeviceStatusRequest) GetBattery ¶
func (m *SetDeviceStatusRequest) GetBattery() uint32
func (*SetDeviceStatusRequest) GetBatteryLevel ¶
func (m *SetDeviceStatusRequest) GetBatteryLevel() float32
func (*SetDeviceStatusRequest) GetBatteryLevelUnavailable ¶
func (m *SetDeviceStatusRequest) GetBatteryLevelUnavailable() bool
func (*SetDeviceStatusRequest) GetDevEui ¶
func (m *SetDeviceStatusRequest) GetDevEui() []byte
func (*SetDeviceStatusRequest) GetExternalPowerSource ¶
func (m *SetDeviceStatusRequest) GetExternalPowerSource() bool
func (*SetDeviceStatusRequest) GetMargin ¶
func (m *SetDeviceStatusRequest) GetMargin() int32
func (*SetDeviceStatusRequest) ProtoMessage ¶
func (*SetDeviceStatusRequest) ProtoMessage()
func (*SetDeviceStatusRequest) Reset ¶
func (m *SetDeviceStatusRequest) Reset()
func (*SetDeviceStatusRequest) String ¶
func (m *SetDeviceStatusRequest) String() string
func (*SetDeviceStatusRequest) XXX_DiscardUnknown ¶
func (m *SetDeviceStatusRequest) XXX_DiscardUnknown()
func (*SetDeviceStatusRequest) XXX_Marshal ¶
func (m *SetDeviceStatusRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SetDeviceStatusRequest) XXX_Merge ¶
func (m *SetDeviceStatusRequest) XXX_Merge(src proto.Message)
func (*SetDeviceStatusRequest) XXX_Size ¶
func (m *SetDeviceStatusRequest) XXX_Size() int
func (*SetDeviceStatusRequest) XXX_Unmarshal ¶
func (m *SetDeviceStatusRequest) XXX_Unmarshal(b []byte) error
type UnimplementedApplicationServerServiceServer ¶
type UnimplementedApplicationServerServiceServer struct { }
UnimplementedApplicationServerServiceServer can be embedded to have forward compatible implementations.
func (*UnimplementedApplicationServerServiceServer) HandleDownlinkACK ¶
func (*UnimplementedApplicationServerServiceServer) HandleDownlinkACK(ctx context.Context, req *HandleDownlinkACKRequest) (*empty.Empty, error)
func (*UnimplementedApplicationServerServiceServer) HandleError ¶
func (*UnimplementedApplicationServerServiceServer) HandleError(ctx context.Context, req *HandleErrorRequest) (*empty.Empty, error)
func (*UnimplementedApplicationServerServiceServer) HandleGatewayConnStats ¶ added in v4.0.1
func (*UnimplementedApplicationServerServiceServer) HandleGatewayConnStats(ctx context.Context, req *HandleConnStateRequest) (*empty.Empty, error)
func (*UnimplementedApplicationServerServiceServer) HandleGatewayStats ¶
func (*UnimplementedApplicationServerServiceServer) HandleGatewayStats(ctx context.Context, req *HandleGatewayStatsRequest) (*empty.Empty, error)
func (*UnimplementedApplicationServerServiceServer) HandleProprietaryUplink ¶
func (*UnimplementedApplicationServerServiceServer) HandleProprietaryUplink(ctx context.Context, req *HandleProprietaryUplinkRequest) (*empty.Empty, error)
func (*UnimplementedApplicationServerServiceServer) HandleTxAck ¶
func (*UnimplementedApplicationServerServiceServer) HandleTxAck(ctx context.Context, req *HandleTxAckRequest) (*empty.Empty, error)
func (*UnimplementedApplicationServerServiceServer) HandleUplinkData ¶
func (*UnimplementedApplicationServerServiceServer) HandleUplinkData(ctx context.Context, req *HandleUplinkDataRequest) (*empty.Empty, error)
func (*UnimplementedApplicationServerServiceServer) ReEncryptDeviceQueueItems ¶
func (*UnimplementedApplicationServerServiceServer) ReEncryptDeviceQueueItems(ctx context.Context, req *ReEncryptDeviceQueueItemsRequest) (*ReEncryptDeviceQueueItemsResponse, error)
func (*UnimplementedApplicationServerServiceServer) SetDeviceLocation ¶
func (*UnimplementedApplicationServerServiceServer) SetDeviceLocation(ctx context.Context, req *SetDeviceLocationRequest) (*empty.Empty, error)
func (*UnimplementedApplicationServerServiceServer) SetDeviceStatus ¶
func (*UnimplementedApplicationServerServiceServer) SetDeviceStatus(ctx context.Context, req *SetDeviceStatusRequest) (*empty.Empty, error)
Click to show internal directories.
Click to hide internal directories.