Documentation ¶
Index ¶
- Variables
- type CommandId
- type CoreCommand
- func (*CoreCommand) Descriptor() ([]byte, []int)deprecated
- func (m *CoreCommand) GetData() isCoreCommand_Data
- func (x *CoreCommand) GetGetPersistentParameter() *GetPersistentParameterCommand
- func (x *CoreCommand) GetId() CommandId
- func (x *CoreCommand) GetLoadFirmwareChunk() *LoadFirmwareChunkCommand
- func (x *CoreCommand) GetProgramHardwareIdentification() *ProgramHardwareIdentificationCommand
- func (x *CoreCommand) GetReadPartitionChunk() *ReadPartitionChunkCommand
- func (x *CoreCommand) GetSetPersistentParameter() *SetPersistentParameterCommand
- func (*CoreCommand) ProtoMessage()
- func (x *CoreCommand) ProtoReflect() protoreflect.Message
- func (x *CoreCommand) Reset()
- func (x *CoreCommand) String() string
- type CoreCommand_GetPersistentParameter
- type CoreCommand_LoadFirmwareChunk
- type CoreCommand_ProgramHardwareIdentification
- type CoreCommand_ReadPartitionChunk
- type CoreCommand_SetPersistentParameter
- type CoreResponse
- func (*CoreResponse) Descriptor() ([]byte, []int)deprecated
- func (m *CoreResponse) GetData() isCoreResponse_Data
- func (x *CoreResponse) GetId() CommandId
- func (x *CoreResponse) GetIdentifyFirmware() *IdentifyFirmwareResponse
- func (x *CoreResponse) GetIdentifyHardware() *IdentifyHardwareResponse
- func (x *CoreResponse) GetPersistentParameter() *GetPersistentParameterResponse
- func (x *CoreResponse) GetReadPartitionChunk() *ReadPartitionChunkResponse
- func (x *CoreResponse) GetResetReason() *GetResetReasonResponse
- func (x *CoreResponse) GetRestartingNow() bool
- func (x *CoreResponse) GetStatus() Status
- func (*CoreResponse) ProtoMessage()
- func (x *CoreResponse) ProtoReflect() protoreflect.Message
- func (x *CoreResponse) Reset()
- func (x *CoreResponse) String() string
- type CoreResponse_IdentifyFirmware
- type CoreResponse_IdentifyHardware
- type CoreResponse_PersistentParameter
- type CoreResponse_ReadPartitionChunk
- type CoreResponse_ResetReason
- type GetPersistentParameterCommand
- func (*GetPersistentParameterCommand) Descriptor() ([]byte, []int)deprecated
- func (x *GetPersistentParameterCommand) GetName() string
- func (*GetPersistentParameterCommand) ProtoMessage()
- func (x *GetPersistentParameterCommand) ProtoReflect() protoreflect.Message
- func (x *GetPersistentParameterCommand) Reset()
- func (x *GetPersistentParameterCommand) String() string
- type GetPersistentParameterResponse
- func (*GetPersistentParameterResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetPersistentParameterResponse) GetValue() string
- func (*GetPersistentParameterResponse) ProtoMessage()
- func (x *GetPersistentParameterResponse) ProtoReflect() protoreflect.Message
- func (x *GetPersistentParameterResponse) Reset()
- func (x *GetPersistentParameterResponse) String() string
- type GetResetReasonResponse
- func (*GetResetReasonResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetResetReasonResponse) GetReason() string
- func (*GetResetReasonResponse) ProtoMessage()
- func (x *GetResetReasonResponse) ProtoReflect() protoreflect.Message
- func (x *GetResetReasonResponse) Reset()
- func (x *GetResetReasonResponse) String() string
- type IdentifyFirmwareResponse
- func (*IdentifyFirmwareResponse) Descriptor() ([]byte, []int)deprecated
- func (x *IdentifyFirmwareResponse) GetName() string
- func (x *IdentifyFirmwareResponse) GetVersion() string
- func (*IdentifyFirmwareResponse) ProtoMessage()
- func (x *IdentifyFirmwareResponse) ProtoReflect() protoreflect.Message
- func (x *IdentifyFirmwareResponse) Reset()
- func (x *IdentifyFirmwareResponse) String() string
- type IdentifyHardwareResponse
- func (*IdentifyHardwareResponse) Descriptor() ([]byte, []int)deprecated
- func (x *IdentifyHardwareResponse) GetMajorVersion() uint32
- func (x *IdentifyHardwareResponse) GetRootArticle() string
- func (x *IdentifyHardwareResponse) GetSerialNumber() string
- func (*IdentifyHardwareResponse) ProtoMessage()
- func (x *IdentifyHardwareResponse) ProtoReflect() protoreflect.Message
- func (x *IdentifyHardwareResponse) Reset()
- func (x *IdentifyHardwareResponse) String() string
- type LoadFirmwareChunkCommand
- func (*LoadFirmwareChunkCommand) Descriptor() ([]byte, []int)deprecated
- func (x *LoadFirmwareChunkCommand) GetChunkNumber() uint32
- func (x *LoadFirmwareChunkCommand) GetData() []byte
- func (x *LoadFirmwareChunkCommand) GetIsLastChunk() bool
- func (*LoadFirmwareChunkCommand) ProtoMessage()
- func (x *LoadFirmwareChunkCommand) ProtoReflect() protoreflect.Message
- func (x *LoadFirmwareChunkCommand) Reset()
- func (x *LoadFirmwareChunkCommand) String() string
- type ProgramHardwareIdentificationCommand
- func (*ProgramHardwareIdentificationCommand) Descriptor() ([]byte, []int)deprecated
- func (x *ProgramHardwareIdentificationCommand) GetMajorVersion() uint32
- func (x *ProgramHardwareIdentificationCommand) GetRootArticle() string
- func (x *ProgramHardwareIdentificationCommand) GetSerialNumber() string
- func (x *ProgramHardwareIdentificationCommand) GetSignature() string
- func (*ProgramHardwareIdentificationCommand) ProtoMessage()
- func (x *ProgramHardwareIdentificationCommand) ProtoReflect() protoreflect.Message
- func (x *ProgramHardwareIdentificationCommand) Reset()
- func (x *ProgramHardwareIdentificationCommand) String() string
- type ReadPartitionChunkCommand
- func (*ReadPartitionChunkCommand) Descriptor() ([]byte, []int)deprecated
- func (x *ReadPartitionChunkCommand) GetOffset() uint32
- func (x *ReadPartitionChunkCommand) GetPartName() string
- func (*ReadPartitionChunkCommand) ProtoMessage()
- func (x *ReadPartitionChunkCommand) ProtoReflect() protoreflect.Message
- func (x *ReadPartitionChunkCommand) Reset()
- func (x *ReadPartitionChunkCommand) String() string
- type ReadPartitionChunkResponse
- func (*ReadPartitionChunkResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ReadPartitionChunkResponse) GetData() []byte
- func (x *ReadPartitionChunkResponse) GetOffset() uint32
- func (x *ReadPartitionChunkResponse) GetPartName() string
- func (*ReadPartitionChunkResponse) ProtoMessage()
- func (x *ReadPartitionChunkResponse) ProtoReflect() protoreflect.Message
- func (x *ReadPartitionChunkResponse) Reset()
- func (x *ReadPartitionChunkResponse) String() string
- type SetPersistentParameterCommand
- func (*SetPersistentParameterCommand) Descriptor() ([]byte, []int)deprecated
- func (x *SetPersistentParameterCommand) GetName() string
- func (x *SetPersistentParameterCommand) GetValue() string
- func (*SetPersistentParameterCommand) ProtoMessage()
- func (x *SetPersistentParameterCommand) ProtoReflect() protoreflect.Message
- func (x *SetPersistentParameterCommand) Reset()
- func (x *SetPersistentParameterCommand) String() string
- type Status
Constants ¶
This section is empty.
Variables ¶
var ( CommandId_name = map[int32]string{ 0: "IDENTIFY_HARDWARE", 1: "IDENTIFY_FIRMWARE", 2: "LOAD_FIRMWARE_CHUNK", 3: "PROGRAM_HARDWARE_IDENTIFICATION", 4: "RESTART", 5: "SET_PERSISTENT_PARAMETER", 6: "GET_PERSISTENT_PARAMETER", 7: "READ_PARTITION_CHUNK", 8: "GET_RESET_REASON", } CommandId_value = map[string]int32{ "IDENTIFY_HARDWARE": 0, "IDENTIFY_FIRMWARE": 1, "LOAD_FIRMWARE_CHUNK": 2, "PROGRAM_HARDWARE_IDENTIFICATION": 3, "RESTART": 4, "SET_PERSISTENT_PARAMETER": 5, "GET_PERSISTENT_PARAMETER": 6, "READ_PARTITION_CHUNK": 7, "GET_RESET_REASON": 8, } )
Enum value maps for CommandId.
var ( Status_name = map[int32]string{ 0: "OK", 1: "UNKNOWN_COMMAND", 2: "ILLEGAL_PARAMETER", 3: "BAD_CHUNK_SEQ", 4: "BAD_CHUNK_SIZE", 5: "NOT_COMPATIBLE", 6: "INTERNAL_ERROR", 7: "PROGRAMMING_ERROR", 8: "NO_HW_INVENTORY", 9: "THIS_VERSION_FAILED_ALREADY", } Status_value = map[string]int32{ "OK": 0, "UNKNOWN_COMMAND": 1, "ILLEGAL_PARAMETER": 2, "BAD_CHUNK_SEQ": 3, "BAD_CHUNK_SIZE": 4, "NOT_COMPATIBLE": 5, "INTERNAL_ERROR": 6, "PROGRAMMING_ERROR": 7, "NO_HW_INVENTORY": 8, "THIS_VERSION_FAILED_ALREADY": 9, } )
Enum value maps for Status.
var File_io4edge_core_api_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type CommandId ¶
type CommandId int32
const ( CommandId_IDENTIFY_HARDWARE CommandId = 0 CommandId_IDENTIFY_FIRMWARE CommandId = 1 CommandId_LOAD_FIRMWARE_CHUNK CommandId = 2 CommandId_PROGRAM_HARDWARE_IDENTIFICATION CommandId = 3 CommandId_RESTART CommandId = 4 CommandId_SET_PERSISTENT_PARAMETER CommandId = 5 CommandId_GET_PERSISTENT_PARAMETER CommandId = 6 CommandId_READ_PARTITION_CHUNK CommandId = 7 CommandId_GET_RESET_REASON CommandId = 8 )
func (CommandId) Descriptor ¶
func (CommandId) Descriptor() protoreflect.EnumDescriptor
func (CommandId) EnumDescriptor
deprecated
func (CommandId) Number ¶
func (x CommandId) Number() protoreflect.EnumNumber
func (CommandId) Type ¶
func (CommandId) Type() protoreflect.EnumType
type CoreCommand ¶
type CoreCommand struct { Id CommandId `protobuf:"varint,1,opt,name=id,proto3,enum=io4edgeCoreApi.CommandId" json:"id,omitempty"` // Types that are assignable to Data: // // *CoreCommand_LoadFirmwareChunk // *CoreCommand_ProgramHardwareIdentification // *CoreCommand_SetPersistentParameter // *CoreCommand_GetPersistentParameter // *CoreCommand_ReadPartitionChunk Data isCoreCommand_Data `protobuf_oneof:"data"` // contains filtered or unexported fields }
The common messages
func (*CoreCommand) Descriptor
deprecated
func (*CoreCommand) Descriptor() ([]byte, []int)
Deprecated: Use CoreCommand.ProtoReflect.Descriptor instead.
func (*CoreCommand) GetData ¶
func (m *CoreCommand) GetData() isCoreCommand_Data
func (*CoreCommand) GetGetPersistentParameter ¶
func (x *CoreCommand) GetGetPersistentParameter() *GetPersistentParameterCommand
func (*CoreCommand) GetId ¶
func (x *CoreCommand) GetId() CommandId
func (*CoreCommand) GetLoadFirmwareChunk ¶
func (x *CoreCommand) GetLoadFirmwareChunk() *LoadFirmwareChunkCommand
func (*CoreCommand) GetProgramHardwareIdentification ¶
func (x *CoreCommand) GetProgramHardwareIdentification() *ProgramHardwareIdentificationCommand
func (*CoreCommand) GetReadPartitionChunk ¶ added in v1.0.0
func (x *CoreCommand) GetReadPartitionChunk() *ReadPartitionChunkCommand
func (*CoreCommand) GetSetPersistentParameter ¶
func (x *CoreCommand) GetSetPersistentParameter() *SetPersistentParameterCommand
func (*CoreCommand) ProtoMessage ¶
func (*CoreCommand) ProtoMessage()
func (*CoreCommand) ProtoReflect ¶
func (x *CoreCommand) ProtoReflect() protoreflect.Message
func (*CoreCommand) Reset ¶
func (x *CoreCommand) Reset()
func (*CoreCommand) String ¶
func (x *CoreCommand) String() string
type CoreCommand_GetPersistentParameter ¶
type CoreCommand_GetPersistentParameter struct {
GetPersistentParameter *GetPersistentParameterCommand `protobuf:"bytes,5,opt,name=get_persistent_parameter,json=getPersistentParameter,proto3,oneof"`
}
type CoreCommand_LoadFirmwareChunk ¶
type CoreCommand_LoadFirmwareChunk struct {
LoadFirmwareChunk *LoadFirmwareChunkCommand `protobuf:"bytes,2,opt,name=load_firmware_chunk,json=loadFirmwareChunk,proto3,oneof"`
}
type CoreCommand_ProgramHardwareIdentification ¶
type CoreCommand_ProgramHardwareIdentification struct {
ProgramHardwareIdentification *ProgramHardwareIdentificationCommand `protobuf:"bytes,3,opt,name=program_hardware_identification,json=programHardwareIdentification,proto3,oneof"`
}
type CoreCommand_ReadPartitionChunk ¶ added in v1.0.0
type CoreCommand_ReadPartitionChunk struct {
ReadPartitionChunk *ReadPartitionChunkCommand `protobuf:"bytes,6,opt,name=read_partition_chunk,json=readPartitionChunk,proto3,oneof"`
}
type CoreCommand_SetPersistentParameter ¶
type CoreCommand_SetPersistentParameter struct {
SetPersistentParameter *SetPersistentParameterCommand `protobuf:"bytes,4,opt,name=set_persistent_parameter,json=setPersistentParameter,proto3,oneof"`
}
type CoreResponse ¶
type CoreResponse struct { Id CommandId `protobuf:"varint,1,opt,name=id,proto3,enum=io4edgeCoreApi.CommandId" json:"id,omitempty"` Status Status `protobuf:"varint,2,opt,name=status,proto3,enum=io4edgeCoreApi.Status" json:"status,omitempty"` RestartingNow bool `protobuf:"varint,3,opt,name=restarting_now,json=restartingNow,proto3" json:"restarting_now,omitempty"` // Types that are assignable to Data: // // *CoreResponse_IdentifyHardware // *CoreResponse_IdentifyFirmware // *CoreResponse_PersistentParameter // *CoreResponse_ReadPartitionChunk // *CoreResponse_ResetReason Data isCoreResponse_Data `protobuf_oneof:"data"` // contains filtered or unexported fields }
func (*CoreResponse) Descriptor
deprecated
func (*CoreResponse) Descriptor() ([]byte, []int)
Deprecated: Use CoreResponse.ProtoReflect.Descriptor instead.
func (*CoreResponse) GetData ¶
func (m *CoreResponse) GetData() isCoreResponse_Data
func (*CoreResponse) GetId ¶
func (x *CoreResponse) GetId() CommandId
func (*CoreResponse) GetIdentifyFirmware ¶
func (x *CoreResponse) GetIdentifyFirmware() *IdentifyFirmwareResponse
func (*CoreResponse) GetIdentifyHardware ¶
func (x *CoreResponse) GetIdentifyHardware() *IdentifyHardwareResponse
func (*CoreResponse) GetPersistentParameter ¶
func (x *CoreResponse) GetPersistentParameter() *GetPersistentParameterResponse
func (*CoreResponse) GetReadPartitionChunk ¶ added in v1.0.0
func (x *CoreResponse) GetReadPartitionChunk() *ReadPartitionChunkResponse
func (*CoreResponse) GetResetReason ¶ added in v1.0.0
func (x *CoreResponse) GetResetReason() *GetResetReasonResponse
func (*CoreResponse) GetRestartingNow ¶
func (x *CoreResponse) GetRestartingNow() bool
func (*CoreResponse) GetStatus ¶
func (x *CoreResponse) GetStatus() Status
func (*CoreResponse) ProtoMessage ¶
func (*CoreResponse) ProtoMessage()
func (*CoreResponse) ProtoReflect ¶
func (x *CoreResponse) ProtoReflect() protoreflect.Message
func (*CoreResponse) Reset ¶
func (x *CoreResponse) Reset()
func (*CoreResponse) String ¶
func (x *CoreResponse) String() string
type CoreResponse_IdentifyFirmware ¶
type CoreResponse_IdentifyFirmware struct {
IdentifyFirmware *IdentifyFirmwareResponse `protobuf:"bytes,5,opt,name=identify_firmware,json=identifyFirmware,proto3,oneof"`
}
type CoreResponse_IdentifyHardware ¶
type CoreResponse_IdentifyHardware struct {
IdentifyHardware *IdentifyHardwareResponse `protobuf:"bytes,4,opt,name=identify_hardware,json=identifyHardware,proto3,oneof"`
}
type CoreResponse_PersistentParameter ¶
type CoreResponse_PersistentParameter struct {
PersistentParameter *GetPersistentParameterResponse `protobuf:"bytes,6,opt,name=persistent_parameter,json=persistentParameter,proto3,oneof"`
}
type CoreResponse_ReadPartitionChunk ¶ added in v1.0.0
type CoreResponse_ReadPartitionChunk struct {
ReadPartitionChunk *ReadPartitionChunkResponse `protobuf:"bytes,7,opt,name=read_partition_chunk,json=readPartitionChunk,proto3,oneof"`
}
type CoreResponse_ResetReason ¶ added in v1.0.0
type CoreResponse_ResetReason struct {
ResetReason *GetResetReasonResponse `protobuf:"bytes,8,opt,name=reset_reason,json=resetReason,proto3,oneof"`
}
type GetPersistentParameterCommand ¶
type GetPersistentParameterCommand struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*GetPersistentParameterCommand) Descriptor
deprecated
func (*GetPersistentParameterCommand) Descriptor() ([]byte, []int)
Deprecated: Use GetPersistentParameterCommand.ProtoReflect.Descriptor instead.
func (*GetPersistentParameterCommand) GetName ¶
func (x *GetPersistentParameterCommand) GetName() string
func (*GetPersistentParameterCommand) ProtoMessage ¶
func (*GetPersistentParameterCommand) ProtoMessage()
func (*GetPersistentParameterCommand) ProtoReflect ¶
func (x *GetPersistentParameterCommand) ProtoReflect() protoreflect.Message
func (*GetPersistentParameterCommand) Reset ¶
func (x *GetPersistentParameterCommand) Reset()
func (*GetPersistentParameterCommand) String ¶
func (x *GetPersistentParameterCommand) String() string
type GetPersistentParameterResponse ¶
type GetPersistentParameterResponse struct { Value string `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
func (*GetPersistentParameterResponse) Descriptor
deprecated
func (*GetPersistentParameterResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetPersistentParameterResponse.ProtoReflect.Descriptor instead.
func (*GetPersistentParameterResponse) GetValue ¶
func (x *GetPersistentParameterResponse) GetValue() string
func (*GetPersistentParameterResponse) ProtoMessage ¶
func (*GetPersistentParameterResponse) ProtoMessage()
func (*GetPersistentParameterResponse) ProtoReflect ¶
func (x *GetPersistentParameterResponse) ProtoReflect() protoreflect.Message
func (*GetPersistentParameterResponse) Reset ¶
func (x *GetPersistentParameterResponse) Reset()
func (*GetPersistentParameterResponse) String ¶
func (x *GetPersistentParameterResponse) String() string
type GetResetReasonResponse ¶ added in v1.0.0
type GetResetReasonResponse struct { Reason string `protobuf:"bytes,1,opt,name=reason,proto3" json:"reason,omitempty"` // contains filtered or unexported fields }
func (*GetResetReasonResponse) Descriptor
deprecated
added in
v1.0.0
func (*GetResetReasonResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetResetReasonResponse.ProtoReflect.Descriptor instead.
func (*GetResetReasonResponse) GetReason ¶ added in v1.0.0
func (x *GetResetReasonResponse) GetReason() string
func (*GetResetReasonResponse) ProtoMessage ¶ added in v1.0.0
func (*GetResetReasonResponse) ProtoMessage()
func (*GetResetReasonResponse) ProtoReflect ¶ added in v1.0.0
func (x *GetResetReasonResponse) ProtoReflect() protoreflect.Message
func (*GetResetReasonResponse) Reset ¶ added in v1.0.0
func (x *GetResetReasonResponse) Reset()
func (*GetResetReasonResponse) String ¶ added in v1.0.0
func (x *GetResetReasonResponse) String() string
type IdentifyFirmwareResponse ¶
type IdentifyFirmwareResponse struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Version string `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"` // contains filtered or unexported fields }
func (*IdentifyFirmwareResponse) Descriptor
deprecated
func (*IdentifyFirmwareResponse) Descriptor() ([]byte, []int)
Deprecated: Use IdentifyFirmwareResponse.ProtoReflect.Descriptor instead.
func (*IdentifyFirmwareResponse) GetName ¶
func (x *IdentifyFirmwareResponse) GetName() string
func (*IdentifyFirmwareResponse) GetVersion ¶
func (x *IdentifyFirmwareResponse) GetVersion() string
func (*IdentifyFirmwareResponse) ProtoMessage ¶
func (*IdentifyFirmwareResponse) ProtoMessage()
func (*IdentifyFirmwareResponse) ProtoReflect ¶
func (x *IdentifyFirmwareResponse) ProtoReflect() protoreflect.Message
func (*IdentifyFirmwareResponse) Reset ¶
func (x *IdentifyFirmwareResponse) Reset()
func (*IdentifyFirmwareResponse) String ¶
func (x *IdentifyFirmwareResponse) String() string
type IdentifyHardwareResponse ¶
type IdentifyHardwareResponse struct { RootArticle string `protobuf:"bytes,1,opt,name=root_article,json=rootArticle,proto3" json:"root_article,omitempty"` MajorVersion uint32 `protobuf:"varint,2,opt,name=major_version,json=majorVersion,proto3" json:"major_version,omitempty"` SerialNumber string `protobuf:"bytes,3,opt,name=serial_number,json=serialNumber,proto3" json:"serial_number,omitempty"` // contains filtered or unexported fields }
func (*IdentifyHardwareResponse) Descriptor
deprecated
func (*IdentifyHardwareResponse) Descriptor() ([]byte, []int)
Deprecated: Use IdentifyHardwareResponse.ProtoReflect.Descriptor instead.
func (*IdentifyHardwareResponse) GetMajorVersion ¶
func (x *IdentifyHardwareResponse) GetMajorVersion() uint32
func (*IdentifyHardwareResponse) GetRootArticle ¶
func (x *IdentifyHardwareResponse) GetRootArticle() string
func (*IdentifyHardwareResponse) GetSerialNumber ¶
func (x *IdentifyHardwareResponse) GetSerialNumber() string
func (*IdentifyHardwareResponse) ProtoMessage ¶
func (*IdentifyHardwareResponse) ProtoMessage()
func (*IdentifyHardwareResponse) ProtoReflect ¶
func (x *IdentifyHardwareResponse) ProtoReflect() protoreflect.Message
func (*IdentifyHardwareResponse) Reset ¶
func (x *IdentifyHardwareResponse) Reset()
func (*IdentifyHardwareResponse) String ¶
func (x *IdentifyHardwareResponse) String() string
type LoadFirmwareChunkCommand ¶
type LoadFirmwareChunkCommand struct { ChunkNumber uint32 `protobuf:"varint,1,opt,name=chunk_number,json=chunkNumber,proto3" json:"chunk_number,omitempty"` IsLastChunk bool `protobuf:"varint,2,opt,name=is_last_chunk,json=isLastChunk,proto3" json:"is_last_chunk,omitempty"` Data []byte `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"` // contains filtered or unexported fields }
LoadFirmware Client sends sequence of CmdLoadFirmwareChunk commands, with increasing chunk numbers. Clients defines chunk size. Server must acknowledge each chunk with Response. Last chunk has is_last_chunk set to True, so server knows that programming has finished
func (*LoadFirmwareChunkCommand) Descriptor
deprecated
func (*LoadFirmwareChunkCommand) Descriptor() ([]byte, []int)
Deprecated: Use LoadFirmwareChunkCommand.ProtoReflect.Descriptor instead.
func (*LoadFirmwareChunkCommand) GetChunkNumber ¶
func (x *LoadFirmwareChunkCommand) GetChunkNumber() uint32
func (*LoadFirmwareChunkCommand) GetData ¶
func (x *LoadFirmwareChunkCommand) GetData() []byte
func (*LoadFirmwareChunkCommand) GetIsLastChunk ¶
func (x *LoadFirmwareChunkCommand) GetIsLastChunk() bool
func (*LoadFirmwareChunkCommand) ProtoMessage ¶
func (*LoadFirmwareChunkCommand) ProtoMessage()
func (*LoadFirmwareChunkCommand) ProtoReflect ¶
func (x *LoadFirmwareChunkCommand) ProtoReflect() protoreflect.Message
func (*LoadFirmwareChunkCommand) Reset ¶
func (x *LoadFirmwareChunkCommand) Reset()
func (*LoadFirmwareChunkCommand) String ¶
func (x *LoadFirmwareChunkCommand) String() string
type ProgramHardwareIdentificationCommand ¶
type ProgramHardwareIdentificationCommand struct { Signature string `protobuf:"bytes,1,opt,name=signature,proto3" json:"signature,omitempty"` RootArticle string `protobuf:"bytes,2,opt,name=root_article,json=rootArticle,proto3" json:"root_article,omitempty"` MajorVersion uint32 `protobuf:"varint,3,opt,name=major_version,json=majorVersion,proto3" json:"major_version,omitempty"` SerialNumber string `protobuf:"bytes,4,opt,name=serial_number,json=serialNumber,proto3" json:"serial_number,omitempty"` // contains filtered or unexported fields }
func (*ProgramHardwareIdentificationCommand) Descriptor
deprecated
func (*ProgramHardwareIdentificationCommand) Descriptor() ([]byte, []int)
Deprecated: Use ProgramHardwareIdentificationCommand.ProtoReflect.Descriptor instead.
func (*ProgramHardwareIdentificationCommand) GetMajorVersion ¶
func (x *ProgramHardwareIdentificationCommand) GetMajorVersion() uint32
func (*ProgramHardwareIdentificationCommand) GetRootArticle ¶
func (x *ProgramHardwareIdentificationCommand) GetRootArticle() string
func (*ProgramHardwareIdentificationCommand) GetSerialNumber ¶
func (x *ProgramHardwareIdentificationCommand) GetSerialNumber() string
func (*ProgramHardwareIdentificationCommand) GetSignature ¶
func (x *ProgramHardwareIdentificationCommand) GetSignature() string
func (*ProgramHardwareIdentificationCommand) ProtoMessage ¶
func (*ProgramHardwareIdentificationCommand) ProtoMessage()
func (*ProgramHardwareIdentificationCommand) ProtoReflect ¶
func (x *ProgramHardwareIdentificationCommand) ProtoReflect() protoreflect.Message
func (*ProgramHardwareIdentificationCommand) Reset ¶
func (x *ProgramHardwareIdentificationCommand) Reset()
func (*ProgramHardwareIdentificationCommand) String ¶
func (x *ProgramHardwareIdentificationCommand) String() string
type ReadPartitionChunkCommand ¶ added in v1.0.0
type ReadPartitionChunkCommand struct { PartName string `protobuf:"bytes,1,opt,name=part_name,json=partName,proto3" json:"part_name,omitempty"` Offset uint32 `protobuf:"varint,2,opt,name=offset,proto3" json:"offset,omitempty"` // contains filtered or unexported fields }
Request to read from partition at a specific offset server answers with a ReadPartitionResponse, server decides how many bytes it delivers. Client then advances its offset until it has got enough bytes or server returns zero length chunk
func (*ReadPartitionChunkCommand) Descriptor
deprecated
added in
v1.0.0
func (*ReadPartitionChunkCommand) Descriptor() ([]byte, []int)
Deprecated: Use ReadPartitionChunkCommand.ProtoReflect.Descriptor instead.
func (*ReadPartitionChunkCommand) GetOffset ¶ added in v1.0.0
func (x *ReadPartitionChunkCommand) GetOffset() uint32
func (*ReadPartitionChunkCommand) GetPartName ¶ added in v1.0.0
func (x *ReadPartitionChunkCommand) GetPartName() string
func (*ReadPartitionChunkCommand) ProtoMessage ¶ added in v1.0.0
func (*ReadPartitionChunkCommand) ProtoMessage()
func (*ReadPartitionChunkCommand) ProtoReflect ¶ added in v1.0.0
func (x *ReadPartitionChunkCommand) ProtoReflect() protoreflect.Message
func (*ReadPartitionChunkCommand) Reset ¶ added in v1.0.0
func (x *ReadPartitionChunkCommand) Reset()
func (*ReadPartitionChunkCommand) String ¶ added in v1.0.0
func (x *ReadPartitionChunkCommand) String() string
type ReadPartitionChunkResponse ¶ added in v1.0.0
type ReadPartitionChunkResponse struct { PartName string `protobuf:"bytes,1,opt,name=part_name,json=partName,proto3" json:"part_name,omitempty"` Offset uint32 `protobuf:"varint,2,opt,name=offset,proto3" json:"offset,omitempty"` Data []byte `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"` // contains filtered or unexported fields }
func (*ReadPartitionChunkResponse) Descriptor
deprecated
added in
v1.0.0
func (*ReadPartitionChunkResponse) Descriptor() ([]byte, []int)
Deprecated: Use ReadPartitionChunkResponse.ProtoReflect.Descriptor instead.
func (*ReadPartitionChunkResponse) GetData ¶ added in v1.0.0
func (x *ReadPartitionChunkResponse) GetData() []byte
func (*ReadPartitionChunkResponse) GetOffset ¶ added in v1.0.0
func (x *ReadPartitionChunkResponse) GetOffset() uint32
func (*ReadPartitionChunkResponse) GetPartName ¶ added in v1.0.0
func (x *ReadPartitionChunkResponse) GetPartName() string
func (*ReadPartitionChunkResponse) ProtoMessage ¶ added in v1.0.0
func (*ReadPartitionChunkResponse) ProtoMessage()
func (*ReadPartitionChunkResponse) ProtoReflect ¶ added in v1.0.0
func (x *ReadPartitionChunkResponse) ProtoReflect() protoreflect.Message
func (*ReadPartitionChunkResponse) Reset ¶ added in v1.0.0
func (x *ReadPartitionChunkResponse) Reset()
func (*ReadPartitionChunkResponse) String ¶ added in v1.0.0
func (x *ReadPartitionChunkResponse) String() string
type SetPersistentParameterCommand ¶
type SetPersistentParameterCommand struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
func (*SetPersistentParameterCommand) Descriptor
deprecated
func (*SetPersistentParameterCommand) Descriptor() ([]byte, []int)
Deprecated: Use SetPersistentParameterCommand.ProtoReflect.Descriptor instead.
func (*SetPersistentParameterCommand) GetName ¶
func (x *SetPersistentParameterCommand) GetName() string
func (*SetPersistentParameterCommand) GetValue ¶
func (x *SetPersistentParameterCommand) GetValue() string
func (*SetPersistentParameterCommand) ProtoMessage ¶
func (*SetPersistentParameterCommand) ProtoMessage()
func (*SetPersistentParameterCommand) ProtoReflect ¶
func (x *SetPersistentParameterCommand) ProtoReflect() protoreflect.Message
func (*SetPersistentParameterCommand) Reset ¶
func (x *SetPersistentParameterCommand) Reset()
func (*SetPersistentParameterCommand) String ¶
func (x *SetPersistentParameterCommand) String() string
type Status ¶
type Status int32
const ( Status_OK Status = 0 Status_UNKNOWN_COMMAND Status = 1 Status_ILLEGAL_PARAMETER Status = 2 Status_BAD_CHUNK_SEQ Status = 3 Status_BAD_CHUNK_SIZE Status = 4 Status_NOT_COMPATIBLE Status = 5 Status_INTERNAL_ERROR Status = 6 Status_PROGRAMMING_ERROR Status = 7 Status_NO_HW_INVENTORY Status = 8 Status_THIS_VERSION_FAILED_ALREADY Status = 9 )
func (Status) Descriptor ¶
func (Status) Descriptor() protoreflect.EnumDescriptor
func (Status) EnumDescriptor
deprecated
func (Status) Number ¶
func (x Status) Number() protoreflect.EnumNumber
func (Status) Type ¶
func (Status) Type() protoreflect.EnumType