_go

package
v4.0.0-...-6e01468 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 2, 2024 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Region_name = map[int32]string{
		0:  "EU868",
		2:  "US915",
		3:  "CN779",
		4:  "EU433",
		5:  "AU915",
		6:  "CN470",
		7:  "AS923",
		12: "AS923_2",
		13: "AS923_3",
		14: "AS923_4",
		8:  "KR920",
		9:  "IN865",
		10: "RU864",
		11: "ISM2400",
	}
	Region_value = map[string]int32{
		"EU868":   0,
		"US915":   2,
		"CN779":   3,
		"EU433":   4,
		"AU915":   5,
		"CN470":   6,
		"AS923":   7,
		"AS923_2": 12,
		"AS923_3": 13,
		"AS923_4": 14,
		"KR920":   8,
		"IN865":   9,
		"RU864":   10,
		"ISM2400": 11,
	}
)

Enum value maps for Region.

View Source
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.

View Source
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.

View Source
var File_fuota_proto protoreflect.FileDescriptor
View Source
var FuotaServerService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "fuota.FuotaServerService",
	HandlerType: (*FuotaServerServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "CreateDeployment",
			Handler:    _FuotaServerService_CreateDeployment_Handler,
		},
		{
			MethodName: "GetDeploymentStatus",
			Handler:    _FuotaServerService_GetDeploymentStatus_Handler,
		},
		{
			MethodName: "GetDeploymentDeviceLogs",
			Handler:    _FuotaServerService_GetDeploymentDeviceLogs_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "fuota.proto",
}

FuotaServerService_ServiceDesc is the grpc.ServiceDesc for FuotaServerService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

Functions

func RegisterFuotaServerServiceServer

