Documentation ¶
Index ¶
- Variables
- func RegisterFUOTAServerServiceServer(s *grpc.Server, srv FUOTAServerServiceServer)
- type CreateDeploymentRequest
- func (*CreateDeploymentRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateDeploymentRequest) GetDeployment() *Deployment
- func (*CreateDeploymentRequest) ProtoMessage()
- func (x *CreateDeploymentRequest) ProtoReflect() protoreflect.Message
- func (x *CreateDeploymentRequest) Reset()
- func (x *CreateDeploymentRequest) String() string
- type CreateDeploymentResponse
- func (*CreateDeploymentResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CreateDeploymentResponse) GetId() []byte
- func (*CreateDeploymentResponse) ProtoMessage()
- func (x *CreateDeploymentResponse) ProtoReflect() protoreflect.Message
- func (x *CreateDeploymentResponse) Reset()
- func (x *CreateDeploymentResponse) String() string
- type Deployment
- func (*Deployment) Descriptor() ([]byte, []int)deprecated
- func (x *Deployment) GetApplicationId() int64
- func (x *Deployment) GetDevices() []*DeploymentDevice
- func (x *Deployment) GetFragmentationBlockAckDelay() uint32
- func (x *Deployment) GetFragmentationDescriptor() []byte
- func (x *Deployment) GetFragmentationFragmentSize() uint32
- func (x *Deployment) GetFragmentationMatrix() uint32
- func (x *Deployment) GetFragmentationRedundancy() uint32
- func (x *Deployment) GetFragmentationRedundancyMode() uint32
- func (x *Deployment) GetFragmentationSessionIndex() uint32
- func (x *Deployment) GetMulticastDr() uint32
- func (x *Deployment) GetMulticastFrequency() uint32
- func (x *Deployment) GetMulticastGroupId() uint32
- func (x *Deployment) GetMulticastGroupType() MulticastGroupType
- func (x *Deployment) GetMulticastPingSlotPeriod() uint32
- func (x *Deployment) GetMulticastTimeout() uint32
- func (x *Deployment) GetPayload() []byte
- func (x *Deployment) GetRequestFragmentationSessionStatus() RequestFragmentationSessionStatus
- func (x *Deployment) GetUnicastAttemptCount() uint32
- func (x *Deployment) GetUnicastTimeout() *duration.Duration
- func (*Deployment) ProtoMessage()
- func (x *Deployment) ProtoReflect() protoreflect.Message
- func (x *Deployment) Reset()
- func (x *Deployment) String() string
- type DeploymentDevice
- func (*DeploymentDevice) Descriptor() ([]byte, []int)deprecated
- func (x *DeploymentDevice) GetDevEui() []byte
- func (x *DeploymentDevice) GetMcRootKey() []byte
- func (*DeploymentDevice) ProtoMessage()
- func (x *DeploymentDevice) ProtoReflect() protoreflect.Message
- func (x *DeploymentDevice) Reset()
- func (x *DeploymentDevice) String() string
- type DeploymentDeviceLog
- func (*DeploymentDeviceLog) Descriptor() ([]byte, []int)deprecated
- func (x *DeploymentDeviceLog) GetCommand() string
- func (x *DeploymentDeviceLog) GetCreatedAt() *timestamp.Timestamp
- func (x *DeploymentDeviceLog) GetFPort() uint32
- func (x *DeploymentDeviceLog) GetFields() map[string]string
- func (*DeploymentDeviceLog) ProtoMessage()
- func (x *DeploymentDeviceLog) ProtoReflect() protoreflect.Message
- func (x *DeploymentDeviceLog) Reset()
- func (x *DeploymentDeviceLog) String() string
- type DeploymentDeviceStatus
- func (*DeploymentDeviceStatus) Descriptor() ([]byte, []int)deprecated
- func (x *DeploymentDeviceStatus) GetCreatedAt() *timestamp.Timestamp
- func (x *DeploymentDeviceStatus) GetDevEui() []byte
- func (x *DeploymentDeviceStatus) GetFragSessionSetupCompletedAt() *timestamp.Timestamp
- func (x *DeploymentDeviceStatus) GetFragStatusCompletedAt() *timestamp.Timestamp
- func (x *DeploymentDeviceStatus) GetMcGroupSetupCompletedAt() *timestamp.Timestamp
- func (x *DeploymentDeviceStatus) GetMcSessionCompletedAt() *timestamp.Timestamp
- func (x *DeploymentDeviceStatus) GetUpdatedAt() *timestamp.Timestamp
- func (*DeploymentDeviceStatus) ProtoMessage()
- func (x *DeploymentDeviceStatus) ProtoReflect() protoreflect.Message
- func (x *DeploymentDeviceStatus) Reset()
- func (x *DeploymentDeviceStatus) String() string
- type FUOTAServerServiceClient
- type FUOTAServerServiceServer
- type GetDeploymentDeviceLogsRequest
- func (*GetDeploymentDeviceLogsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetDeploymentDeviceLogsRequest) GetDeploymentId() []byte
- func (x *GetDeploymentDeviceLogsRequest) GetDevEui() []byte
- func (*GetDeploymentDeviceLogsRequest) ProtoMessage()
- func (x *GetDeploymentDeviceLogsRequest) ProtoReflect() protoreflect.Message
- func (x *GetDeploymentDeviceLogsRequest) Reset()
- func (x *GetDeploymentDeviceLogsRequest) String() string
- type GetDeploymentDeviceLogsResponse
- func (*GetDeploymentDeviceLogsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetDeploymentDeviceLogsResponse) GetLogs() []*DeploymentDeviceLog
- func (*GetDeploymentDeviceLogsResponse) ProtoMessage()
- func (x *GetDeploymentDeviceLogsResponse) ProtoReflect() protoreflect.Message
- func (x *GetDeploymentDeviceLogsResponse) Reset()
- func (x *GetDeploymentDeviceLogsResponse) String() string
- type GetDeploymentStatusRequest
- func (*GetDeploymentStatusRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetDeploymentStatusRequest) GetId() []byte
- func (*GetDeploymentStatusRequest) ProtoMessage()
- func (x *GetDeploymentStatusRequest) ProtoReflect() protoreflect.Message
- func (x *GetDeploymentStatusRequest) Reset()
- func (x *GetDeploymentStatusRequest) String() string
- type GetDeploymentStatusResponse
- func (*GetDeploymentStatusResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetDeploymentStatusResponse) GetCreatedAt() *timestamp.Timestamp
- func (x *GetDeploymentStatusResponse) GetDeviceStatus() []*DeploymentDeviceStatus
- func (x *GetDeploymentStatusResponse) GetEnqueueCompletedAt() *timestamp.Timestamp
- func (x *GetDeploymentStatusResponse) GetFragSessionSetupCompletedAt() *timestamp.Timestamp
- func (x *GetDeploymentStatusResponse) GetFragStatusCompletedAt() *timestamp.Timestamp
- func (x *GetDeploymentStatusResponse) GetMcGroupSetupCompletedAt() *timestamp.Timestamp
- func (x *GetDeploymentStatusResponse) GetMcSessionCompletedAt() *timestamp.Timestamp
- func (x *GetDeploymentStatusResponse) GetUpdatedAt() *timestamp.Timestamp
- func (*GetDeploymentStatusResponse) ProtoMessage()
- func (x *GetDeploymentStatusResponse) ProtoReflect() protoreflect.Message
- func (x *GetDeploymentStatusResponse) Reset()
- func (x *GetDeploymentStatusResponse) String() string
- type MulticastGroupType
- func (MulticastGroupType) Descriptor() protoreflect.EnumDescriptor
- func (x MulticastGroupType) Enum() *MulticastGroupType
- func (MulticastGroupType) EnumDescriptor() ([]byte, []int)deprecated
- func (x MulticastGroupType) Number() protoreflect.EnumNumber
- func (x MulticastGroupType) String() string
- func (MulticastGroupType) Type() protoreflect.EnumType
- type RequestFragmentationSessionStatus
- func (RequestFragmentationSessionStatus) Descriptor() protoreflect.EnumDescriptor
- func (x RequestFragmentationSessionStatus) Enum() *RequestFragmentationSessionStatus
- func (RequestFragmentationSessionStatus) EnumDescriptor() ([]byte, []int)deprecated
- func (x RequestFragmentationSessionStatus) Number() protoreflect.EnumNumber
- func (x RequestFragmentationSessionStatus) String() string
- func (RequestFragmentationSessionStatus) Type() protoreflect.EnumType
- type UnimplementedFUOTAServerServiceServer
- func (*UnimplementedFUOTAServerServiceServer) CreateDeployment(context.Context, *CreateDeploymentRequest) (*CreateDeploymentResponse, error)
- func (*UnimplementedFUOTAServerServiceServer) DeleteDeployment(context.Context, *GetDeploymentStatusRequest) (*CreateDeploymentResponse, error)
- func (*UnimplementedFUOTAServerServiceServer) GetDeploymentDeviceLogs(context.Context, *GetDeploymentDeviceLogsRequest) (*GetDeploymentDeviceLogsResponse, error)
- func (*UnimplementedFUOTAServerServiceServer) GetDeploymentStatus(context.Context, *GetDeploymentStatusRequest) (*GetDeploymentStatusResponse, error)
Constants ¶
This section is empty.
Variables ¶
var ( MulticastGroupType_name = map[int32]string{ 0: "CLASS_B", 1: "CLASS_C", } MulticastGroupType_value = map[string]int32{ "CLASS_B": 0, "CLASS_C": 1, } )
Enum value maps for MulticastGroupType.
var ( RequestFragmentationSessionStatus_name = map[int32]string{ 0: "AFTER_FRAGMENT_ENQUEUE", 1: "AFTER_SESSION_TIMEOUT", 2: "NO_REQUEST", } RequestFragmentationSessionStatus_value = map[string]int32{ "AFTER_FRAGMENT_ENQUEUE": 0, "AFTER_SESSION_TIMEOUT": 1, "NO_REQUEST": 2, } )
Enum value maps for RequestFragmentationSessionStatus.
var File_fuota_fuota_proto protoreflect.FileDescriptor
Functions ¶
func RegisterFUOTAServerServiceServer ¶ added in v3.10.2
func RegisterFUOTAServerServiceServer(s *grpc.Server, srv FUOTAServerServiceServer)
Types ¶
type CreateDeploymentRequest ¶
type CreateDeploymentRequest struct { // Deployment. Deployment *Deployment `protobuf:"bytes,1,opt,name=deployment,proto3" json:"deployment,omitempty"` // contains filtered or unexported fields }
func (*CreateDeploymentRequest) Descriptor
deprecated
func (*CreateDeploymentRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateDeploymentRequest.ProtoReflect.Descriptor instead.
func (*CreateDeploymentRequest) GetDeployment ¶
func (x *CreateDeploymentRequest) GetDeployment() *Deployment
func (*CreateDeploymentRequest) ProtoMessage ¶
func (*CreateDeploymentRequest) ProtoMessage()
func (*CreateDeploymentRequest) ProtoReflect ¶
func (x *CreateDeploymentRequest) ProtoReflect() protoreflect.Message
func (*CreateDeploymentRequest) Reset ¶
func (x *CreateDeploymentRequest) Reset()
func (*CreateDeploymentRequest) String ¶
func (x *CreateDeploymentRequest) String() string
type CreateDeploymentResponse ¶
type CreateDeploymentResponse struct { // ID of the created deployment. Id []byte `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*CreateDeploymentResponse) Descriptor
deprecated
func (*CreateDeploymentResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreateDeploymentResponse.ProtoReflect.Descriptor instead.
func (*CreateDeploymentResponse) GetId ¶
func (x *CreateDeploymentResponse) GetId() []byte
func (*CreateDeploymentResponse) ProtoMessage ¶
func (*CreateDeploymentResponse) ProtoMessage()
func (*CreateDeploymentResponse) ProtoReflect ¶
func (x *CreateDeploymentResponse) ProtoReflect() protoreflect.Message
func (*CreateDeploymentResponse) Reset ¶
func (x *CreateDeploymentResponse) Reset()
func (*CreateDeploymentResponse) String ¶
func (x *CreateDeploymentResponse) String() string
type Deployment ¶
type Deployment struct { // Application ID. ApplicationId int64 `protobuf:"varint,1,opt,name=application_id,json=applicationId,proto3" json:"application_id,omitempty"` // Devices to include in this deployment. Devices []*DeploymentDevice `protobuf:"bytes,2,rep,name=devices,proto3" json:"devices,omitempty"` // Multicast-group type. MulticastGroupType MulticastGroupType `` /* 148-byte string literal not displayed */ // Multicast data-rate. MulticastDr uint32 `protobuf:"varint,4,opt,name=multicast_dr,json=multicastDr,proto3" json:"multicast_dr,omitempty"` // Multicast ping-slot period (Class-B only). MulticastPingSlotPeriod uint32 `` /* 135-byte string literal not displayed */ // Multicast frequency (Hz). MulticastFrequency uint32 `protobuf:"varint,6,opt,name=multicast_frequency,json=multicastFrequency,proto3" json:"multicast_frequency,omitempty"` // Multicast group ID. MulticastGroupId uint32 `protobuf:"varint,7,opt,name=multicast_group_id,json=multicastGroupId,proto3" json:"multicast_group_id,omitempty"` // Multicast timeout. // This defines the timeout of the multicast-session. // Please refer to the Remote Multicast Setup specification as this field // has a different meaning for Class-B and Class-C groups. MulticastTimeout uint32 `protobuf:"varint,8,opt,name=multicast_timeout,json=multicastTimeout,proto3" json:"multicast_timeout,omitempty"` // Unicast timeout. // Set this to the value in which you at least expect an uplink frame from // the device. The FUOTA server will wait for the given time before // attempting a retry or continuing with the next step. UnicastTimeout *duration.Duration `protobuf:"bytes,9,opt,name=unicast_timeout,json=unicastTimeout,proto3" json:"unicast_timeout,omitempty"` // Unicast attempt count. // The number of attempts before considering an unicast command // to be failed. UnicastAttemptCount uint32 `protobuf:"varint,10,opt,name=unicast_attempt_count,json=unicastAttemptCount,proto3" json:"unicast_attempt_count,omitempty"` // FragmentationFragmentSize. // This defines the size of each payload fragment. Please refer to the // Regional Parameters specification for the maximum payload sizes // per data-rate and region. FragmentationFragmentSize uint32 `` /* 140-byte string literal not displayed */ // Payload. Payload []byte `protobuf:"bytes,12,opt,name=payload,proto3" json:"payload,omitempty"` // Fragmentation redundancy mode. // The number represents the additional redundant frames to send. FragmentationRedundancyMode uint32 `` /* 146-byte string literal not displayed */ // Fragmentation redundancy. // The number represents the additional redundant frames to send. FragmentationRedundancy uint32 `` /* 132-byte string literal not displayed */ // Fragmentation session index. FragmentationSessionIndex uint32 `` /* 140-byte string literal not displayed */ // Fragmentation matrix. FragmentationMatrix uint32 `protobuf:"varint,16,opt,name=fragmentation_matrix,json=fragmentationMatrix,proto3" json:"fragmentation_matrix,omitempty"` // Block ack delay. FragmentationBlockAckDelay uint32 `` /* 145-byte string literal not displayed */ // Descriptor (4 bytes). FragmentationDescriptor []byte `` /* 131-byte string literal not displayed */ // Request fragmentation session status. RequestFragmentationSessionStatus RequestFragmentationSessionStatus `` /* 211-byte string literal not displayed */ // contains filtered or unexported fields }
func (*Deployment) Descriptor
deprecated
func (*Deployment) Descriptor() ([]byte, []int)
Deprecated: Use Deployment.ProtoReflect.Descriptor instead.
func (*Deployment) GetApplicationId ¶
func (x *Deployment) GetApplicationId() int64
func (*Deployment) GetDevices ¶
func (x *Deployment) GetDevices() []*DeploymentDevice
func (*Deployment) GetFragmentationBlockAckDelay ¶
func (x *Deployment) GetFragmentationBlockAckDelay() uint32
func (*Deployment) GetFragmentationDescriptor ¶
func (x *Deployment) GetFragmentationDescriptor() []byte
func (*Deployment) GetFragmentationFragmentSize ¶
func (x *Deployment) GetFragmentationFragmentSize() uint32
func (*Deployment) GetFragmentationMatrix ¶
func (x *Deployment) GetFragmentationMatrix() uint32
func (*Deployment) GetFragmentationRedundancy ¶
func (x *Deployment) GetFragmentationRedundancy() uint32
func (*Deployment) GetFragmentationRedundancyMode ¶
func (x *Deployment) GetFragmentationRedundancyMode() uint32
func (*Deployment) GetFragmentationSessionIndex ¶
func (x *Deployment) GetFragmentationSessionIndex() uint32
func (*Deployment) GetMulticastDr ¶
func (x *Deployment) GetMulticastDr() uint32
func (*Deployment) GetMulticastFrequency ¶
func (x *Deployment) GetMulticastFrequency() uint32
func (*Deployment) GetMulticastGroupId ¶
func (x *Deployment) GetMulticastGroupId() uint32
func (*Deployment) GetMulticastGroupType ¶
func (x *Deployment) GetMulticastGroupType() MulticastGroupType
func (*Deployment) GetMulticastPingSlotPeriod ¶
func (x *Deployment) GetMulticastPingSlotPeriod() uint32
func (*Deployment) GetMulticastTimeout ¶
func (x *Deployment) GetMulticastTimeout() uint32
func (*Deployment) GetPayload ¶
func (x *Deployment) GetPayload() []byte
func (*Deployment) GetRequestFragmentationSessionStatus ¶
func (x *Deployment) GetRequestFragmentationSessionStatus() RequestFragmentationSessionStatus
func (*Deployment) GetUnicastAttemptCount ¶
func (x *Deployment) GetUnicastAttemptCount() uint32
func (*Deployment) GetUnicastTimeout ¶
func (x *Deployment) GetUnicastTimeout() *duration.Duration
func (*Deployment) ProtoMessage ¶
func (*Deployment) ProtoMessage()
func (*Deployment) ProtoReflect ¶
func (x *Deployment) ProtoReflect() protoreflect.Message
func (*Deployment) Reset ¶
func (x *Deployment) Reset()
func (*Deployment) String ¶
func (x *Deployment) String() string
type DeploymentDevice ¶
type DeploymentDevice struct { // DevEUI. DevEui []byte `protobuf:"bytes,1,opt,name=dev_eui,json=devEui,proto3" json:"dev_eui,omitempty"` // McRootKey. McRootKey []byte `protobuf:"bytes,2,opt,name=mc_root_key,json=mcRootKey,proto3" json:"mc_root_key,omitempty"` // contains filtered or unexported fields }
func (*DeploymentDevice) Descriptor
deprecated
func (*DeploymentDevice) Descriptor() ([]byte, []int)
Deprecated: Use DeploymentDevice.ProtoReflect.Descriptor instead.
func (*DeploymentDevice) GetDevEui ¶
func (x *DeploymentDevice) GetDevEui() []byte
func (*DeploymentDevice) GetMcRootKey ¶
func (x *DeploymentDevice) GetMcRootKey() []byte
func (*DeploymentDevice) ProtoMessage ¶
func (*DeploymentDevice) ProtoMessage()
func (*DeploymentDevice) ProtoReflect ¶
func (x *DeploymentDevice) ProtoReflect() protoreflect.Message
func (*DeploymentDevice) Reset ¶
func (x *DeploymentDevice) Reset()
func (*DeploymentDevice) String ¶
func (x *DeploymentDevice) String() string
type DeploymentDeviceLog ¶
type DeploymentDeviceLog struct { // Created at. CreatedAt *timestamp.Timestamp `protobuf:"bytes,1,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` // FPort. FPort uint32 `protobuf:"varint,2,opt,name=f_port,json=fPort,proto3" json:"f_port,omitempty"` // Command. Command string `protobuf:"bytes,3,opt,name=command,proto3" json:"command,omitempty"` // Fields. Fields map[string]string `` /* 153-byte string literal not displayed */ // contains filtered or unexported fields }
func (*DeploymentDeviceLog) Descriptor
deprecated
func (*DeploymentDeviceLog) Descriptor() ([]byte, []int)
Deprecated: Use DeploymentDeviceLog.ProtoReflect.Descriptor instead.
func (*DeploymentDeviceLog) GetCommand ¶
func (x *DeploymentDeviceLog) GetCommand() string
func (*DeploymentDeviceLog) GetCreatedAt ¶
func (x *DeploymentDeviceLog) GetCreatedAt() *timestamp.Timestamp
func (*DeploymentDeviceLog) GetFPort ¶
func (x *DeploymentDeviceLog) GetFPort() uint32
func (*DeploymentDeviceLog) GetFields ¶
func (x *DeploymentDeviceLog) GetFields() map[string]string
func (*DeploymentDeviceLog) ProtoMessage ¶
func (*DeploymentDeviceLog) ProtoMessage()
func (*DeploymentDeviceLog) ProtoReflect ¶
func (x *DeploymentDeviceLog) ProtoReflect() protoreflect.Message
func (*DeploymentDeviceLog) Reset ¶
func (x *DeploymentDeviceLog) Reset()
func (*DeploymentDeviceLog) String ¶
func (x *DeploymentDeviceLog) String() string
type DeploymentDeviceStatus ¶
type DeploymentDeviceStatus struct { // DevEUI. DevEui []byte `protobuf:"bytes,1,opt,name=dev_eui,json=devEui,proto3" json:"dev_eui,omitempty"` // Created at. CreatedAt *timestamp.Timestamp `protobuf:"bytes,2,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` // Updated at. UpdatedAt *timestamp.Timestamp `protobuf:"bytes,3,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"` // Multicast-group setup completed at. McGroupSetupCompletedAt *timestamp.Timestamp `` /* 136-byte string literal not displayed */ // Multicast-session completed at. McSessionCompletedAt *timestamp.Timestamp `protobuf:"bytes,5,opt,name=mc_session_completed_at,json=mcSessionCompletedAt,proto3" json:"mc_session_completed_at,omitempty"` // Fragmentation session setup completed at. FragSessionSetupCompletedAt *timestamp.Timestamp `` /* 148-byte string literal not displayed */ // Fragmentation status completed at. FragStatusCompletedAt *timestamp.Timestamp `` /* 128-byte string literal not displayed */ // contains filtered or unexported fields }
func (*DeploymentDeviceStatus) Descriptor
deprecated
func (*DeploymentDeviceStatus) Descriptor() ([]byte, []int)
Deprecated: Use DeploymentDeviceStatus.ProtoReflect.Descriptor instead.
func (*DeploymentDeviceStatus) GetCreatedAt ¶
func (x *DeploymentDeviceStatus) GetCreatedAt() *timestamp.Timestamp
func (*DeploymentDeviceStatus) GetDevEui ¶
func (x *DeploymentDeviceStatus) GetDevEui() []byte
func (*DeploymentDeviceStatus) GetFragSessionSetupCompletedAt ¶
func (x *DeploymentDeviceStatus) GetFragSessionSetupCompletedAt() *timestamp.Timestamp
func (*DeploymentDeviceStatus) GetFragStatusCompletedAt ¶
func (x *DeploymentDeviceStatus) GetFragStatusCompletedAt() *timestamp.Timestamp
func (*DeploymentDeviceStatus) GetMcGroupSetupCompletedAt ¶
func (x *DeploymentDeviceStatus) GetMcGroupSetupCompletedAt() *timestamp.Timestamp
func (*DeploymentDeviceStatus) GetMcSessionCompletedAt ¶
func (x *DeploymentDeviceStatus) GetMcSessionCompletedAt() *timestamp.Timestamp
func (*DeploymentDeviceStatus) GetUpdatedAt ¶
func (x *DeploymentDeviceStatus) GetUpdatedAt() *timestamp.Timestamp
func (*DeploymentDeviceStatus) ProtoMessage ¶
func (*DeploymentDeviceStatus) ProtoMessage()
func (*DeploymentDeviceStatus) ProtoReflect ¶
func (x *DeploymentDeviceStatus) ProtoReflect() protoreflect.Message
func (*DeploymentDeviceStatus) Reset ¶
func (x *DeploymentDeviceStatus) Reset()
func (*DeploymentDeviceStatus) String ¶
func (x *DeploymentDeviceStatus) String() string
type FUOTAServerServiceClient ¶ added in v3.10.2
type FUOTAServerServiceClient interface { // CreateDeployment creates the given FUOTA deployment. CreateDeployment(ctx context.Context, in *CreateDeploymentRequest, opts ...grpc.CallOption) (*CreateDeploymentResponse, error) // GetDeploymentStatus returns the FUOTA deployment status given an ID. GetDeploymentStatus(ctx context.Context, in *GetDeploymentStatusRequest, opts ...grpc.CallOption) (*GetDeploymentStatusResponse, error) // GetDeploymentDeviceLogs returns the FUOTA logs given a deployment ID and DevEUI. GetDeploymentDeviceLogs(ctx context.Context, in *GetDeploymentDeviceLogsRequest, opts ...grpc.CallOption) (*GetDeploymentDeviceLogsResponse, error) // DeleteDeployment deletes the given FUOTA deployment. DeleteDeployment(ctx context.Context, in *GetDeploymentStatusRequest, opts ...grpc.CallOption) (*CreateDeploymentResponse, error) }
FUOTAServerServiceClient is the client API for FUOTAServerService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewFUOTAServerServiceClient ¶ added in v3.10.2
func NewFUOTAServerServiceClient(cc grpc.ClientConnInterface) FUOTAServerServiceClient
type FUOTAServerServiceServer ¶ added in v3.10.2
type FUOTAServerServiceServer interface { // CreateDeployment creates the given FUOTA deployment. CreateDeployment(context.Context, *CreateDeploymentRequest) (*CreateDeploymentResponse, error) // GetDeploymentStatus returns the FUOTA deployment status given an ID. GetDeploymentStatus(context.Context, *GetDeploymentStatusRequest) (*GetDeploymentStatusResponse, error) // GetDeploymentDeviceLogs returns the FUOTA logs given a deployment ID and DevEUI. GetDeploymentDeviceLogs(context.Context, *GetDeploymentDeviceLogsRequest) (*GetDeploymentDeviceLogsResponse, error) // DeleteDeployment deletes the given FUOTA deployment. DeleteDeployment(context.Context, *GetDeploymentStatusRequest) (*CreateDeploymentResponse, error) }
FUOTAServerServiceServer is the server API for FUOTAServerService service.
type GetDeploymentDeviceLogsRequest ¶
type GetDeploymentDeviceLogsRequest struct { // Deployment ID. DeploymentId []byte `protobuf:"bytes,1,opt,name=deployment_id,json=deploymentId,proto3" json:"deployment_id,omitempty"` // DevEUI. DevEui []byte `protobuf:"bytes,2,opt,name=dev_eui,json=devEui,proto3" json:"dev_eui,omitempty"` // contains filtered or unexported fields }
func (*GetDeploymentDeviceLogsRequest) Descriptor
deprecated
func (*GetDeploymentDeviceLogsRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetDeploymentDeviceLogsRequest.ProtoReflect.Descriptor instead.
func (*GetDeploymentDeviceLogsRequest) GetDeploymentId ¶
func (x *GetDeploymentDeviceLogsRequest) GetDeploymentId() []byte
func (*GetDeploymentDeviceLogsRequest) GetDevEui ¶
func (x *GetDeploymentDeviceLogsRequest) GetDevEui() []byte
func (*GetDeploymentDeviceLogsRequest) ProtoMessage ¶
func (*GetDeploymentDeviceLogsRequest) ProtoMessage()
func (*GetDeploymentDeviceLogsRequest) ProtoReflect ¶
func (x *GetDeploymentDeviceLogsRequest) ProtoReflect() protoreflect.Message
func (*GetDeploymentDeviceLogsRequest) Reset ¶
func (x *GetDeploymentDeviceLogsRequest) Reset()
func (*GetDeploymentDeviceLogsRequest) String ¶
func (x *GetDeploymentDeviceLogsRequest) String() string
type GetDeploymentDeviceLogsResponse ¶
type GetDeploymentDeviceLogsResponse struct { Logs []*DeploymentDeviceLog `protobuf:"bytes,1,rep,name=logs,proto3" json:"logs,omitempty"` // contains filtered or unexported fields }
func (*GetDeploymentDeviceLogsResponse) Descriptor
deprecated
func (*GetDeploymentDeviceLogsResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetDeploymentDeviceLogsResponse.ProtoReflect.Descriptor instead.
func (*GetDeploymentDeviceLogsResponse) GetLogs ¶
func (x *GetDeploymentDeviceLogsResponse) GetLogs() []*DeploymentDeviceLog
func (*GetDeploymentDeviceLogsResponse) ProtoMessage ¶
func (*GetDeploymentDeviceLogsResponse) ProtoMessage()
func (*GetDeploymentDeviceLogsResponse) ProtoReflect ¶
func (x *GetDeploymentDeviceLogsResponse) ProtoReflect() protoreflect.Message
func (*GetDeploymentDeviceLogsResponse) Reset ¶
func (x *GetDeploymentDeviceLogsResponse) Reset()
func (*GetDeploymentDeviceLogsResponse) String ¶
func (x *GetDeploymentDeviceLogsResponse) String() string
type GetDeploymentStatusRequest ¶
type GetDeploymentStatusRequest struct { // Deployment ID. Id []byte `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*GetDeploymentStatusRequest) Descriptor
deprecated
func (*GetDeploymentStatusRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetDeploymentStatusRequest.ProtoReflect.Descriptor instead.
func (*GetDeploymentStatusRequest) GetId ¶
func (x *GetDeploymentStatusRequest) GetId() []byte
func (*GetDeploymentStatusRequest) ProtoMessage ¶
func (*GetDeploymentStatusRequest) ProtoMessage()
func (*GetDeploymentStatusRequest) ProtoReflect ¶
func (x *GetDeploymentStatusRequest) ProtoReflect() protoreflect.Message
func (*GetDeploymentStatusRequest) Reset ¶
func (x *GetDeploymentStatusRequest) Reset()
func (*GetDeploymentStatusRequest) String ¶
func (x *GetDeploymentStatusRequest) String() string
type GetDeploymentStatusResponse ¶
type GetDeploymentStatusResponse struct { // Created at. CreatedAt *timestamp.Timestamp `protobuf:"bytes,1,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` // Updated at. UpdatedAt *timestamp.Timestamp `protobuf:"bytes,2,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"` // Multicast-group setup completed at. McGroupSetupCompletedAt *timestamp.Timestamp `` /* 136-byte string literal not displayed */ // Multicast-session completed at. McSessionCompletedAt *timestamp.Timestamp `protobuf:"bytes,4,opt,name=mc_session_completed_at,json=mcSessionCompletedAt,proto3" json:"mc_session_completed_at,omitempty"` // Fragmentation session setup completed at. FragSessionSetupCompletedAt *timestamp.Timestamp `` /* 148-byte string literal not displayed */ // Enqueue completed at. EnqueueCompletedAt *timestamp.Timestamp `protobuf:"bytes,6,opt,name=enqueue_completed_at,json=enqueueCompletedAt,proto3" json:"enqueue_completed_at,omitempty"` // Fragmentation status completed at. FragStatusCompletedAt *timestamp.Timestamp `` /* 128-byte string literal not displayed */ // Per device status. DeviceStatus []*DeploymentDeviceStatus `protobuf:"bytes,8,rep,name=device_status,json=deviceStatus,proto3" json:"device_status,omitempty"` // contains filtered or unexported fields }
func (*GetDeploymentStatusResponse) Descriptor
deprecated
func (*GetDeploymentStatusResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetDeploymentStatusResponse.ProtoReflect.Descriptor instead.
func (*GetDeploymentStatusResponse) GetCreatedAt ¶
func (x *GetDeploymentStatusResponse) GetCreatedAt() *timestamp.Timestamp
func (*GetDeploymentStatusResponse) GetDeviceStatus ¶
func (x *GetDeploymentStatusResponse) GetDeviceStatus() []*DeploymentDeviceStatus
func (*GetDeploymentStatusResponse) GetEnqueueCompletedAt ¶
func (x *GetDeploymentStatusResponse) GetEnqueueCompletedAt() *timestamp.Timestamp
func (*GetDeploymentStatusResponse) GetFragSessionSetupCompletedAt ¶
func (x *GetDeploymentStatusResponse) GetFragSessionSetupCompletedAt() *timestamp.Timestamp
func (*GetDeploymentStatusResponse) GetFragStatusCompletedAt ¶
func (x *GetDeploymentStatusResponse) GetFragStatusCompletedAt() *timestamp.Timestamp
func (*GetDeploymentStatusResponse) GetMcGroupSetupCompletedAt ¶
func (x *GetDeploymentStatusResponse) GetMcGroupSetupCompletedAt() *timestamp.Timestamp
func (*GetDeploymentStatusResponse) GetMcSessionCompletedAt ¶
func (x *GetDeploymentStatusResponse) GetMcSessionCompletedAt() *timestamp.Timestamp
func (*GetDeploymentStatusResponse) GetUpdatedAt ¶
func (x *GetDeploymentStatusResponse) GetUpdatedAt() *timestamp.Timestamp
func (*GetDeploymentStatusResponse) ProtoMessage ¶
func (*GetDeploymentStatusResponse) ProtoMessage()
func (*GetDeploymentStatusResponse) ProtoReflect ¶
func (x *GetDeploymentStatusResponse) ProtoReflect() protoreflect.Message
func (*GetDeploymentStatusResponse) Reset ¶
func (x *GetDeploymentStatusResponse) Reset()
func (*GetDeploymentStatusResponse) String ¶
func (x *GetDeploymentStatusResponse) String() string
type MulticastGroupType ¶
type MulticastGroupType int32
const ( // Class-B. MulticastGroupType_CLASS_B MulticastGroupType = 0 // Class-C. MulticastGroupType_CLASS_C MulticastGroupType = 1 )
func (MulticastGroupType) Descriptor ¶
func (MulticastGroupType) Descriptor() protoreflect.EnumDescriptor
func (MulticastGroupType) Enum ¶
func (x MulticastGroupType) Enum() *MulticastGroupType
func (MulticastGroupType) EnumDescriptor
deprecated
func (MulticastGroupType) EnumDescriptor() ([]byte, []int)
Deprecated: Use MulticastGroupType.Descriptor instead.
func (MulticastGroupType) Number ¶
func (x MulticastGroupType) Number() protoreflect.EnumNumber
func (MulticastGroupType) String ¶
func (x MulticastGroupType) String() string
func (MulticastGroupType) Type ¶
func (MulticastGroupType) Type() protoreflect.EnumType
type RequestFragmentationSessionStatus ¶
type RequestFragmentationSessionStatus int32
const ( // Enqueue the fragmentation-session status request command directly after // enqueueing the fragmentation-session fragments. This is the recommended // option for Class-A devices as the status request will stay in the // downlink queue until the device sends its next uplink. RequestFragmentationSessionStatus_AFTER_FRAGMENT_ENQUEUE RequestFragmentationSessionStatus = 0 // Enqueue the fragmentation-session status request after the multicast // session-timeout. This is the recommended option for Class-B and -C // devices as selecting AFTER_FRAGMENT_ENQUEUE will likely cause the NS // to schedule the downlink frame during the FUOTA multicast-session. RequestFragmentationSessionStatus_AFTER_SESSION_TIMEOUT RequestFragmentationSessionStatus = 1 // Do not request the fragmentation-session status. RequestFragmentationSessionStatus_NO_REQUEST RequestFragmentationSessionStatus = 2 )
func (RequestFragmentationSessionStatus) Descriptor ¶
func (RequestFragmentationSessionStatus) Descriptor() protoreflect.EnumDescriptor
func (RequestFragmentationSessionStatus) Enum ¶
func (x RequestFragmentationSessionStatus) Enum() *RequestFragmentationSessionStatus
func (RequestFragmentationSessionStatus) EnumDescriptor
deprecated
func (RequestFragmentationSessionStatus) EnumDescriptor() ([]byte, []int)
Deprecated: Use RequestFragmentationSessionStatus.Descriptor instead.
func (RequestFragmentationSessionStatus) Number ¶
func (x RequestFragmentationSessionStatus) Number() protoreflect.EnumNumber
func (RequestFragmentationSessionStatus) String ¶
func (x RequestFragmentationSessionStatus) String() string
func (RequestFragmentationSessionStatus) Type ¶
func (RequestFragmentationSessionStatus) Type() protoreflect.EnumType
type UnimplementedFUOTAServerServiceServer ¶ added in v3.10.2
type UnimplementedFUOTAServerServiceServer struct { }
UnimplementedFUOTAServerServiceServer can be embedded to have forward compatible implementations.
func (*UnimplementedFUOTAServerServiceServer) CreateDeployment ¶ added in v3.10.2
func (*UnimplementedFUOTAServerServiceServer) CreateDeployment(context.Context, *CreateDeploymentRequest) (*CreateDeploymentResponse, error)
func (*UnimplementedFUOTAServerServiceServer) DeleteDeployment ¶ added in v3.10.2
func (*UnimplementedFUOTAServerServiceServer) DeleteDeployment(context.Context, *GetDeploymentStatusRequest) (*CreateDeploymentResponse, error)
func (*UnimplementedFUOTAServerServiceServer) GetDeploymentDeviceLogs ¶ added in v3.10.2
func (*UnimplementedFUOTAServerServiceServer) GetDeploymentDeviceLogs(context.Context, *GetDeploymentDeviceLogsRequest) (*GetDeploymentDeviceLogsResponse, error)
func (*UnimplementedFUOTAServerServiceServer) GetDeploymentStatus ¶ added in v3.10.2
func (*UnimplementedFUOTAServerServiceServer) GetDeploymentStatus(context.Context, *GetDeploymentStatusRequest) (*GetDeploymentStatusResponse, error)