Documentation
¶
Index ¶
- Variables
- func RegisterFUOTAServerServiceServer(s *grpc.Server, srv FUOTAServerServiceServer)
- type CreateDeploymentRequest
- func (*CreateDeploymentRequest) Descriptor() ([]byte, []int)
- func (m *CreateDeploymentRequest) GetDeployment() *Deployment
- func (*CreateDeploymentRequest) ProtoMessage()
- func (m *CreateDeploymentRequest) Reset()
- func (m *CreateDeploymentRequest) String() string
- func (m *CreateDeploymentRequest) XXX_DiscardUnknown()
- func (m *CreateDeploymentRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CreateDeploymentRequest) XXX_Merge(src proto.Message)
- func (m *CreateDeploymentRequest) XXX_Size() int
- func (m *CreateDeploymentRequest) XXX_Unmarshal(b []byte) error
- type CreateDeploymentResponse
- func (*CreateDeploymentResponse) Descriptor() ([]byte, []int)
- func (m *CreateDeploymentResponse) GetId() []byte
- func (*CreateDeploymentResponse) ProtoMessage()
- func (m *CreateDeploymentResponse) Reset()
- func (m *CreateDeploymentResponse) String() string
- func (m *CreateDeploymentResponse) XXX_DiscardUnknown()
- func (m *CreateDeploymentResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CreateDeploymentResponse) XXX_Merge(src proto.Message)
- func (m *CreateDeploymentResponse) XXX_Size() int
- func (m *CreateDeploymentResponse) XXX_Unmarshal(b []byte) error
- type Deployment
- func (*Deployment) Descriptor() ([]byte, []int)
- func (m *Deployment) GetApplicationId() int64
- func (m *Deployment) GetDevices() []*DeploymentDevice
- func (m *Deployment) GetFragmentationBlockAckDelay() uint32
- func (m *Deployment) GetFragmentationDescriptor() []byte
- func (m *Deployment) GetFragmentationFragmentSize() uint32
- func (m *Deployment) GetFragmentationMatrix() uint32
- func (m *Deployment) GetFragmentationRedundancy() uint32
- func (m *Deployment) GetFragmentationSessionIndex() uint32
- func (m *Deployment) GetMulticastDr() uint32
- func (m *Deployment) GetMulticastFrequency() uint32
- func (m *Deployment) GetMulticastGroupId() uint32
- func (m *Deployment) GetMulticastGroupType() MulticastGroupType
- func (m *Deployment) GetMulticastPingSlotPeriod() uint32
- func (m *Deployment) GetMulticastTimeout() uint32
- func (m *Deployment) GetPayload() []byte
- func (m *Deployment) GetUnicastAttemptCount() uint32
- func (m *Deployment) GetUnicastTimeout() *duration.Duration
- func (*Deployment) ProtoMessage()
- func (m *Deployment) Reset()
- func (m *Deployment) String() string
- func (m *Deployment) XXX_DiscardUnknown()
- func (m *Deployment) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Deployment) XXX_Merge(src proto.Message)
- func (m *Deployment) XXX_Size() int
- func (m *Deployment) XXX_Unmarshal(b []byte) error
- type DeploymentDevice
- func (*DeploymentDevice) Descriptor() ([]byte, []int)
- func (m *DeploymentDevice) GetDevEui() []byte
- func (m *DeploymentDevice) GetMcRootKey() []byte
- func (*DeploymentDevice) ProtoMessage()
- func (m *DeploymentDevice) Reset()
- func (m *DeploymentDevice) String() string
- func (m *DeploymentDevice) XXX_DiscardUnknown()
- func (m *DeploymentDevice) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DeploymentDevice) XXX_Merge(src proto.Message)
- func (m *DeploymentDevice) XXX_Size() int
- func (m *DeploymentDevice) XXX_Unmarshal(b []byte) error
- type DeploymentDeviceLog
- func (*DeploymentDeviceLog) Descriptor() ([]byte, []int)
- func (m *DeploymentDeviceLog) GetCommand() string
- func (m *DeploymentDeviceLog) GetCreatedAt() *timestamp.Timestamp
- func (m *DeploymentDeviceLog) GetFPort() uint32
- func (m *DeploymentDeviceLog) GetFields() map[string]string
- func (*DeploymentDeviceLog) ProtoMessage()
- func (m *DeploymentDeviceLog) Reset()
- func (m *DeploymentDeviceLog) String() string
- func (m *DeploymentDeviceLog) XXX_DiscardUnknown()
- func (m *DeploymentDeviceLog) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DeploymentDeviceLog) XXX_Merge(src proto.Message)
- func (m *DeploymentDeviceLog) XXX_Size() int
- func (m *DeploymentDeviceLog) XXX_Unmarshal(b []byte) error
- type DeploymentDeviceStatus
- func (*DeploymentDeviceStatus) Descriptor() ([]byte, []int)
- func (m *DeploymentDeviceStatus) GetCreatedAt() *timestamp.Timestamp
- func (m *DeploymentDeviceStatus) GetDevEui() []byte
- func (m *DeploymentDeviceStatus) GetFragSessionSetupCompletedAt() *timestamp.Timestamp
- func (m *DeploymentDeviceStatus) GetFragStatusCompletedAt() *timestamp.Timestamp
- func (m *DeploymentDeviceStatus) GetMcGroupSetupCompletedAt() *timestamp.Timestamp
- func (m *DeploymentDeviceStatus) GetMcSessionCompletedAt() *timestamp.Timestamp
- func (m *DeploymentDeviceStatus) GetUpdatedAt() *timestamp.Timestamp
- func (*DeploymentDeviceStatus) ProtoMessage()
- func (m *DeploymentDeviceStatus) Reset()
- func (m *DeploymentDeviceStatus) String() string
- func (m *DeploymentDeviceStatus) XXX_DiscardUnknown()
- func (m *DeploymentDeviceStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DeploymentDeviceStatus) XXX_Merge(src proto.Message)
- func (m *DeploymentDeviceStatus) XXX_Size() int
- func (m *DeploymentDeviceStatus) XXX_Unmarshal(b []byte) error
- type FUOTAServerServiceClient
- type FUOTAServerServiceServer
- type GetDeploymentDeviceLogsRequest
- func (*GetDeploymentDeviceLogsRequest) Descriptor() ([]byte, []int)
- func (m *GetDeploymentDeviceLogsRequest) GetDeploymentId() []byte
- func (m *GetDeploymentDeviceLogsRequest) GetDevEui() []byte
- func (*GetDeploymentDeviceLogsRequest) ProtoMessage()
- func (m *GetDeploymentDeviceLogsRequest) Reset()
- func (m *GetDeploymentDeviceLogsRequest) String() string
- func (m *GetDeploymentDeviceLogsRequest) XXX_DiscardUnknown()
- func (m *GetDeploymentDeviceLogsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetDeploymentDeviceLogsRequest) XXX_Merge(src proto.Message)
- func (m *GetDeploymentDeviceLogsRequest) XXX_Size() int
- func (m *GetDeploymentDeviceLogsRequest) XXX_Unmarshal(b []byte) error
- type GetDeploymentDeviceLogsResponse
- func (*GetDeploymentDeviceLogsResponse) Descriptor() ([]byte, []int)
- func (m *GetDeploymentDeviceLogsResponse) GetLogs() []*DeploymentDeviceLog
- func (*GetDeploymentDeviceLogsResponse) ProtoMessage()
- func (m *GetDeploymentDeviceLogsResponse) Reset()
- func (m *GetDeploymentDeviceLogsResponse) String() string
- func (m *GetDeploymentDeviceLogsResponse) XXX_DiscardUnknown()
- func (m *GetDeploymentDeviceLogsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetDeploymentDeviceLogsResponse) XXX_Merge(src proto.Message)
- func (m *GetDeploymentDeviceLogsResponse) XXX_Size() int
- func (m *GetDeploymentDeviceLogsResponse) XXX_Unmarshal(b []byte) error
- type GetDeploymentStatusRequest
- func (*GetDeploymentStatusRequest) Descriptor() ([]byte, []int)
- func (m *GetDeploymentStatusRequest) GetId() []byte
- func (*GetDeploymentStatusRequest) ProtoMessage()
- func (m *GetDeploymentStatusRequest) Reset()
- func (m *GetDeploymentStatusRequest) String() string
- func (m *GetDeploymentStatusRequest) XXX_DiscardUnknown()
- func (m *GetDeploymentStatusRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetDeploymentStatusRequest) XXX_Merge(src proto.Message)
- func (m *GetDeploymentStatusRequest) XXX_Size() int
- func (m *GetDeploymentStatusRequest) XXX_Unmarshal(b []byte) error
- type GetDeploymentStatusResponse
- func (*GetDeploymentStatusResponse) Descriptor() ([]byte, []int)
- func (m *GetDeploymentStatusResponse) GetCreatedAt() *timestamp.Timestamp
- func (m *GetDeploymentStatusResponse) GetDeviceStatus() []*DeploymentDeviceStatus
- func (m *GetDeploymentStatusResponse) GetEnqueueCompletedAt() *timestamp.Timestamp
- func (m *GetDeploymentStatusResponse) GetFragSessionSetupCompletedAt() *timestamp.Timestamp
- func (m *GetDeploymentStatusResponse) GetFragStatusCompletedAt() *timestamp.Timestamp
- func (m *GetDeploymentStatusResponse) GetMcGroupSetupCompletedAt() *timestamp.Timestamp
- func (m *GetDeploymentStatusResponse) GetMcSessionCompletedAt() *timestamp.Timestamp
- func (m *GetDeploymentStatusResponse) GetUpdatedAt() *timestamp.Timestamp
- func (*GetDeploymentStatusResponse) ProtoMessage()
- func (m *GetDeploymentStatusResponse) Reset()
- func (m *GetDeploymentStatusResponse) String() string
- func (m *GetDeploymentStatusResponse) XXX_DiscardUnknown()
- func (m *GetDeploymentStatusResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetDeploymentStatusResponse) XXX_Merge(src proto.Message)
- func (m *GetDeploymentStatusResponse) XXX_Size() int
- func (m *GetDeploymentStatusResponse) XXX_Unmarshal(b []byte) error
- type MulticastGroupType
- type UnimplementedFUOTAServerServiceServer
- func (*UnimplementedFUOTAServerServiceServer) CreateDeployment(ctx context.Context, req *CreateDeploymentRequest) (*CreateDeploymentResponse, error)
- func (*UnimplementedFUOTAServerServiceServer) GetDeploymentDeviceLogs(ctx context.Context, req *GetDeploymentDeviceLogsRequest) (*GetDeploymentDeviceLogsResponse, error)
- func (*UnimplementedFUOTAServerServiceServer) GetDeploymentStatus(ctx context.Context, req *GetDeploymentStatusRequest) (*GetDeploymentStatusResponse, error)
Constants ¶
This section is empty.
Variables ¶
View Source
var MulticastGroupType_name = map[int32]string{
0: "CLASS_B",
1: "CLASS_C",
}
View Source
var MulticastGroupType_value = map[string]int32{
"CLASS_B": 0,
"CLASS_C": 1,
}
Functions ¶
func RegisterFUOTAServerServiceServer ¶
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"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*CreateDeploymentRequest) Descriptor ¶
func (*CreateDeploymentRequest) Descriptor() ([]byte, []int)
func (*CreateDeploymentRequest) GetDeployment ¶
func (m *CreateDeploymentRequest) GetDeployment() *Deployment
func (*CreateDeploymentRequest) ProtoMessage ¶
func (*CreateDeploymentRequest) ProtoMessage()
func (*CreateDeploymentRequest) Reset ¶
func (m *CreateDeploymentRequest) Reset()
func (*CreateDeploymentRequest) String ¶
func (m *CreateDeploymentRequest) String() string
func (*CreateDeploymentRequest) XXX_DiscardUnknown ¶
func (m *CreateDeploymentRequest) XXX_DiscardUnknown()
func (*CreateDeploymentRequest) XXX_Marshal ¶
func (m *CreateDeploymentRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CreateDeploymentRequest) XXX_Merge ¶
func (m *CreateDeploymentRequest) XXX_Merge(src proto.Message)
func (*CreateDeploymentRequest) XXX_Size ¶
func (m *CreateDeploymentRequest) XXX_Size() int
func (*CreateDeploymentRequest) XXX_Unmarshal ¶
func (m *CreateDeploymentRequest) XXX_Unmarshal(b []byte) error
type CreateDeploymentResponse ¶
type CreateDeploymentResponse struct {
// ID of the created deployment.
Id []byte `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*CreateDeploymentResponse) Descriptor ¶
func (*CreateDeploymentResponse) Descriptor() ([]byte, []int)
func (*CreateDeploymentResponse) GetId ¶
func (m *CreateDeploymentResponse) GetId() []byte
func (*CreateDeploymentResponse) ProtoMessage ¶
func (*CreateDeploymentResponse) ProtoMessage()
func (*CreateDeploymentResponse) Reset ¶
func (m *CreateDeploymentResponse) Reset()
func (*CreateDeploymentResponse) String ¶
func (m *CreateDeploymentResponse) String() string
func (*CreateDeploymentResponse) XXX_DiscardUnknown ¶
func (m *CreateDeploymentResponse) XXX_DiscardUnknown()
func (*CreateDeploymentResponse) XXX_Marshal ¶
func (m *CreateDeploymentResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CreateDeploymentResponse) XXX_Merge ¶
func (m *CreateDeploymentResponse) XXX_Merge(src proto.Message)
func (*CreateDeploymentResponse) XXX_Size ¶
func (m *CreateDeploymentResponse) XXX_Size() int
func (*CreateDeploymentResponse) XXX_Unmarshal ¶
func (m *CreateDeploymentResponse) XXX_Unmarshal(b []byte) error
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.
// 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,15,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 */
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*Deployment) Descriptor ¶
func (*Deployment) Descriptor() ([]byte, []int)
func (*Deployment) GetApplicationId ¶
func (m *Deployment) GetApplicationId() int64
func (*Deployment) GetDevices ¶
func (m *Deployment) GetDevices() []*DeploymentDevice
func (*Deployment) GetFragmentationBlockAckDelay ¶
func (m *Deployment) GetFragmentationBlockAckDelay() uint32
func (*Deployment) GetFragmentationDescriptor ¶
func (m *Deployment) GetFragmentationDescriptor() []byte
func (*Deployment) GetFragmentationFragmentSize ¶
func (m *Deployment) GetFragmentationFragmentSize() uint32
func (*Deployment) GetFragmentationMatrix ¶
func (m *Deployment) GetFragmentationMatrix() uint32
func (*Deployment) GetFragmentationRedundancy ¶
func (m *Deployment) GetFragmentationRedundancy() uint32
func (*Deployment) GetFragmentationSessionIndex ¶
func (m *Deployment) GetFragmentationSessionIndex() uint32
func (*Deployment) GetMulticastDr ¶
func (m *Deployment) GetMulticastDr() uint32
func (*Deployment) GetMulticastFrequency ¶
func (m *Deployment) GetMulticastFrequency() uint32
func (*Deployment) GetMulticastGroupId ¶
func (m *Deployment) GetMulticastGroupId() uint32
func (*Deployment) GetMulticastGroupType ¶
func (m *Deployment) GetMulticastGroupType() MulticastGroupType
func (*Deployment) GetMulticastPingSlotPeriod ¶
func (m *Deployment) GetMulticastPingSlotPeriod() uint32
func (*Deployment) GetMulticastTimeout ¶
func (m *Deployment) GetMulticastTimeout() uint32
func (*Deployment) GetPayload ¶
func (m *Deployment) GetPayload() []byte
func (*Deployment) GetUnicastAttemptCount ¶
func (m *Deployment) GetUnicastAttemptCount() uint32
func (*Deployment) GetUnicastTimeout ¶
func (m *Deployment) GetUnicastTimeout() *duration.Duration
func (*Deployment) ProtoMessage ¶
func (*Deployment) ProtoMessage()
func (*Deployment) Reset ¶
func (m *Deployment) Reset()
func (*Deployment) String ¶
func (m *Deployment) String() string
func (*Deployment) XXX_DiscardUnknown ¶
func (m *Deployment) XXX_DiscardUnknown()
func (*Deployment) XXX_Marshal ¶
func (m *Deployment) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*Deployment) XXX_Merge ¶
func (m *Deployment) XXX_Merge(src proto.Message)
func (*Deployment) XXX_Size ¶
func (m *Deployment) XXX_Size() int
func (*Deployment) XXX_Unmarshal ¶
func (m *Deployment) XXX_Unmarshal(b []byte) error
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"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*DeploymentDevice) Descriptor ¶
func (*DeploymentDevice) Descriptor() ([]byte, []int)
func (*DeploymentDevice) GetDevEui ¶
func (m *DeploymentDevice) GetDevEui() []byte
func (*DeploymentDevice) GetMcRootKey ¶
func (m *DeploymentDevice) GetMcRootKey() []byte
func (*DeploymentDevice) ProtoMessage ¶
func (*DeploymentDevice) ProtoMessage()
func (*DeploymentDevice) Reset ¶
func (m *DeploymentDevice) Reset()
func (*DeploymentDevice) String ¶
func (m *DeploymentDevice) String() string
func (*DeploymentDevice) XXX_DiscardUnknown ¶
func (m *DeploymentDevice) XXX_DiscardUnknown()
func (*DeploymentDevice) XXX_Marshal ¶
func (m *DeploymentDevice) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DeploymentDevice) XXX_Merge ¶
func (m *DeploymentDevice) XXX_Merge(src proto.Message)
func (*DeploymentDevice) XXX_Size ¶
func (m *DeploymentDevice) XXX_Size() int
func (*DeploymentDevice) XXX_Unmarshal ¶
func (m *DeploymentDevice) XXX_Unmarshal(b []byte) error
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 */
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*DeploymentDeviceLog) Descriptor ¶
func (*DeploymentDeviceLog) Descriptor() ([]byte, []int)
func (*DeploymentDeviceLog) GetCommand ¶
func (m *DeploymentDeviceLog) GetCommand() string
func (*DeploymentDeviceLog) GetCreatedAt ¶
func (m *DeploymentDeviceLog) GetCreatedAt() *timestamp.Timestamp
func (*DeploymentDeviceLog) GetFPort ¶
func (m *DeploymentDeviceLog) GetFPort() uint32
func (*DeploymentDeviceLog) GetFields ¶
func (m *DeploymentDeviceLog) GetFields() map[string]string
func (*DeploymentDeviceLog) ProtoMessage ¶
func (*DeploymentDeviceLog) ProtoMessage()
func (*DeploymentDeviceLog) Reset ¶
func (m *DeploymentDeviceLog) Reset()
func (*DeploymentDeviceLog) String ¶
func (m *DeploymentDeviceLog) String() string
func (*DeploymentDeviceLog) XXX_DiscardUnknown ¶
func (m *DeploymentDeviceLog) XXX_DiscardUnknown()
func (*DeploymentDeviceLog) XXX_Marshal ¶
func (m *DeploymentDeviceLog) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DeploymentDeviceLog) XXX_Merge ¶
func (m *DeploymentDeviceLog) XXX_Merge(src proto.Message)
func (*DeploymentDeviceLog) XXX_Size ¶
func (m *DeploymentDeviceLog) XXX_Size() int
func (*DeploymentDeviceLog) XXX_Unmarshal ¶
func (m *DeploymentDeviceLog) XXX_Unmarshal(b []byte) error
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 */
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*DeploymentDeviceStatus) Descriptor ¶
func (*DeploymentDeviceStatus) Descriptor() ([]byte, []int)
func (*DeploymentDeviceStatus) GetCreatedAt ¶
func (m *DeploymentDeviceStatus) GetCreatedAt() *timestamp.Timestamp
func (*DeploymentDeviceStatus) GetDevEui ¶
func (m *DeploymentDeviceStatus) GetDevEui() []byte
func (*DeploymentDeviceStatus) GetFragSessionSetupCompletedAt ¶
func (m *DeploymentDeviceStatus) GetFragSessionSetupCompletedAt() *timestamp.Timestamp
func (*DeploymentDeviceStatus) GetFragStatusCompletedAt ¶
func (m *DeploymentDeviceStatus) GetFragStatusCompletedAt() *timestamp.Timestamp
func (*DeploymentDeviceStatus) GetMcGroupSetupCompletedAt ¶
func (m *DeploymentDeviceStatus) GetMcGroupSetupCompletedAt() *timestamp.Timestamp
func (*DeploymentDeviceStatus) GetMcSessionCompletedAt ¶
func (m *DeploymentDeviceStatus) GetMcSessionCompletedAt() *timestamp.Timestamp
func (*DeploymentDeviceStatus) GetUpdatedAt ¶
func (m *DeploymentDeviceStatus) GetUpdatedAt() *timestamp.Timestamp
func (*DeploymentDeviceStatus) ProtoMessage ¶
func (*DeploymentDeviceStatus) ProtoMessage()
func (*DeploymentDeviceStatus) Reset ¶
func (m *DeploymentDeviceStatus) Reset()
func (*DeploymentDeviceStatus) String ¶
func (m *DeploymentDeviceStatus) String() string
func (*DeploymentDeviceStatus) XXX_DiscardUnknown ¶
func (m *DeploymentDeviceStatus) XXX_DiscardUnknown()
func (*DeploymentDeviceStatus) XXX_Marshal ¶
func (m *DeploymentDeviceStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DeploymentDeviceStatus) XXX_Merge ¶
func (m *DeploymentDeviceStatus) XXX_Merge(src proto.Message)
func (*DeploymentDeviceStatus) XXX_Size ¶
func (m *DeploymentDeviceStatus) XXX_Size() int
func (*DeploymentDeviceStatus) XXX_Unmarshal ¶
func (m *DeploymentDeviceStatus) XXX_Unmarshal(b []byte) error
type FUOTAServerServiceClient ¶
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)
}
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 ¶
func NewFUOTAServerServiceClient(cc grpc.ClientConnInterface) FUOTAServerServiceClient
type FUOTAServerServiceServer ¶
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)
}
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"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*GetDeploymentDeviceLogsRequest) Descriptor ¶
func (*GetDeploymentDeviceLogsRequest) Descriptor() ([]byte, []int)
func (*GetDeploymentDeviceLogsRequest) GetDeploymentId ¶
func (m *GetDeploymentDeviceLogsRequest) GetDeploymentId() []byte
func (*GetDeploymentDeviceLogsRequest) GetDevEui ¶
func (m *GetDeploymentDeviceLogsRequest) GetDevEui() []byte
func (*GetDeploymentDeviceLogsRequest) ProtoMessage ¶
func (*GetDeploymentDeviceLogsRequest) ProtoMessage()
func (*GetDeploymentDeviceLogsRequest) Reset ¶
func (m *GetDeploymentDeviceLogsRequest) Reset()
func (*GetDeploymentDeviceLogsRequest) String ¶
func (m *GetDeploymentDeviceLogsRequest) String() string
func (*GetDeploymentDeviceLogsRequest) XXX_DiscardUnknown ¶
func (m *GetDeploymentDeviceLogsRequest) XXX_DiscardUnknown()
func (*GetDeploymentDeviceLogsRequest) XXX_Marshal ¶
func (m *GetDeploymentDeviceLogsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetDeploymentDeviceLogsRequest) XXX_Merge ¶
func (m *GetDeploymentDeviceLogsRequest) XXX_Merge(src proto.Message)
func (*GetDeploymentDeviceLogsRequest) XXX_Size ¶
func (m *GetDeploymentDeviceLogsRequest) XXX_Size() int
func (*GetDeploymentDeviceLogsRequest) XXX_Unmarshal ¶
func (m *GetDeploymentDeviceLogsRequest) XXX_Unmarshal(b []byte) error
type GetDeploymentDeviceLogsResponse ¶
type GetDeploymentDeviceLogsResponse struct {
Logs []*DeploymentDeviceLog `protobuf:"bytes,1,rep,name=logs,proto3" json:"logs,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*GetDeploymentDeviceLogsResponse) Descriptor ¶
func (*GetDeploymentDeviceLogsResponse) Descriptor() ([]byte, []int)
func (*GetDeploymentDeviceLogsResponse) GetLogs ¶
func (m *GetDeploymentDeviceLogsResponse) GetLogs() []*DeploymentDeviceLog
func (*GetDeploymentDeviceLogsResponse) ProtoMessage ¶
func (*GetDeploymentDeviceLogsResponse) ProtoMessage()
func (*GetDeploymentDeviceLogsResponse) Reset ¶
func (m *GetDeploymentDeviceLogsResponse) Reset()
func (*GetDeploymentDeviceLogsResponse) String ¶
func (m *GetDeploymentDeviceLogsResponse) String() string
func (*GetDeploymentDeviceLogsResponse) XXX_DiscardUnknown ¶
func (m *GetDeploymentDeviceLogsResponse) XXX_DiscardUnknown()
func (*GetDeploymentDeviceLogsResponse) XXX_Marshal ¶
func (m *GetDeploymentDeviceLogsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetDeploymentDeviceLogsResponse) XXX_Merge ¶
func (m *GetDeploymentDeviceLogsResponse) XXX_Merge(src proto.Message)
func (*GetDeploymentDeviceLogsResponse) XXX_Size ¶
func (m *GetDeploymentDeviceLogsResponse) XXX_Size() int
func (*GetDeploymentDeviceLogsResponse) XXX_Unmarshal ¶
func (m *GetDeploymentDeviceLogsResponse) XXX_Unmarshal(b []byte) error
type GetDeploymentStatusRequest ¶
type GetDeploymentStatusRequest struct {
// Deployment ID.
Id []byte `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*GetDeploymentStatusRequest) Descriptor ¶
func (*GetDeploymentStatusRequest) Descriptor() ([]byte, []int)
func (*GetDeploymentStatusRequest) GetId ¶
func (m *GetDeploymentStatusRequest) GetId() []byte
func (*GetDeploymentStatusRequest) ProtoMessage ¶
func (*GetDeploymentStatusRequest) ProtoMessage()
func (*GetDeploymentStatusRequest) Reset ¶
func (m *GetDeploymentStatusRequest) Reset()
func (*GetDeploymentStatusRequest) String ¶
func (m *GetDeploymentStatusRequest) String() string
func (*GetDeploymentStatusRequest) XXX_DiscardUnknown ¶
func (m *GetDeploymentStatusRequest) XXX_DiscardUnknown()
func (*GetDeploymentStatusRequest) XXX_Marshal ¶
func (m *GetDeploymentStatusRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetDeploymentStatusRequest) XXX_Merge ¶
func (m *GetDeploymentStatusRequest) XXX_Merge(src proto.Message)
func (*GetDeploymentStatusRequest) XXX_Size ¶
func (m *GetDeploymentStatusRequest) XXX_Size() int
func (*GetDeploymentStatusRequest) XXX_Unmarshal ¶
func (m *GetDeploymentStatusRequest) XXX_Unmarshal(b []byte) error
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"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*GetDeploymentStatusResponse) Descriptor ¶
func (*GetDeploymentStatusResponse) Descriptor() ([]byte, []int)
func (*GetDeploymentStatusResponse) GetCreatedAt ¶
func (m *GetDeploymentStatusResponse) GetCreatedAt() *timestamp.Timestamp
func (*GetDeploymentStatusResponse) GetDeviceStatus ¶
func (m *GetDeploymentStatusResponse) GetDeviceStatus() []*DeploymentDeviceStatus
func (*GetDeploymentStatusResponse) GetEnqueueCompletedAt ¶
func (m *GetDeploymentStatusResponse) GetEnqueueCompletedAt() *timestamp.Timestamp
func (*GetDeploymentStatusResponse) GetFragSessionSetupCompletedAt ¶
func (m *GetDeploymentStatusResponse) GetFragSessionSetupCompletedAt() *timestamp.Timestamp
func (*GetDeploymentStatusResponse) GetFragStatusCompletedAt ¶
func (m *GetDeploymentStatusResponse) GetFragStatusCompletedAt() *timestamp.Timestamp
func (*GetDeploymentStatusResponse) GetMcGroupSetupCompletedAt ¶
func (m *GetDeploymentStatusResponse) GetMcGroupSetupCompletedAt() *timestamp.Timestamp
func (*GetDeploymentStatusResponse) GetMcSessionCompletedAt ¶
func (m *GetDeploymentStatusResponse) GetMcSessionCompletedAt() *timestamp.Timestamp
func (*GetDeploymentStatusResponse) GetUpdatedAt ¶
func (m *GetDeploymentStatusResponse) GetUpdatedAt() *timestamp.Timestamp
func (*GetDeploymentStatusResponse) ProtoMessage ¶
func (*GetDeploymentStatusResponse) ProtoMessage()
func (*GetDeploymentStatusResponse) Reset ¶
func (m *GetDeploymentStatusResponse) Reset()
func (*GetDeploymentStatusResponse) String ¶
func (m *GetDeploymentStatusResponse) String() string
func (*GetDeploymentStatusResponse) XXX_DiscardUnknown ¶
func (m *GetDeploymentStatusResponse) XXX_DiscardUnknown()
func (*GetDeploymentStatusResponse) XXX_Marshal ¶
func (m *GetDeploymentStatusResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetDeploymentStatusResponse) XXX_Merge ¶
func (m *GetDeploymentStatusResponse) XXX_Merge(src proto.Message)
func (*GetDeploymentStatusResponse) XXX_Size ¶
func (m *GetDeploymentStatusResponse) XXX_Size() int
func (*GetDeploymentStatusResponse) XXX_Unmarshal ¶
func (m *GetDeploymentStatusResponse) XXX_Unmarshal(b []byte) error
type MulticastGroupType ¶
type MulticastGroupType int32
const ( // Class-B. MulticastGroupType_CLASS_B MulticastGroupType = 0 // Class-C. MulticastGroupType_CLASS_C MulticastGroupType = 1 )
func (MulticastGroupType) EnumDescriptor ¶
func (MulticastGroupType) EnumDescriptor() ([]byte, []int)
func (MulticastGroupType) String ¶
func (x MulticastGroupType) String() string
type UnimplementedFUOTAServerServiceServer ¶
type UnimplementedFUOTAServerServiceServer struct {
}
UnimplementedFUOTAServerServiceServer can be embedded to have forward compatible implementations.
func (*UnimplementedFUOTAServerServiceServer) CreateDeployment ¶
func (*UnimplementedFUOTAServerServiceServer) CreateDeployment(ctx context.Context, req *CreateDeploymentRequest) (*CreateDeploymentResponse, error)
func (*UnimplementedFUOTAServerServiceServer) GetDeploymentDeviceLogs ¶
func (*UnimplementedFUOTAServerServiceServer) GetDeploymentDeviceLogs(ctx context.Context, req *GetDeploymentDeviceLogsRequest) (*GetDeploymentDeviceLogsResponse, error)
func (*UnimplementedFUOTAServerServiceServer) GetDeploymentStatus ¶
func (*UnimplementedFUOTAServerServiceServer) GetDeploymentStatus(ctx context.Context, req *GetDeploymentStatusRequest) (*GetDeploymentStatusResponse, error)
Click to show internal directories.
Click to hide internal directories.