func RegisterFuotaServerServiceServer(s grpc.ServiceRegistrar, 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 string `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() string

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 (UUID string).
	ApplicationId string `protobuf:"bytes,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"`
	// Multicast region.
	MulticastRegion Region `` /* 126-byte string literal not displayed */
	// 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 *durationpb.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 */
	// 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() string

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) 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) GetMulticastRegion

func (x *Deployment) GetMulticastRegion() Region

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() *durationpb.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 string `protobuf:"bytes,1,opt,name=dev_eui,json=devEui,proto3" json:"dev_eui,omitempty"`
	// McRootKey.
	McRootKey string `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() string

func (*DeploymentDevice) GetMcRootKey

func (x *DeploymentDevice) GetMcRootKey() string

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 *timestamppb.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() *timestamppb.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 string `protobuf:"bytes,1,opt,name=dev_eui,json=devEui,proto3" json:"dev_eui,omitempty"`
	// Created at.
	CreatedAt *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	// Updated at.
	UpdatedAt *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`
	// Multicast-group setup completed at.
	McGroupSetupCompletedAt *timestamppb.Timestamp `` /* 136-byte string literal not displayed */
	// Multicast-session completed at.
	McSessionCompletedAt *timestamppb.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 *timestamppb.Timestamp `` /* 148-byte string literal not displayed */
	// Fragmentation status completed at.
	FragStatusCompletedAt *timestamppb.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() *timestamppb.Timestamp

func (*DeploymentDeviceStatus) GetDevEui

func (x *DeploymentDeviceStatus) GetDevEui() string

func (*DeploymentDeviceStatus) GetFragSessionSetupCompletedAt

func (x *DeploymentDeviceStatus) GetFragSessionSetupCompletedAt() *timestamppb.Timestamp

func (*DeploymentDeviceStatus) GetFragStatusCompletedAt

func (x *DeploymentDeviceStatus) GetFragStatusCompletedAt() *timestamppb.Timestamp

func (*DeploymentDeviceStatus) GetMcGroupSetupCompletedAt

func (x *DeploymentDeviceStatus) GetMcGroupSetupCompletedAt() *timestamppb.Timestamp

func (*DeploymentDeviceStatus) GetMcSessionCompletedAt

func (x *DeploymentDeviceStatus) GetMcSessionCompletedAt() *timestamppb.Timestamp

func (*DeploymentDeviceStatus) GetUpdatedAt

func (x *DeploymentDeviceStatus) GetUpdatedAt() *timestamppb.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

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://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

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)
	// contains filtered or unexported methods
}

FuotaServerServiceServer is the server API for FuotaServerService service. All implementations must embed UnimplementedFuotaServerServiceServer for forward compatibility

type GetDeploymentDeviceLogsRequest

type GetDeploymentDeviceLogsRequest struct {

	// Deployment ID.
	DeploymentId string `protobuf:"bytes,1,opt,name=deployment_id,json=deploymentId,proto3" json:"deployment_id,omitempty"`
	// DevEUI.
	DevEui string `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() string

func (*GetDeploymentDeviceLogsRequest) GetDevEui

func (x *GetDeploymentDeviceLogsRequest) GetDevEui() string

func (*GetDeploymentDeviceLogsRequest) ProtoMessage

func (*GetDeploymentDeviceLogsRequest) ProtoMessage()

func (*GetDeploymentDeviceLogsRequest) ProtoReflect

func (*GetDeploymentDeviceLogsRequest) Reset

func (x *GetDeploymentDeviceLogsRequest) Reset()

func (*GetDeploymentDeviceLogsRequest) 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 (*GetDeploymentDeviceLogsResponse) ProtoMessage

func (*GetDeploymentDeviceLogsResponse) ProtoMessage()

func (*GetDeploymentDeviceLogsResponse) ProtoReflect

func (*GetDeploymentDeviceLogsResponse) Reset

func (*GetDeploymentDeviceLogsResponse) String

type GetDeploymentStatusRequest

type GetDeploymentStatusRequest struct {

	// Deployment ID.
	Id string `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 (*GetDeploymentStatusRequest) ProtoMessage

func (*GetDeploymentStatusRequest) ProtoMessage()

func (*GetDeploymentStatusRequest) ProtoReflect

func (*GetDeploymentStatusRequest) Reset

func (x *GetDeploymentStatusRequest) Reset()

func (*GetDeploymentStatusRequest) String

func (x *GetDeploymentStatusRequest) String() string

type GetDeploymentStatusResponse

type GetDeploymentStatusResponse struct {

	// Created at.
	CreatedAt *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	// Updated at.
	UpdatedAt *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`
	// Multicast-group setup completed at.
	McGroupSetupCompletedAt *timestamppb.Timestamp `` /* 136-byte string literal not displayed */
	// Multicast-session completed at.
	McSessionCompletedAt *timestamppb.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 *timestamppb.Timestamp `` /* 148-byte string literal not displayed */
	// Enqueue completed at.
	EnqueueCompletedAt *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=enqueue_completed_at,json=enqueueCompletedAt,proto3" json:"enqueue_completed_at,omitempty"`
	// Fragmentation status completed at.
	FragStatusCompletedAt *timestamppb.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 (*GetDeploymentStatusResponse) GetDeviceStatus

func (x *GetDeploymentStatusResponse) GetDeviceStatus() []*DeploymentDeviceStatus

func (*GetDeploymentStatusResponse) GetEnqueueCompletedAt

func (x *GetDeploymentStatusResponse) GetEnqueueCompletedAt() *timestamppb.Timestamp

func (*GetDeploymentStatusResponse) GetFragSessionSetupCompletedAt

func (x *GetDeploymentStatusResponse) GetFragSessionSetupCompletedAt() *timestamppb.Timestamp

func (*GetDeploymentStatusResponse) GetFragStatusCompletedAt

func (x *GetDeploymentStatusResponse) GetFragStatusCompletedAt() *timestamppb.Timestamp

func (*GetDeploymentStatusResponse) GetMcGroupSetupCompletedAt

func (x *GetDeploymentStatusResponse) GetMcGroupSetupCompletedAt() *timestamppb.Timestamp

func (*GetDeploymentStatusResponse) GetMcSessionCompletedAt

func (x *GetDeploymentStatusResponse) GetMcSessionCompletedAt() *timestamppb.Timestamp

func (*GetDeploymentStatusResponse) GetUpdatedAt

func (*GetDeploymentStatusResponse) ProtoMessage

func (*GetDeploymentStatusResponse) ProtoMessage()

func (*GetDeploymentStatusResponse) ProtoReflect

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) Enum

func (MulticastGroupType) EnumDescriptor deprecated

func (MulticastGroupType) EnumDescriptor() ([]byte, []int)

Deprecated: Use MulticastGroupType.Descriptor instead.

func (MulticastGroupType) Number

func (MulticastGroupType) String

func (x MulticastGroupType) String() string

func (MulticastGroupType) Type

type Region

type Region int32

Multicast region. Source: https://github.com/chirpstack/chirpstack/blob/master/api/proto/common/common.proto#L24.

const (
	// EU868
	Region_EU868 Region = 0
	// US915
	Region_US915 Region = 2
	// CN779
	Region_CN779 Region = 3
	// EU433
	Region_EU433 Region = 4
	// AU915
	Region_AU915 Region = 5
	// CN470
	Region_CN470 Region = 6
	// AS923
	Region_AS923 Region = 7
	// AS923 with -1.80 MHz frequency offset
	Region_AS923_2 Region = 12
	// AS923 with -6.60 MHz frequency offset
	Region_AS923_3 Region = 13
	// (AS923 with -5.90 MHz frequency offset).
	Region_AS923_4 Region = 14
	// KR920
	Region_KR920 Region = 8
	// IN865
	Region_IN865 Region = 9
	// RU864
	Region_RU864 Region = 10
	// ISM2400 (LoRaWAN 2.4 GHz)
	Region_ISM2400 Region = 11
)

func (Region) Descriptor

func (Region) Descriptor() protoreflect.EnumDescriptor

func (Region) Enum

func (x Region) Enum() *Region

func (Region) EnumDescriptor deprecated

func (Region) EnumDescriptor() ([]byte, []int)

Deprecated: Use Region.Descriptor instead.

func (Region) Number

func (x Region) Number() protoreflect.EnumNumber

func (Region) String

func (x Region) String() string

func (Region) Type

func (Region) 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) Enum

func (RequestFragmentationSessionStatus) EnumDescriptor deprecated

func (RequestFragmentationSessionStatus) EnumDescriptor() ([]byte, []int)

Deprecated: Use RequestFragmentationSessionStatus.Descriptor instead.

func (RequestFragmentationSessionStatus) Number

func (RequestFragmentationSessionStatus) String

func (RequestFragmentationSessionStatus) Type

type UnimplementedFuotaServerServiceServer

type UnimplementedFuotaServerServiceServer struct {
}

UnimplementedFuotaServerServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedFuotaServerServiceServer) CreateDeployment

func (UnimplementedFuotaServerServiceServer) GetDeploymentStatus

type UnsafeFuotaServerServiceServer

type UnsafeFuotaServerServiceServer interface {
	// contains filtered or unexported methods
}

UnsafeFuotaServerServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to FuotaServerServiceServer will result in compilation errors.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL