Documentation ¶
Index ¶
- Variables
- func RegisterApplicationServerServiceServer(s *grpc.Server, srv ApplicationServerServiceServer)
- type ApplicationServerServiceClient
- type ApplicationServerServiceServer
- type DeviceActivationContext
- func (*DeviceActivationContext) Descriptor() ([]byte, []int)deprecated
- func (x *DeviceActivationContext) GetAppSKey() *common.KeyEnvelope
- func (x *DeviceActivationContext) GetDevAddr() []byte
- func (*DeviceActivationContext) ProtoMessage()
- func (x *DeviceActivationContext) ProtoReflect() protoreflect.Message
- func (x *DeviceActivationContext) Reset()
- func (x *DeviceActivationContext) String() string
- type ErrorType
- type HandleDownlinkACKRequest
- func (*HandleDownlinkACKRequest) Descriptor() ([]byte, []int)deprecated
- func (x *HandleDownlinkACKRequest) GetAcknowledged() bool
- func (x *HandleDownlinkACKRequest) GetDevEui() []byte
- func (x *HandleDownlinkACKRequest) GetFCnt() uint32
- func (*HandleDownlinkACKRequest) ProtoMessage()
- func (x *HandleDownlinkACKRequest) ProtoReflect() protoreflect.Message
- func (x *HandleDownlinkACKRequest) Reset()
- func (x *HandleDownlinkACKRequest) String() string
- type HandleErrorRequest
- func (*HandleErrorRequest) Descriptor() ([]byte, []int)deprecated
- func (x *HandleErrorRequest) GetDevEui() []byte
- func (x *HandleErrorRequest) GetError() string
- func (x *HandleErrorRequest) GetFCnt() uint32
- func (x *HandleErrorRequest) GetType() ErrorType
- func (*HandleErrorRequest) ProtoMessage()
- func (x *HandleErrorRequest) ProtoReflect() protoreflect.Message
- func (x *HandleErrorRequest) Reset()
- func (x *HandleErrorRequest) String() string
- type HandleGatewayStatsRequest
- func (*HandleGatewayStatsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *HandleGatewayStatsRequest) GetGatewayId() []byte
- func (x *HandleGatewayStatsRequest) GetLocation() *common.Location
- func (x *HandleGatewayStatsRequest) GetMetadata() map[string]string
- func (x *HandleGatewayStatsRequest) GetRxPacketsPerDr() map[uint32]uint32
- func (x *HandleGatewayStatsRequest) GetRxPacketsPerFrequency() map[uint32]uint32
- func (x *HandleGatewayStatsRequest) GetRxPacketsReceived() uint32
- func (x *HandleGatewayStatsRequest) GetRxPacketsReceivedOk() uint32
- func (x *HandleGatewayStatsRequest) GetStatsId() []byte
- func (x *HandleGatewayStatsRequest) GetTime() *timestamp.Timestamp
- func (x *HandleGatewayStatsRequest) GetTxPacketsEmitted() uint32
- func (x *HandleGatewayStatsRequest) GetTxPacketsPerDr() map[uint32]uint32
- func (x *HandleGatewayStatsRequest) GetTxPacketsPerFrequency() map[uint32]uint32
- func (x *HandleGatewayStatsRequest) GetTxPacketsPerStatus() map[string]uint32
- func (x *HandleGatewayStatsRequest) GetTxPacketsReceived() uint32
- func (*HandleGatewayStatsRequest) ProtoMessage()
- func (x *HandleGatewayStatsRequest) ProtoReflect() protoreflect.Message
- func (x *HandleGatewayStatsRequest) Reset()
- func (x *HandleGatewayStatsRequest) String() string
- type HandleProprietaryUplinkRequest
- func (*HandleProprietaryUplinkRequest) Descriptor() ([]byte, []int)deprecated
- func (x *HandleProprietaryUplinkRequest) GetMacPayload() []byte
- func (x *HandleProprietaryUplinkRequest) GetMic() []byte
- func (x *HandleProprietaryUplinkRequest) GetRxInfo() []*gw.UplinkRXInfo
- func (x *HandleProprietaryUplinkRequest) GetTxInfo() *gw.UplinkTXInfo
- func (*HandleProprietaryUplinkRequest) ProtoMessage()
- func (x *HandleProprietaryUplinkRequest) ProtoReflect() protoreflect.Message
- func (x *HandleProprietaryUplinkRequest) Reset()
- func (x *HandleProprietaryUplinkRequest) String() string
- type HandleTxAckRequest
- func (*HandleTxAckRequest) Descriptor() ([]byte, []int)deprecated
- func (x *HandleTxAckRequest) GetDevEui() []byte
- func (x *HandleTxAckRequest) GetFCnt() uint32
- func (x *HandleTxAckRequest) GetGatewayId() []byte
- func (x *HandleTxAckRequest) GetTxInfo() *gw.DownlinkTXInfo
- func (*HandleTxAckRequest) ProtoMessage()
- func (x *HandleTxAckRequest) ProtoReflect() protoreflect.Message
- func (x *HandleTxAckRequest) Reset()
- func (x *HandleTxAckRequest) String() string
- type HandleUplinkDataRequest
- func (*HandleUplinkDataRequest) Descriptor() ([]byte, []int)deprecated
- func (x *HandleUplinkDataRequest) GetAdr() bool
- func (x *HandleUplinkDataRequest) GetConfirmedUplink() bool
- func (x *HandleUplinkDataRequest) GetData() []byte
- func (x *HandleUplinkDataRequest) GetDevEui() []byte
- func (x *HandleUplinkDataRequest) GetDeviceActivationContext() *DeviceActivationContext
- func (x *HandleUplinkDataRequest) GetDr() uint32
- func (x *HandleUplinkDataRequest) GetFCnt() uint32
- func (x *HandleUplinkDataRequest) GetFPort() uint32
- func (x *HandleUplinkDataRequest) GetJoinEui() []byte
- func (x *HandleUplinkDataRequest) GetRxInfo() []*gw.UplinkRXInfo
- func (x *HandleUplinkDataRequest) GetTxInfo() *gw.UplinkTXInfo
- func (*HandleUplinkDataRequest) ProtoMessage()
- func (x *HandleUplinkDataRequest) ProtoReflect() protoreflect.Message
- func (x *HandleUplinkDataRequest) Reset()
- func (x *HandleUplinkDataRequest) String() string
- type RXWindow
- type ReEncryptDeviceQueueItem
- func (*ReEncryptDeviceQueueItem) Descriptor() ([]byte, []int)deprecated
- func (x *ReEncryptDeviceQueueItem) GetConfirmed() bool
- func (x *ReEncryptDeviceQueueItem) GetFCnt() uint32
- func (x *ReEncryptDeviceQueueItem) GetFPort() uint32
- func (x *ReEncryptDeviceQueueItem) GetFrmPayload() []byte
- func (*ReEncryptDeviceQueueItem) ProtoMessage()
- func (x *ReEncryptDeviceQueueItem) ProtoReflect() protoreflect.Message
- func (x *ReEncryptDeviceQueueItem) Reset()
- func (x *ReEncryptDeviceQueueItem) String() string
- type ReEncryptDeviceQueueItemsRequest
- func (*ReEncryptDeviceQueueItemsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ReEncryptDeviceQueueItemsRequest) GetDevAddr() []byte
- func (x *ReEncryptDeviceQueueItemsRequest) GetDevEui() []byte
- func (x *ReEncryptDeviceQueueItemsRequest) GetFCntStart() uint32
- func (x *ReEncryptDeviceQueueItemsRequest) GetItems() []*ReEncryptDeviceQueueItem
- func (*ReEncryptDeviceQueueItemsRequest) ProtoMessage()
- func (x *ReEncryptDeviceQueueItemsRequest) ProtoReflect() protoreflect.Message
- func (x *ReEncryptDeviceQueueItemsRequest) Reset()
- func (x *ReEncryptDeviceQueueItemsRequest) String() string
- type ReEncryptDeviceQueueItemsResponse
- func (*ReEncryptDeviceQueueItemsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ReEncryptDeviceQueueItemsResponse) GetItems() []*ReEncryptedDeviceQueueItem
- func (*ReEncryptDeviceQueueItemsResponse) ProtoMessage()
- func (x *ReEncryptDeviceQueueItemsResponse) ProtoReflect() protoreflect.Message
- func (x *ReEncryptDeviceQueueItemsResponse) Reset()
- func (x *ReEncryptDeviceQueueItemsResponse) String() string
- type ReEncryptedDeviceQueueItem
- func (*ReEncryptedDeviceQueueItem) Descriptor() ([]byte, []int)deprecated
- func (x *ReEncryptedDeviceQueueItem) GetConfirmed() bool
- func (x *ReEncryptedDeviceQueueItem) GetFCnt() uint32
- func (x *ReEncryptedDeviceQueueItem) GetFPort() uint32
- func (x *ReEncryptedDeviceQueueItem) GetFrmPayload() []byte
- func (*ReEncryptedDeviceQueueItem) ProtoMessage()
- func (x *ReEncryptedDeviceQueueItem) ProtoReflect() protoreflect.Message
- func (x *ReEncryptedDeviceQueueItem) Reset()
- func (x *ReEncryptedDeviceQueueItem) String() string
- type SetDeviceLocationRequest
- func (*SetDeviceLocationRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SetDeviceLocationRequest) GetDevEui() []byte
- func (x *SetDeviceLocationRequest) GetLocation() *common.Location
- func (x *SetDeviceLocationRequest) GetUplinkIds() [][]byte
- func (*SetDeviceLocationRequest) ProtoMessage()
- func (x *SetDeviceLocationRequest) ProtoReflect() protoreflect.Message
- func (x *SetDeviceLocationRequest) Reset()
- func (x *SetDeviceLocationRequest) String() string
- type SetDeviceStatusRequest
- func (*SetDeviceStatusRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SetDeviceStatusRequest) GetBattery() uint32
- func (x *SetDeviceStatusRequest) GetBatteryLevel() float32
- func (x *SetDeviceStatusRequest) GetBatteryLevelUnavailable() bool
- func (x *SetDeviceStatusRequest) GetDevEui() []byte
- func (x *SetDeviceStatusRequest) GetExternalPowerSource() bool
- func (x *SetDeviceStatusRequest) GetMargin() int32
- func (*SetDeviceStatusRequest) ProtoMessage()
- func (x *SetDeviceStatusRequest) ProtoReflect() protoreflect.Message
- func (x *SetDeviceStatusRequest) Reset()
- func (x *SetDeviceStatusRequest) String() string
- type UnimplementedApplicationServerServiceServer
- func (*UnimplementedApplicationServerServiceServer) HandleDownlinkACK(context.Context, *HandleDownlinkACKRequest) (*empty.Empty, error)
- func (*UnimplementedApplicationServerServiceServer) HandleError(context.Context, *HandleErrorRequest) (*empty.Empty, error)
- func (*UnimplementedApplicationServerServiceServer) HandleGatewayStats(context.Context, *HandleGatewayStatsRequest) (*empty.Empty, error)
- func (*UnimplementedApplicationServerServiceServer) HandleProprietaryUplink(context.Context, *HandleProprietaryUplinkRequest) (*empty.Empty, error)
- func (*UnimplementedApplicationServerServiceServer) HandleTxAck(context.Context, *HandleTxAckRequest) (*empty.Empty, error)
- func (*UnimplementedApplicationServerServiceServer) HandleUplinkData(context.Context, *HandleUplinkDataRequest) (*empty.Empty, error)
- func (*UnimplementedApplicationServerServiceServer) ReEncryptDeviceQueueItems(context.Context, *ReEncryptDeviceQueueItemsRequest) (*ReEncryptDeviceQueueItemsResponse, error)
- func (*UnimplementedApplicationServerServiceServer) SetDeviceLocation(context.Context, *SetDeviceLocationRequest) (*empty.Empty, error)
- func (*UnimplementedApplicationServerServiceServer) SetDeviceStatus(context.Context, *SetDeviceStatusRequest) (*empty.Empty, error)
Constants ¶
This section is empty.
Variables ¶
var ( RXWindow_name = map[int32]string{ 0: "RX1", 1: "RX2", } RXWindow_value = map[string]int32{ "RX1": 0, "RX2": 1, } )
Enum value maps for RXWindow.
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", } 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, } )
Enum value maps for ErrorType.
var File_as_as_proto protoreflect.FileDescriptor
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) }
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) }
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"` // contains filtered or unexported fields }
func (*DeviceActivationContext) Descriptor
deprecated
func (*DeviceActivationContext) Descriptor() ([]byte, []int)
Deprecated: Use DeviceActivationContext.ProtoReflect.Descriptor instead.
func (*DeviceActivationContext) GetAppSKey ¶
func (x *DeviceActivationContext) GetAppSKey() *common.KeyEnvelope
func (*DeviceActivationContext) GetDevAddr ¶
func (x *DeviceActivationContext) GetDevAddr() []byte
func (*DeviceActivationContext) ProtoMessage ¶
func (*DeviceActivationContext) ProtoMessage()
func (*DeviceActivationContext) ProtoReflect ¶ added in v3.10.2
func (x *DeviceActivationContext) ProtoReflect() protoreflect.Message
func (*DeviceActivationContext) Reset ¶
func (x *DeviceActivationContext) Reset()
func (*DeviceActivationContext) String ¶
func (x *DeviceActivationContext) String() string
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) Descriptor ¶ added in v3.10.2
func (ErrorType) Descriptor() protoreflect.EnumDescriptor
func (ErrorType) EnumDescriptor
deprecated
func (ErrorType) Number ¶ added in v3.10.2
func (x ErrorType) Number() protoreflect.EnumNumber
func (ErrorType) Type ¶ added in v3.10.2
func (ErrorType) Type() protoreflect.EnumType
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"` // contains filtered or unexported fields }
func (*HandleDownlinkACKRequest) Descriptor
deprecated
func (*HandleDownlinkACKRequest) Descriptor() ([]byte, []int)
Deprecated: Use HandleDownlinkACKRequest.ProtoReflect.Descriptor instead.
func (*HandleDownlinkACKRequest) GetAcknowledged ¶
func (x *HandleDownlinkACKRequest) GetAcknowledged() bool
func (*HandleDownlinkACKRequest) GetDevEui ¶
func (x *HandleDownlinkACKRequest) GetDevEui() []byte
func (*HandleDownlinkACKRequest) GetFCnt ¶
func (x *HandleDownlinkACKRequest) GetFCnt() uint32
func (*HandleDownlinkACKRequest) ProtoMessage ¶
func (*HandleDownlinkACKRequest) ProtoMessage()
func (*HandleDownlinkACKRequest) ProtoReflect ¶ added in v3.10.2
func (x *HandleDownlinkACKRequest) ProtoReflect() protoreflect.Message
func (*HandleDownlinkACKRequest) Reset ¶
func (x *HandleDownlinkACKRequest) Reset()
func (*HandleDownlinkACKRequest) String ¶
func (x *HandleDownlinkACKRequest) String() string
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"` // contains filtered or unexported fields }
func (*HandleErrorRequest) Descriptor
deprecated
func (*HandleErrorRequest) Descriptor() ([]byte, []int)
Deprecated: Use HandleErrorRequest.ProtoReflect.Descriptor instead.
func (*HandleErrorRequest) GetDevEui ¶
func (x *HandleErrorRequest) GetDevEui() []byte
func (*HandleErrorRequest) GetError ¶
func (x *HandleErrorRequest) GetError() string
func (*HandleErrorRequest) GetFCnt ¶
func (x *HandleErrorRequest) GetFCnt() uint32
func (*HandleErrorRequest) GetType ¶
func (x *HandleErrorRequest) GetType() ErrorType
func (*HandleErrorRequest) ProtoMessage ¶
func (*HandleErrorRequest) ProtoMessage()
func (*HandleErrorRequest) ProtoReflect ¶ added in v3.10.2
func (x *HandleErrorRequest) ProtoReflect() protoreflect.Message
func (*HandleErrorRequest) Reset ¶
func (x *HandleErrorRequest) Reset()
func (*HandleErrorRequest) String ¶
func (x *HandleErrorRequest) String() string
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 */ // contains filtered or unexported fields }
func (*HandleGatewayStatsRequest) Descriptor
deprecated
func (*HandleGatewayStatsRequest) Descriptor() ([]byte, []int)
Deprecated: Use HandleGatewayStatsRequest.ProtoReflect.Descriptor instead.
func (*HandleGatewayStatsRequest) GetGatewayId ¶
func (x *HandleGatewayStatsRequest) GetGatewayId() []byte
func (*HandleGatewayStatsRequest) GetLocation ¶
func (x *HandleGatewayStatsRequest) GetLocation() *common.Location
func (*HandleGatewayStatsRequest) GetMetadata ¶
func (x *HandleGatewayStatsRequest) GetMetadata() map[string]string
func (*HandleGatewayStatsRequest) GetRxPacketsPerDr ¶
func (x *HandleGatewayStatsRequest) GetRxPacketsPerDr() map[uint32]uint32
func (*HandleGatewayStatsRequest) GetRxPacketsPerFrequency ¶
func (x *HandleGatewayStatsRequest) GetRxPacketsPerFrequency() map[uint32]uint32
func (*HandleGatewayStatsRequest) GetRxPacketsReceived ¶
func (x *HandleGatewayStatsRequest) GetRxPacketsReceived() uint32
func (*HandleGatewayStatsRequest) GetRxPacketsReceivedOk ¶
func (x *HandleGatewayStatsRequest) GetRxPacketsReceivedOk() uint32
func (*HandleGatewayStatsRequest) GetStatsId ¶
func (x *HandleGatewayStatsRequest) GetStatsId() []byte
func (*HandleGatewayStatsRequest) GetTime ¶
func (x *HandleGatewayStatsRequest) GetTime() *timestamp.Timestamp
func (*HandleGatewayStatsRequest) GetTxPacketsEmitted ¶
func (x *HandleGatewayStatsRequest) GetTxPacketsEmitted() uint32
func (*HandleGatewayStatsRequest) GetTxPacketsPerDr ¶
func (x *HandleGatewayStatsRequest) GetTxPacketsPerDr() map[uint32]uint32
func (*HandleGatewayStatsRequest) GetTxPacketsPerFrequency ¶
func (x *HandleGatewayStatsRequest) GetTxPacketsPerFrequency() map[uint32]uint32
func (*HandleGatewayStatsRequest) GetTxPacketsPerStatus ¶
func (x *HandleGatewayStatsRequest) GetTxPacketsPerStatus() map[string]uint32
func (*HandleGatewayStatsRequest) GetTxPacketsReceived ¶
func (x *HandleGatewayStatsRequest) GetTxPacketsReceived() uint32
func (*HandleGatewayStatsRequest) ProtoMessage ¶
func (*HandleGatewayStatsRequest) ProtoMessage()
func (*HandleGatewayStatsRequest) ProtoReflect ¶ added in v3.10.2
func (x *HandleGatewayStatsRequest) ProtoReflect() protoreflect.Message
func (*HandleGatewayStatsRequest) Reset ¶
func (x *HandleGatewayStatsRequest) Reset()
func (*HandleGatewayStatsRequest) String ¶
func (x *HandleGatewayStatsRequest) String() string
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"` // contains filtered or unexported fields }
func (*HandleProprietaryUplinkRequest) Descriptor
deprecated
func (*HandleProprietaryUplinkRequest) Descriptor() ([]byte, []int)
Deprecated: Use HandleProprietaryUplinkRequest.ProtoReflect.Descriptor instead.
func (*HandleProprietaryUplinkRequest) GetMacPayload ¶
func (x *HandleProprietaryUplinkRequest) GetMacPayload() []byte
func (*HandleProprietaryUplinkRequest) GetMic ¶
func (x *HandleProprietaryUplinkRequest) GetMic() []byte
func (*HandleProprietaryUplinkRequest) GetRxInfo ¶
func (x *HandleProprietaryUplinkRequest) GetRxInfo() []*gw.UplinkRXInfo
func (*HandleProprietaryUplinkRequest) GetTxInfo ¶
func (x *HandleProprietaryUplinkRequest) GetTxInfo() *gw.UplinkTXInfo
func (*HandleProprietaryUplinkRequest) ProtoMessage ¶
func (*HandleProprietaryUplinkRequest) ProtoMessage()
func (*HandleProprietaryUplinkRequest) ProtoReflect ¶ added in v3.10.2
func (x *HandleProprietaryUplinkRequest) ProtoReflect() protoreflect.Message
func (*HandleProprietaryUplinkRequest) Reset ¶
func (x *HandleProprietaryUplinkRequest) Reset()
func (*HandleProprietaryUplinkRequest) String ¶
func (x *HandleProprietaryUplinkRequest) String() string
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"` // contains filtered or unexported fields }
func (*HandleTxAckRequest) Descriptor
deprecated
func (*HandleTxAckRequest) Descriptor() ([]byte, []int)
Deprecated: Use HandleTxAckRequest.ProtoReflect.Descriptor instead.
func (*HandleTxAckRequest) GetDevEui ¶
func (x *HandleTxAckRequest) GetDevEui() []byte
func (*HandleTxAckRequest) GetFCnt ¶
func (x *HandleTxAckRequest) GetFCnt() uint32
func (*HandleTxAckRequest) GetGatewayId ¶
func (x *HandleTxAckRequest) GetGatewayId() []byte
func (*HandleTxAckRequest) GetTxInfo ¶
func (x *HandleTxAckRequest) GetTxInfo() *gw.DownlinkTXInfo
func (*HandleTxAckRequest) ProtoMessage ¶
func (*HandleTxAckRequest) ProtoMessage()
func (*HandleTxAckRequest) ProtoReflect ¶ added in v3.10.2
func (x *HandleTxAckRequest) ProtoReflect() protoreflect.Message
func (*HandleTxAckRequest) Reset ¶
func (x *HandleTxAckRequest) Reset()
func (*HandleTxAckRequest) String ¶
func (x *HandleTxAckRequest) String() string
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"` // contains filtered or unexported fields }
func (*HandleUplinkDataRequest) Descriptor
deprecated
func (*HandleUplinkDataRequest) Descriptor() ([]byte, []int)
Deprecated: Use HandleUplinkDataRequest.ProtoReflect.Descriptor instead.
func (*HandleUplinkDataRequest) GetAdr ¶
func (x *HandleUplinkDataRequest) GetAdr() bool
func (*HandleUplinkDataRequest) GetConfirmedUplink ¶
func (x *HandleUplinkDataRequest) GetConfirmedUplink() bool
func (*HandleUplinkDataRequest) GetData ¶
func (x *HandleUplinkDataRequest) GetData() []byte
func (*HandleUplinkDataRequest) GetDevEui ¶
func (x *HandleUplinkDataRequest) GetDevEui() []byte
func (*HandleUplinkDataRequest) GetDeviceActivationContext ¶
func (x *HandleUplinkDataRequest) GetDeviceActivationContext() *DeviceActivationContext
func (*HandleUplinkDataRequest) GetDr ¶
func (x *HandleUplinkDataRequest) GetDr() uint32
func (*HandleUplinkDataRequest) GetFCnt ¶
func (x *HandleUplinkDataRequest) GetFCnt() uint32
func (*HandleUplinkDataRequest) GetFPort ¶
func (x *HandleUplinkDataRequest) GetFPort() uint32
func (*HandleUplinkDataRequest) GetJoinEui ¶
func (x *HandleUplinkDataRequest) GetJoinEui() []byte
func (*HandleUplinkDataRequest) GetRxInfo ¶
func (x *HandleUplinkDataRequest) GetRxInfo() []*gw.UplinkRXInfo
func (*HandleUplinkDataRequest) GetTxInfo ¶
func (x *HandleUplinkDataRequest) GetTxInfo() *gw.UplinkTXInfo
func (*HandleUplinkDataRequest) ProtoMessage ¶
func (*HandleUplinkDataRequest) ProtoMessage()
func (*HandleUplinkDataRequest) ProtoReflect ¶ added in v3.10.2
func (x *HandleUplinkDataRequest) ProtoReflect() protoreflect.Message
func (*HandleUplinkDataRequest) Reset ¶
func (x *HandleUplinkDataRequest) Reset()
func (*HandleUplinkDataRequest) String ¶
func (x *HandleUplinkDataRequest) String() string
type RXWindow ¶
type RXWindow int32
func (RXWindow) Descriptor ¶ added in v3.10.2
func (RXWindow) Descriptor() protoreflect.EnumDescriptor
func (RXWindow) EnumDescriptor
deprecated
func (RXWindow) Number ¶ added in v3.10.2
func (x RXWindow) Number() protoreflect.EnumNumber
func (RXWindow) Type ¶ added in v3.10.2
func (RXWindow) Type() protoreflect.EnumType
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"` // contains filtered or unexported fields }
func (*ReEncryptDeviceQueueItem) Descriptor
deprecated
func (*ReEncryptDeviceQueueItem) Descriptor() ([]byte, []int)
Deprecated: Use ReEncryptDeviceQueueItem.ProtoReflect.Descriptor instead.
func (*ReEncryptDeviceQueueItem) GetConfirmed ¶
func (x *ReEncryptDeviceQueueItem) GetConfirmed() bool
func (*ReEncryptDeviceQueueItem) GetFCnt ¶
func (x *ReEncryptDeviceQueueItem) GetFCnt() uint32
func (*ReEncryptDeviceQueueItem) GetFPort ¶
func (x *ReEncryptDeviceQueueItem) GetFPort() uint32
func (*ReEncryptDeviceQueueItem) GetFrmPayload ¶
func (x *ReEncryptDeviceQueueItem) GetFrmPayload() []byte
func (*ReEncryptDeviceQueueItem) ProtoMessage ¶
func (*ReEncryptDeviceQueueItem) ProtoMessage()
func (*ReEncryptDeviceQueueItem) ProtoReflect ¶ added in v3.10.2
func (x *ReEncryptDeviceQueueItem) ProtoReflect() protoreflect.Message
func (*ReEncryptDeviceQueueItem) Reset ¶
func (x *ReEncryptDeviceQueueItem) Reset()
func (*ReEncryptDeviceQueueItem) String ¶
func (x *ReEncryptDeviceQueueItem) String() string
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"` // contains filtered or unexported fields }
func (*ReEncryptDeviceQueueItemsRequest) Descriptor
deprecated
func (*ReEncryptDeviceQueueItemsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ReEncryptDeviceQueueItemsRequest.ProtoReflect.Descriptor instead.
func (*ReEncryptDeviceQueueItemsRequest) GetDevAddr ¶
func (x *ReEncryptDeviceQueueItemsRequest) GetDevAddr() []byte
func (*ReEncryptDeviceQueueItemsRequest) GetDevEui ¶
func (x *ReEncryptDeviceQueueItemsRequest) GetDevEui() []byte
func (*ReEncryptDeviceQueueItemsRequest) GetFCntStart ¶
func (x *ReEncryptDeviceQueueItemsRequest) GetFCntStart() uint32
func (*ReEncryptDeviceQueueItemsRequest) GetItems ¶
func (x *ReEncryptDeviceQueueItemsRequest) GetItems() []*ReEncryptDeviceQueueItem
func (*ReEncryptDeviceQueueItemsRequest) ProtoMessage ¶
func (*ReEncryptDeviceQueueItemsRequest) ProtoMessage()
func (*ReEncryptDeviceQueueItemsRequest) ProtoReflect ¶ added in v3.10.2
func (x *ReEncryptDeviceQueueItemsRequest) ProtoReflect() protoreflect.Message
func (*ReEncryptDeviceQueueItemsRequest) Reset ¶
func (x *ReEncryptDeviceQueueItemsRequest) Reset()
func (*ReEncryptDeviceQueueItemsRequest) String ¶
func (x *ReEncryptDeviceQueueItemsRequest) String() string
type ReEncryptDeviceQueueItemsResponse ¶
type ReEncryptDeviceQueueItemsResponse struct { Items []*ReEncryptedDeviceQueueItem `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"` // contains filtered or unexported fields }
func (*ReEncryptDeviceQueueItemsResponse) Descriptor
deprecated
func (*ReEncryptDeviceQueueItemsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ReEncryptDeviceQueueItemsResponse.ProtoReflect.Descriptor instead.
func (*ReEncryptDeviceQueueItemsResponse) GetItems ¶
func (x *ReEncryptDeviceQueueItemsResponse) GetItems() []*ReEncryptedDeviceQueueItem
func (*ReEncryptDeviceQueueItemsResponse) ProtoMessage ¶
func (*ReEncryptDeviceQueueItemsResponse) ProtoMessage()
func (*ReEncryptDeviceQueueItemsResponse) ProtoReflect ¶ added in v3.10.2
func (x *ReEncryptDeviceQueueItemsResponse) ProtoReflect() protoreflect.Message
func (*ReEncryptDeviceQueueItemsResponse) Reset ¶
func (x *ReEncryptDeviceQueueItemsResponse) Reset()
func (*ReEncryptDeviceQueueItemsResponse) String ¶
func (x *ReEncryptDeviceQueueItemsResponse) String() string
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"` // contains filtered or unexported fields }
func (*ReEncryptedDeviceQueueItem) Descriptor
deprecated
func (*ReEncryptedDeviceQueueItem) Descriptor() ([]byte, []int)
Deprecated: Use ReEncryptedDeviceQueueItem.ProtoReflect.Descriptor instead.
func (*ReEncryptedDeviceQueueItem) GetConfirmed ¶
func (x *ReEncryptedDeviceQueueItem) GetConfirmed() bool
func (*ReEncryptedDeviceQueueItem) GetFCnt ¶
func (x *ReEncryptedDeviceQueueItem) GetFCnt() uint32
func (*ReEncryptedDeviceQueueItem) GetFPort ¶
func (x *ReEncryptedDeviceQueueItem) GetFPort() uint32
func (*ReEncryptedDeviceQueueItem) GetFrmPayload ¶
func (x *ReEncryptedDeviceQueueItem) GetFrmPayload() []byte
func (*ReEncryptedDeviceQueueItem) ProtoMessage ¶
func (*ReEncryptedDeviceQueueItem) ProtoMessage()
func (*ReEncryptedDeviceQueueItem) ProtoReflect ¶ added in v3.10.2
func (x *ReEncryptedDeviceQueueItem) ProtoReflect() protoreflect.Message
func (*ReEncryptedDeviceQueueItem) Reset ¶
func (x *ReEncryptedDeviceQueueItem) Reset()
func (*ReEncryptedDeviceQueueItem) String ¶
func (x *ReEncryptedDeviceQueueItem) String() string
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"` // contains filtered or unexported fields }
func (*SetDeviceLocationRequest) Descriptor
deprecated
func (*SetDeviceLocationRequest) Descriptor() ([]byte, []int)
Deprecated: Use SetDeviceLocationRequest.ProtoReflect.Descriptor instead.
func (*SetDeviceLocationRequest) GetDevEui ¶
func (x *SetDeviceLocationRequest) GetDevEui() []byte
func (*SetDeviceLocationRequest) GetLocation ¶
func (x *SetDeviceLocationRequest) GetLocation() *common.Location
func (*SetDeviceLocationRequest) GetUplinkIds ¶
func (x *SetDeviceLocationRequest) GetUplinkIds() [][]byte
func (*SetDeviceLocationRequest) ProtoMessage ¶
func (*SetDeviceLocationRequest) ProtoMessage()
func (*SetDeviceLocationRequest) ProtoReflect ¶ added in v3.10.2
func (x *SetDeviceLocationRequest) ProtoReflect() protoreflect.Message
func (*SetDeviceLocationRequest) Reset ¶
func (x *SetDeviceLocationRequest) Reset()
func (*SetDeviceLocationRequest) String ¶
func (x *SetDeviceLocationRequest) String() string
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"` // contains filtered or unexported fields }
func (*SetDeviceStatusRequest) Descriptor
deprecated
func (*SetDeviceStatusRequest) Descriptor() ([]byte, []int)
Deprecated: Use SetDeviceStatusRequest.ProtoReflect.Descriptor instead.
func (*SetDeviceStatusRequest) GetBattery ¶
func (x *SetDeviceStatusRequest) GetBattery() uint32
func (*SetDeviceStatusRequest) GetBatteryLevel ¶
func (x *SetDeviceStatusRequest) GetBatteryLevel() float32
func (*SetDeviceStatusRequest) GetBatteryLevelUnavailable ¶
func (x *SetDeviceStatusRequest) GetBatteryLevelUnavailable() bool
func (*SetDeviceStatusRequest) GetDevEui ¶
func (x *SetDeviceStatusRequest) GetDevEui() []byte
func (*SetDeviceStatusRequest) GetExternalPowerSource ¶
func (x *SetDeviceStatusRequest) GetExternalPowerSource() bool
func (*SetDeviceStatusRequest) GetMargin ¶
func (x *SetDeviceStatusRequest) GetMargin() int32
func (*SetDeviceStatusRequest) ProtoMessage ¶
func (*SetDeviceStatusRequest) ProtoMessage()
func (*SetDeviceStatusRequest) ProtoReflect ¶ added in v3.10.2
func (x *SetDeviceStatusRequest) ProtoReflect() protoreflect.Message
func (*SetDeviceStatusRequest) Reset ¶
func (x *SetDeviceStatusRequest) Reset()
func (*SetDeviceStatusRequest) String ¶
func (x *SetDeviceStatusRequest) String() string
type UnimplementedApplicationServerServiceServer ¶
type UnimplementedApplicationServerServiceServer struct { }
UnimplementedApplicationServerServiceServer can be embedded to have forward compatible implementations.
func (*UnimplementedApplicationServerServiceServer) HandleDownlinkACK ¶
func (*UnimplementedApplicationServerServiceServer) HandleDownlinkACK(context.Context, *HandleDownlinkACKRequest) (*empty.Empty, error)
func (*UnimplementedApplicationServerServiceServer) HandleError ¶
func (*UnimplementedApplicationServerServiceServer) HandleError(context.Context, *HandleErrorRequest) (*empty.Empty, error)
func (*UnimplementedApplicationServerServiceServer) HandleGatewayStats ¶
func (*UnimplementedApplicationServerServiceServer) HandleGatewayStats(context.Context, *HandleGatewayStatsRequest) (*empty.Empty, error)
func (*UnimplementedApplicationServerServiceServer) HandleProprietaryUplink ¶
func (*UnimplementedApplicationServerServiceServer) HandleProprietaryUplink(context.Context, *HandleProprietaryUplinkRequest) (*empty.Empty, error)
func (*UnimplementedApplicationServerServiceServer) HandleTxAck ¶
func (*UnimplementedApplicationServerServiceServer) HandleTxAck(context.Context, *HandleTxAckRequest) (*empty.Empty, error)
func (*UnimplementedApplicationServerServiceServer) HandleUplinkData ¶
func (*UnimplementedApplicationServerServiceServer) HandleUplinkData(context.Context, *HandleUplinkDataRequest) (*empty.Empty, error)
func (*UnimplementedApplicationServerServiceServer) ReEncryptDeviceQueueItems ¶
func (*UnimplementedApplicationServerServiceServer) ReEncryptDeviceQueueItems(context.Context, *ReEncryptDeviceQueueItemsRequest) (*ReEncryptDeviceQueueItemsResponse, error)
func (*UnimplementedApplicationServerServiceServer) SetDeviceLocation ¶
func (*UnimplementedApplicationServerServiceServer) SetDeviceLocation(context.Context, *SetDeviceLocationRequest) (*empty.Empty, error)
func (*UnimplementedApplicationServerServiceServer) SetDeviceStatus ¶
func (*UnimplementedApplicationServerServiceServer) SetDeviceStatus(context.Context, *SetDeviceStatusRequest) (*empty.Empty, error)