data_protocol

package module
v0.0.0-...-0738cfd Latest Latest
Warning

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

Go to latest
Published: Feb 2, 2024 License: BSD-3-Clause Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	DownloadFlags_name = map[int32]string{
		0: "READING_FLAGS_NONE",
		1: "READING_FLAGS_NOT_RECORDING",
		2: "READING_FLAGS_MANUAL",
	}
	DownloadFlags_value = map[string]int32{
		"READING_FLAGS_NONE":          0,
		"READING_FLAGS_NOT_RECORDING": 1,
		"READING_FLAGS_MANUAL":        2,
	}
)

Enum value maps for DownloadFlags.

View Source
var (
	ConditionFlags_name = map[int32]string{
		0: "CONDITION_FLAGS_NONE",
		1: "CONDITION_FLAGS_RECORDING",
	}
	ConditionFlags_value = map[string]int32{
		"CONDITION_FLAGS_NONE":      0,
		"CONDITION_FLAGS_RECORDING": 1,
	}
)

Enum value maps for ConditionFlags.

View Source
var (
	EventSystem_name = map[int32]string{
		0: "EVENT_SYSTEM_NONE",
		1: "EVENT_SYSTEM_RESTART",
		2: "EVENT_SYSTEM_BATTERY",
		3: "EVENT_SYSTEM_MEMORY",
		4: "EVENT_SYSTEM_SENSOR",
		5: "EVENT_SYSTEM_WIFI",
		6: "EVENT_SYSTEM_LORA",
	}
	EventSystem_value = map[string]int32{
		"EVENT_SYSTEM_NONE":    0,
		"EVENT_SYSTEM_RESTART": 1,
		"EVENT_SYSTEM_BATTERY": 2,
		"EVENT_SYSTEM_MEMORY":  3,
		"EVENT_SYSTEM_SENSOR":  4,
		"EVENT_SYSTEM_WIFI":    5,
		"EVENT_SYSTEM_LORA":    6,
	}
)

Enum value maps for EventSystem.

View Source
var (
	Severity_name = map[int32]string{
		0: "SEVERITY_INFO",
		1: "SEVERITY_WARNING",
		2: "SEVERITY_ERROR",
	}
	Severity_value = map[string]int32{
		"SEVERITY_INFO":    0,
		"SEVERITY_WARNING": 1,
		"SEVERITY_ERROR":   2,
	}
)

Enum value maps for Severity.

View Source
var (
	SignedRecordKind_name = map[int32]string{
		0:   "SIGNED_RECORD_KIND_NONE",
		1:   "SIGNED_RECORD_KIND_MODULES",
		2:   "SIGNED_RECORD_KIND_SCHEDULE",
		3:   "SIGNED_RECORD_KIND_STATE",
		4:   "SIGNED_RECORD_KIND_RAW_STATE",
		5:   "SIGNED_RECORD_KIND_FAULTS",
		255: "SIGNED_RECORD_KIND_OTHER",
	}
	SignedRecordKind_value = map[string]int32{
		"SIGNED_RECORD_KIND_NONE":      0,
		"SIGNED_RECORD_KIND_MODULES":   1,
		"SIGNED_RECORD_KIND_SCHEDULE":  2,
		"SIGNED_RECORD_KIND_STATE":     3,
		"SIGNED_RECORD_KIND_RAW_STATE": 4,
		"SIGNED_RECORD_KIND_FAULTS":    5,
		"SIGNED_RECORD_KIND_OTHER":     255,
	}
)

Enum value maps for SignedRecordKind.

View Source
var (
	CurveType_name = map[int32]string{
		0: "CURVE_NONE",
		1: "CURVE_LINEAR",
		2: "CURVE_POWER",
		3: "CURVE_LOGARITHMIC",
		4: "CURVE_EXPONENTIAL",
	}
	CurveType_value = map[string]int32{
		"CURVE_NONE":        0,
		"CURVE_LINEAR":      1,
		"CURVE_POWER":       2,
		"CURVE_LOGARITHMIC": 3,
		"CURVE_EXPONENTIAL": 4,
	}
)

Enum value maps for CurveType.

View Source
var File_fk_data_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type Calibration

type Calibration struct {
	Type         CurveType                `protobuf:"varint,1,opt,name=type,proto3,enum=fk_data.CurveType" json:"type,omitempty"`
	Time         uint32                   `protobuf:"varint,2,opt,name=time,proto3" json:"time,omitempty"`
	Kind         uint32                   `protobuf:"varint,6,opt,name=kind,proto3" json:"kind,omitempty"`
	Points       []*CalibrationPoint      `protobuf:"bytes,3,rep,name=points,proto3" json:"points,omitempty"`
	Coefficients *CalibrationCoefficients `protobuf:"bytes,4,opt,name=coefficients,proto3" json:"coefficients,omitempty"`
	Firmware     *Firmware                `protobuf:"bytes,5,opt,name=firmware,proto3" json:"firmware,omitempty"`
	// contains filtered or unexported fields
}

func (*Calibration) Descriptor deprecated

func (*Calibration) Descriptor() ([]byte, []int)

Deprecated: Use Calibration.ProtoReflect.Descriptor instead.

func (*Calibration) GetCoefficients

func (x *Calibration) GetCoefficients() *CalibrationCoefficients

func (*Calibration) GetFirmware

func (x *Calibration) GetFirmware() *Firmware

func (*Calibration) GetKind

func (x *Calibration) GetKind() uint32

func (*Calibration) GetPoints

func (x *Calibration) GetPoints() []*CalibrationPoint

func (*Calibration) GetTime

func (x *Calibration) GetTime() uint32

func (*Calibration) GetType

func (x *Calibration) GetType() CurveType

func (*Calibration) ProtoMessage

func (*Calibration) ProtoMessage()

func (*Calibration) ProtoReflect

func (x *Calibration) ProtoReflect() protoreflect.Message

func (*Calibration) Reset

func (x *Calibration) Reset()

func (*Calibration) String

func (x *Calibration) String() string

type CalibrationCoefficients

type CalibrationCoefficients struct {
	Values []float32 `protobuf:"fixed32,1,rep,packed,name=values,proto3" json:"values,omitempty"`
	// contains filtered or unexported fields
}

func (*CalibrationCoefficients) Descriptor deprecated

func (*CalibrationCoefficients) Descriptor() ([]byte, []int)

Deprecated: Use CalibrationCoefficients.ProtoReflect.Descriptor instead.

func (*CalibrationCoefficients) GetValues

func (x *CalibrationCoefficients) GetValues() []float32

func (*CalibrationCoefficients) ProtoMessage

func (*CalibrationCoefficients) ProtoMessage()

func (*CalibrationCoefficients) ProtoReflect

func (x *CalibrationCoefficients) ProtoReflect() protoreflect.Message

func (*CalibrationCoefficients) Reset

func (x *CalibrationCoefficients) Reset()

func (*CalibrationCoefficients) String

func (x *CalibrationCoefficients) String() string

type CalibrationPoint

type CalibrationPoint struct {
	References   []float32 `protobuf:"fixed32,1,rep,packed,name=references,proto3" json:"references,omitempty"`
	Uncalibrated []float32 `protobuf:"fixed32,2,rep,packed,name=uncalibrated,proto3" json:"uncalibrated,omitempty"`
	Factory      []float32 `protobuf:"fixed32,3,rep,packed,name=factory,proto3" json:"factory,omitempty"`
	Adc          [][]byte  `protobuf:"bytes,4,rep,name=adc,proto3" json:"adc,omitempty"`
	// contains filtered or unexported fields
}

func (*CalibrationPoint) Descriptor deprecated

func (*CalibrationPoint) Descriptor() ([]byte, []int)

Deprecated: Use CalibrationPoint.ProtoReflect.Descriptor instead.

func (*CalibrationPoint) GetAdc

func (x *CalibrationPoint) GetAdc() [][]byte

func (*CalibrationPoint) GetFactory

func (x *CalibrationPoint) GetFactory() []float32

func (*CalibrationPoint) GetReferences

func (x *CalibrationPoint) GetReferences() []float32

func (*CalibrationPoint) GetUncalibrated

func (x *CalibrationPoint) GetUncalibrated() []float32

func (*CalibrationPoint) ProtoMessage

func (*CalibrationPoint) ProtoMessage()

func (*CalibrationPoint) ProtoReflect

func (x *CalibrationPoint) ProtoReflect() protoreflect.Message

func (*CalibrationPoint) Reset

func (x *CalibrationPoint) Reset()

func (*CalibrationPoint) String

func (x *CalibrationPoint) String() string

type Condition

type Condition struct {
	Flags     uint32 `protobuf:"varint,1,opt,name=flags,proto3" json:"flags,omitempty"`
	Recording uint32 `protobuf:"varint,2,opt,name=recording,proto3" json:"recording,omitempty"`
	// contains filtered or unexported fields
}

func (*Condition) Descriptor deprecated

func (*Condition) Descriptor() ([]byte, []int)

Deprecated: Use Condition.ProtoReflect.Descriptor instead.

func (*Condition) GetFlags

func (x *Condition) GetFlags() uint32

func (*Condition) GetRecording

func (x *Condition) GetRecording() uint32

func (*Condition) ProtoMessage

func (*Condition) ProtoMessage()

func (*Condition) ProtoReflect

func (x *Condition) ProtoReflect() protoreflect.Message

func (*Condition) Reset

func (x *Condition) Reset()

func (*Condition) String

func (x *Condition) String() string

type ConditionFlags

type ConditionFlags int32
const (
	ConditionFlags_CONDITION_FLAGS_NONE      ConditionFlags = 0
	ConditionFlags_CONDITION_FLAGS_RECORDING ConditionFlags = 1
)

func (ConditionFlags) Descriptor

func (ConditionFlags) Enum

func (x ConditionFlags) Enum() *ConditionFlags

func (ConditionFlags) EnumDescriptor deprecated

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

Deprecated: Use ConditionFlags.Descriptor instead.

func (ConditionFlags) Number

func (ConditionFlags) String

func (x ConditionFlags) String() string

func (ConditionFlags) Type

type CurveType

type CurveType int32
const (
	CurveType_CURVE_NONE        CurveType = 0
	CurveType_CURVE_LINEAR      CurveType = 1
	CurveType_CURVE_POWER       CurveType = 2
	CurveType_CURVE_LOGARITHMIC CurveType = 3
	CurveType_CURVE_EXPONENTIAL CurveType = 4
)

func (CurveType) Descriptor

func (CurveType) Descriptor() protoreflect.EnumDescriptor

func (CurveType) Enum

func (x CurveType) Enum() *CurveType

func (CurveType) EnumDescriptor deprecated

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

Deprecated: Use CurveType.Descriptor instead.

func (CurveType) Number

func (x CurveType) Number() protoreflect.EnumNumber

func (CurveType) String

func (x CurveType) String() string

func (CurveType) Type

type DataRecord

type DataRecord struct {
	LoggedReading *LoggedReading        `protobuf:"bytes,1,opt,name=loggedReading,proto3" json:"loggedReading,omitempty"`
	Metadata      *Metadata             `protobuf:"bytes,2,opt,name=metadata,proto3" json:"metadata,omitempty"`
	Log           *LogMessage           `protobuf:"bytes,3,opt,name=log,proto3" json:"log,omitempty"`
	Logs          []*LogMessage         `protobuf:"bytes,13,rep,name=logs,proto3" json:"logs,omitempty"`
	Status        *Status               `protobuf:"bytes,4,opt,name=status,proto3" json:"status,omitempty"`
	Readings      *Readings             `protobuf:"bytes,5,opt,name=readings,proto3" json:"readings,omitempty"`
	Modules       []*ModuleInfo         `protobuf:"bytes,6,rep,name=modules,proto3" json:"modules,omitempty"`
	Schedule      *Schedule             `protobuf:"bytes,7,opt,name=schedule,proto3" json:"schedule,omitempty"`
	Meta          uint64                `protobuf:"varint,8,opt,name=meta,proto3" json:"meta,omitempty"`
	Identity      *Identity             `protobuf:"bytes,9,opt,name=identity,proto3" json:"identity,omitempty"`
	Condition     *Condition            `protobuf:"bytes,10,opt,name=condition,proto3" json:"condition,omitempty"`
	Lora          *LoraSettings         `protobuf:"bytes,11,opt,name=lora,proto3" json:"lora,omitempty"`
	Network       *NetworkSettings      `protobuf:"bytes,12,opt,name=network,proto3" json:"network,omitempty"`
	Transmission  *TransmissionSettings `protobuf:"bytes,14,opt,name=transmission,proto3" json:"transmission,omitempty"`
	Events        []*Event              `protobuf:"bytes,15,rep,name=events,proto3" json:"events,omitempty"`
	// contains filtered or unexported fields
}

func (*DataRecord) Descriptor deprecated

func (*DataRecord) Descriptor() ([]byte, []int)

Deprecated: Use DataRecord.ProtoReflect.Descriptor instead.

func (*DataRecord) GetCondition

func (x *DataRecord) GetCondition() *Condition

func (*DataRecord) GetEvents

func (x *DataRecord) GetEvents() []*Event

func (*DataRecord) GetIdentity

func (x *DataRecord) GetIdentity() *Identity

func (*DataRecord) GetLog

func (x *DataRecord) GetLog() *LogMessage

func (*DataRecord) GetLoggedReading

func (x *DataRecord) GetLoggedReading() *LoggedReading

func (*DataRecord) GetLogs

func (x *DataRecord) GetLogs() []*LogMessage

func (*DataRecord) GetLora

func (x *DataRecord) GetLora() *LoraSettings

func (*DataRecord) GetMeta

func (x *DataRecord) GetMeta() uint64

func (*DataRecord) GetMetadata

func (x *DataRecord) GetMetadata() *Metadata

func (*DataRecord) GetModules

func (x *DataRecord) GetModules() []*ModuleInfo

func (*DataRecord) GetNetwork

func (x *DataRecord) GetNetwork() *NetworkSettings

func (*DataRecord) GetReadings

func (x *DataRecord) GetReadings() *Readings

func (*DataRecord) GetSchedule

func (x *DataRecord) GetSchedule() *Schedule

func (*DataRecord) GetStatus

func (x *DataRecord) GetStatus() *Status

func (*DataRecord) GetTransmission

func (x *DataRecord) GetTransmission() *TransmissionSettings

func (*DataRecord) ProtoMessage

func (*DataRecord) ProtoMessage()

func (*DataRecord) ProtoReflect

func (x *DataRecord) ProtoReflect() protoreflect.Message

func (*DataRecord) Reset

func (x *DataRecord) Reset()

func (*DataRecord) String

func (x *DataRecord) String() string

type DeviceLocation

type DeviceLocation struct {
	Enabled     uint32    `protobuf:"varint,7,opt,name=enabled,proto3" json:"enabled,omitempty"`
	Fix         uint32    `protobuf:"varint,1,opt,name=fix,proto3" json:"fix,omitempty"`
	Time        int64     `protobuf:"varint,2,opt,name=time,proto3" json:"time,omitempty"`
	Longitude   float32   `protobuf:"fixed32,3,opt,name=longitude,proto3" json:"longitude,omitempty"`
	Latitude    float32   `protobuf:"fixed32,4,opt,name=latitude,proto3" json:"latitude,omitempty"`
	Altitude    float32   `protobuf:"fixed32,5,opt,name=altitude,proto3" json:"altitude,omitempty"`
	Coordinates []float32 `protobuf:"fixed32,6,rep,packed,name=coordinates,proto3" json:"coordinates,omitempty"`
	Satellites  uint32    `protobuf:"varint,8,opt,name=satellites,proto3" json:"satellites,omitempty"`
	Hdop        uint32    `protobuf:"varint,9,opt,name=hdop,proto3" json:"hdop,omitempty"`
	// contains filtered or unexported fields
}

func (*DeviceLocation) Descriptor deprecated

func (*DeviceLocation) Descriptor() ([]byte, []int)

Deprecated: Use DeviceLocation.ProtoReflect.Descriptor instead.

func (*DeviceLocation) GetAltitude

func (x *DeviceLocation) GetAltitude() float32

func (*DeviceLocation) GetCoordinates

func (x *DeviceLocation) GetCoordinates() []float32

func (*DeviceLocation) GetEnabled

func (x *DeviceLocation) GetEnabled() uint32

func (*DeviceLocation) GetFix

func (x *DeviceLocation) GetFix() uint32

func (*DeviceLocation) GetHdop

func (x *DeviceLocation) GetHdop() uint32

func (*DeviceLocation) GetLatitude

func (x *DeviceLocation) GetLatitude() float32

func (*DeviceLocation) GetLongitude

func (x *DeviceLocation) GetLongitude() float32

func (*DeviceLocation) GetSatellites

func (x *DeviceLocation) GetSatellites() uint32

func (*DeviceLocation) GetTime

func (x *DeviceLocation) GetTime() int64

func (*DeviceLocation) ProtoMessage

func (*DeviceLocation) ProtoMessage()

func (*DeviceLocation) ProtoReflect

func (x *DeviceLocation) ProtoReflect() protoreflect.Message

func (*DeviceLocation) Reset

func (x *DeviceLocation) Reset()

func (*DeviceLocation) String

func (x *DeviceLocation) String() string

type DownloadFlags

type DownloadFlags int32
const (
	DownloadFlags_READING_FLAGS_NONE          DownloadFlags = 0
	DownloadFlags_READING_FLAGS_NOT_RECORDING DownloadFlags = 1
	DownloadFlags_READING_FLAGS_MANUAL        DownloadFlags = 2
)

func (DownloadFlags) Descriptor

func (DownloadFlags) Enum

func (x DownloadFlags) Enum() *DownloadFlags

func (DownloadFlags) EnumDescriptor deprecated

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

Deprecated: Use DownloadFlags.Descriptor instead.

func (DownloadFlags) Number

func (DownloadFlags) String

func (x DownloadFlags) String() string

func (DownloadFlags) Type

type Event

type Event struct {
	System   EventSystem   `protobuf:"varint,1,opt,name=system,proto3,enum=fk_data.EventSystem" json:"system,omitempty"`
	Severity Severity      `protobuf:"varint,2,opt,name=severity,proto3,enum=fk_data.Severity" json:"severity,omitempty"`
	Code     uint32        `protobuf:"varint,3,opt,name=code,proto3" json:"code,omitempty"`
	Time     uint32        `protobuf:"varint,4,opt,name=time,proto3" json:"time,omitempty"`
	Details  *EventDetails `protobuf:"bytes,5,opt,name=details,proto3" json:"details,omitempty"`
	Debug    []byte        `protobuf:"bytes,6,opt,name=debug,proto3" json:"debug,omitempty"`
	// contains filtered or unexported fields
}

func (*Event) Descriptor deprecated

func (*Event) Descriptor() ([]byte, []int)

Deprecated: Use Event.ProtoReflect.Descriptor instead.

func (*Event) GetCode

func (x *Event) GetCode() uint32

func (*Event) GetDebug

func (x *Event) GetDebug() []byte

func (*Event) GetDetails

func (x *Event) GetDetails() *EventDetails

func (*Event) GetSeverity

func (x *Event) GetSeverity() Severity

func (*Event) GetSystem

func (x *Event) GetSystem() EventSystem

func (*Event) GetTime

func (x *Event) GetTime() uint32

func (*Event) ProtoMessage

func (*Event) ProtoMessage()

func (*Event) ProtoReflect

func (x *Event) ProtoReflect() protoreflect.Message

func (*Event) Reset

func (x *Event) Reset()

func (*Event) String

func (x *Event) String() string

type EventDetails

type EventDetails struct {
	Data     []byte    `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
	Integers []int32   `protobuf:"varint,2,rep,packed,name=integers,proto3" json:"integers,omitempty"`
	Reals    []float32 `protobuf:"fixed32,3,rep,packed,name=reals,proto3" json:"reals,omitempty"`
	// contains filtered or unexported fields
}

func (*EventDetails) Descriptor deprecated

func (*EventDetails) Descriptor() ([]byte, []int)

Deprecated: Use EventDetails.ProtoReflect.Descriptor instead.

func (*EventDetails) GetData

func (x *EventDetails) GetData() []byte

func (*EventDetails) GetIntegers

func (x *EventDetails) GetIntegers() []int32

func (*EventDetails) GetReals

func (x *EventDetails) GetReals() []float32

func (*EventDetails) ProtoMessage

func (*EventDetails) ProtoMessage()

func (*EventDetails) ProtoReflect

func (x *EventDetails) ProtoReflect() protoreflect.Message

func (*EventDetails) Reset

func (x *EventDetails) Reset()

func (*EventDetails) String

func (x *EventDetails) String() string

type EventSystem

type EventSystem int32
const (
	EventSystem_EVENT_SYSTEM_NONE    EventSystem = 0
	EventSystem_EVENT_SYSTEM_RESTART EventSystem = 1
	EventSystem_EVENT_SYSTEM_BATTERY EventSystem = 2
	EventSystem_EVENT_SYSTEM_MEMORY  EventSystem = 3
	EventSystem_EVENT_SYSTEM_SENSOR  EventSystem = 4
	EventSystem_EVENT_SYSTEM_WIFI    EventSystem = 5
	EventSystem_EVENT_SYSTEM_LORA    EventSystem = 6
)

func (EventSystem) Descriptor

func (EventSystem) Enum

func (x EventSystem) Enum() *EventSystem

func (EventSystem) EnumDescriptor deprecated

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

Deprecated: Use EventSystem.Descriptor instead.

func (EventSystem) Number

func (x EventSystem) Number() protoreflect.EnumNumber

func (EventSystem) String

func (x EventSystem) String() string

func (EventSystem) Type

type Firmware

type Firmware struct {
	Version   string `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"`
	Build     string `protobuf:"bytes,2,opt,name=build,proto3" json:"build,omitempty"`
	Number    string `protobuf:"bytes,3,opt,name=number,proto3" json:"number,omitempty"`
	Timestamp uint64 `protobuf:"varint,4,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
	Hash      string `protobuf:"bytes,5,opt,name=hash,proto3" json:"hash,omitempty"`
	// contains filtered or unexported fields
}

func (*Firmware) Descriptor deprecated

func (*Firmware) Descriptor() ([]byte, []int)

Deprecated: Use Firmware.ProtoReflect.Descriptor instead.

func (*Firmware) GetBuild

func (x *Firmware) GetBuild() string

func (*Firmware) GetHash

func (x *Firmware) GetHash() string

func (*Firmware) GetNumber

func (x *Firmware) GetNumber() string

func (*Firmware) GetTimestamp

func (x *Firmware) GetTimestamp() uint64

func (*Firmware) GetVersion

func (x *Firmware) GetVersion() string

func (*Firmware) ProtoMessage

func (*Firmware) ProtoMessage()

func (*Firmware) ProtoReflect

func (x *Firmware) ProtoReflect() protoreflect.Message

func (*Firmware) Reset

func (x *Firmware) Reset()

func (*Firmware) String

func (x *Firmware) String() string

type Identity

type Identity struct {
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

func (*Identity) Descriptor deprecated

func (*Identity) Descriptor() ([]byte, []int)

Deprecated: Use Identity.ProtoReflect.Descriptor instead.

func (*Identity) GetName

func (x *Identity) GetName() string

func (*Identity) ProtoMessage

func (*Identity) ProtoMessage()

func (*Identity) ProtoReflect

func (x *Identity) ProtoReflect() protoreflect.Message

func (*Identity) Reset

func (x *Identity) Reset()

func (*Identity) String

func (x *Identity) String() string

type Interval

type Interval struct {
	Start    uint64 `protobuf:"varint,1,opt,name=start,proto3" json:"start,omitempty"`
	End      uint64 `protobuf:"varint,2,opt,name=end,proto3" json:"end,omitempty"`
	Interval uint32 `protobuf:"varint,3,opt,name=interval,proto3" json:"interval,omitempty"`
	// contains filtered or unexported fields
}

func (*Interval) Descriptor deprecated

func (*Interval) Descriptor() ([]byte, []int)

Deprecated: Use Interval.ProtoReflect.Descriptor instead.

func (*Interval) GetEnd

func (x *Interval) GetEnd() uint64

func (*Interval) GetInterval

func (x *Interval) GetInterval() uint32

func (*Interval) GetStart

func (x *Interval) GetStart() uint64

func (*Interval) ProtoMessage

func (*Interval) ProtoMessage()

func (*Interval) ProtoReflect

func (x *Interval) ProtoReflect() protoreflect.Message

func (*Interval) Reset

func (x *Interval) Reset()

func (*Interval) String

func (x *Interval) String() string

type JobSchedule

type JobSchedule struct {
	Cron      []byte      `protobuf:"bytes,1,opt,name=cron,proto3" json:"cron,omitempty"`
	Interval  uint32      `protobuf:"varint,2,opt,name=interval,proto3" json:"interval,omitempty"`
	Repeated  uint32      `protobuf:"varint,3,opt,name=repeated,proto3" json:"repeated,omitempty"`
	Duration  uint32      `protobuf:"varint,4,opt,name=duration,proto3" json:"duration,omitempty"`
	Jitter    uint32      `protobuf:"varint,5,opt,name=jitter,proto3" json:"jitter,omitempty"`
	Intervals []*Interval `protobuf:"bytes,6,rep,name=intervals,proto3" json:"intervals,omitempty"`
	// contains filtered or unexported fields
}

func (*JobSchedule) Descriptor deprecated

func (*JobSchedule) Descriptor() ([]byte, []int)

Deprecated: Use JobSchedule.ProtoReflect.Descriptor instead.

func (*JobSchedule) GetCron

func (x *JobSchedule) GetCron() []byte

func (*JobSchedule) GetDuration

func (x *JobSchedule) GetDuration() uint32

func (*JobSchedule) GetInterval

func (x *JobSchedule) GetInterval() uint32

func (*JobSchedule) GetIntervals

func (x *JobSchedule) GetIntervals() []*Interval

func (*JobSchedule) GetJitter

func (x *JobSchedule) GetJitter() uint32

func (*JobSchedule) GetRepeated

func (x *JobSchedule) GetRepeated() uint32

func (*JobSchedule) ProtoMessage

func (*JobSchedule) ProtoMessage()

func (*JobSchedule) ProtoReflect

func (x *JobSchedule) ProtoReflect() protoreflect.Message

func (*JobSchedule) Reset

func (x *JobSchedule) Reset()

func (*JobSchedule) String

func (x *JobSchedule) String() string

type LogMessage

type LogMessage struct {
	Time     int64  `protobuf:"varint,1,opt,name=time,proto3" json:"time,omitempty"`
	Uptime   uint32 `protobuf:"varint,2,opt,name=uptime,proto3" json:"uptime,omitempty"`
	Level    uint32 `protobuf:"varint,3,opt,name=level,proto3" json:"level,omitempty"`
	Facility string `protobuf:"bytes,4,opt,name=facility,proto3" json:"facility,omitempty"`
	Message  string `protobuf:"bytes,5,opt,name=message,proto3" json:"message,omitempty"`
	// contains filtered or unexported fields
}

func (*LogMessage) Descriptor deprecated

func (*LogMessage) Descriptor() ([]byte, []int)

Deprecated: Use LogMessage.ProtoReflect.Descriptor instead.

func (*LogMessage) GetFacility

func (x *LogMessage) GetFacility() string

func (*LogMessage) GetLevel

func (x *LogMessage) GetLevel() uint32

func (*LogMessage) GetMessage

func (x *LogMessage) GetMessage() string

func (*LogMessage) GetTime

func (x *LogMessage) GetTime() int64

func (*LogMessage) GetUptime

func (x *LogMessage) GetUptime() uint32

func (*LogMessage) ProtoMessage

func (*LogMessage) ProtoMessage()

func (*LogMessage) ProtoReflect

func (x *LogMessage) ProtoReflect() protoreflect.Message

func (*LogMessage) Reset

func (x *LogMessage) Reset()

func (*LogMessage) String

func (x *LogMessage) String() string

type LoggedReading

type LoggedReading struct {
	Version  uint32          `protobuf:"varint,1,opt,name=version,proto3" json:"version,omitempty"`
	Location *DeviceLocation `protobuf:"bytes,2,opt,name=location,proto3" json:"location,omitempty"`
	Reading  *SensorReading  `protobuf:"bytes,3,opt,name=reading,proto3" json:"reading,omitempty"`
	// contains filtered or unexported fields
}

func (*LoggedReading) Descriptor deprecated

func (*LoggedReading) Descriptor() ([]byte, []int)

Deprecated: Use LoggedReading.ProtoReflect.Descriptor instead.

func (*LoggedReading) GetLocation

func (x *LoggedReading) GetLocation() *DeviceLocation

func (*LoggedReading) GetReading

func (x *LoggedReading) GetReading() *SensorReading

func (*LoggedReading) GetVersion

func (x *LoggedReading) GetVersion() uint32

func (*LoggedReading) ProtoMessage

func (*LoggedReading) ProtoMessage()

func (*LoggedReading) ProtoReflect

func (x *LoggedReading) ProtoReflect() protoreflect.Message

func (*LoggedReading) Reset

func (x *LoggedReading) Reset()

func (*LoggedReading) String

func (x *LoggedReading) String() string

type LoraRecord

type LoraRecord struct {
	DeviceId []byte    `protobuf:"bytes,1,opt,name=deviceId,proto3" json:"deviceId,omitempty"`
	Time     int64     `protobuf:"varint,2,opt,name=time,proto3" json:"time,omitempty"`
	Number   uint64    `protobuf:"varint,3,opt,name=number,proto3" json:"number,omitempty"`
	Module   uint32    `protobuf:"varint,4,opt,name=module,proto3" json:"module,omitempty"`
	Sensor   uint64    `protobuf:"varint,5,opt,name=sensor,proto3" json:"sensor,omitempty"`
	Values   []float32 `protobuf:"fixed32,6,rep,packed,name=values,proto3" json:"values,omitempty"`
	Data     []byte    `protobuf:"bytes,7,opt,name=data,proto3" json:"data,omitempty"`
	// contains filtered or unexported fields
}

func (*LoraRecord) Descriptor deprecated

func (*LoraRecord) Descriptor() ([]byte, []int)

Deprecated: Use LoraRecord.ProtoReflect.Descriptor instead.

func (*LoraRecord) GetData

func (x *LoraRecord) GetData() []byte

func (*LoraRecord) GetDeviceId

func (x *LoraRecord) GetDeviceId() []byte

func (*LoraRecord) GetModule

func (x *LoraRecord) GetModule() uint32

func (*LoraRecord) GetNumber

func (x *LoraRecord) GetNumber() uint64

func (*LoraRecord) GetSensor

func (x *LoraRecord) GetSensor() uint64

func (*LoraRecord) GetTime

func (x *LoraRecord) GetTime() int64

func (*LoraRecord) GetValues

func (x *LoraRecord) GetValues() []float32

func (*LoraRecord) ProtoMessage

func (*LoraRecord) ProtoMessage()

func (*LoraRecord) ProtoReflect

func (x *LoraRecord) ProtoReflect() protoreflect.Message

func (*LoraRecord) Reset

func (x *LoraRecord) Reset()

func (*LoraRecord) String

func (x *LoraRecord) String() string

type LoraSettings

type LoraSettings struct {
	DeviceEui         []byte `protobuf:"bytes,1,opt,name=deviceEui,proto3" json:"deviceEui,omitempty"`
	AppKey            []byte `protobuf:"bytes,2,opt,name=appKey,proto3" json:"appKey,omitempty"`
	JoinEui           []byte `protobuf:"bytes,3,opt,name=joinEui,proto3" json:"joinEui,omitempty"`
	FrequencyBand     uint32 `protobuf:"varint,4,opt,name=frequencyBand,proto3" json:"frequencyBand,omitempty"`
	DeviceAddress     []byte `protobuf:"bytes,5,opt,name=deviceAddress,proto3" json:"deviceAddress,omitempty"`
	NetworkSessionKey []byte `protobuf:"bytes,6,opt,name=networkSessionKey,proto3" json:"networkSessionKey,omitempty"`
	AppSessionKey     []byte `protobuf:"bytes,7,opt,name=appSessionKey,proto3" json:"appSessionKey,omitempty"`
	UplinkCounter     uint32 `protobuf:"varint,8,opt,name=uplinkCounter,proto3" json:"uplinkCounter,omitempty"`
	DownlinkCounter   uint32 `protobuf:"varint,9,opt,name=downlinkCounter,proto3" json:"downlinkCounter,omitempty"`
	RxDelay1          uint32 `protobuf:"varint,10,opt,name=rxDelay1,proto3" json:"rxDelay1,omitempty"`
	RxDelay2          uint32 `protobuf:"varint,11,opt,name=rxDelay2,proto3" json:"rxDelay2,omitempty"`
	// contains filtered or unexported fields
}

func (*LoraSettings) Descriptor deprecated

func (*LoraSettings) Descriptor() ([]byte, []int)

Deprecated: Use LoraSettings.ProtoReflect.Descriptor instead.

func (*LoraSettings) GetAppKey

func (x *LoraSettings) GetAppKey() []byte

func (*LoraSettings) GetAppSessionKey

func (x *LoraSettings) GetAppSessionKey() []byte

func (*LoraSettings) GetDeviceAddress

func (x *LoraSettings) GetDeviceAddress() []byte

func (*LoraSettings) GetDeviceEui

func (x *LoraSettings) GetDeviceEui() []byte

func (*LoraSettings) GetDownlinkCounter

func (x *LoraSettings) GetDownlinkCounter() uint32

func (*LoraSettings) GetFrequencyBand

func (x *LoraSettings) GetFrequencyBand() uint32

func (*LoraSettings) GetJoinEui

func (x *LoraSettings) GetJoinEui() []byte

func (*LoraSettings) GetNetworkSessionKey

func (x *LoraSettings) GetNetworkSessionKey() []byte

func (*LoraSettings) GetRxDelay1

func (x *LoraSettings) GetRxDelay1() uint32

func (*LoraSettings) GetRxDelay2

func (x *LoraSettings) GetRxDelay2() uint32

func (*LoraSettings) GetUplinkCounter

func (x *LoraSettings) GetUplinkCounter() uint32

func (*LoraSettings) ProtoMessage

func (*LoraSettings) ProtoMessage()

func (*LoraSettings) ProtoReflect

func (x *LoraSettings) ProtoReflect() protoreflect.Message

func (*LoraSettings) Reset

func (x *LoraSettings) Reset()

func (*LoraSettings) String

func (x *LoraSettings) String() string

type Metadata

type Metadata struct {
	DeviceId   []byte        `protobuf:"bytes,1,opt,name=deviceId,proto3" json:"deviceId,omitempty"`
	Time       int64         `protobuf:"varint,2,opt,name=time,proto3" json:"time,omitempty"`
	Git        string        `protobuf:"bytes,3,opt,name=git,proto3" json:"git,omitempty"`
	Build      string        `protobuf:"bytes,7,opt,name=build,proto3" json:"build,omitempty"`
	ResetCause uint32        `protobuf:"varint,4,opt,name=resetCause,proto3" json:"resetCause,omitempty"`
	Sensors    []*SensorInfo `protobuf:"bytes,5,rep,name=sensors,proto3" json:"sensors,omitempty"`
	Modules    []*ModuleInfo `protobuf:"bytes,6,rep,name=modules,proto3" json:"modules,omitempty"`
	Firmware   *Firmware     `protobuf:"bytes,8,opt,name=firmware,proto3" json:"firmware,omitempty"`
	Generation []byte        `protobuf:"bytes,9,opt,name=generation,proto3" json:"generation,omitempty"`
	Record     uint64        `protobuf:"varint,10,opt,name=record,proto3" json:"record,omitempty"`
	// contains filtered or unexported fields
}

func (*Metadata) Descriptor deprecated

func (*Metadata) Descriptor() ([]byte, []int)

Deprecated: Use Metadata.ProtoReflect.Descriptor instead.

func (*Metadata) GetBuild

func (x *Metadata) GetBuild() string

func (*Metadata) GetDeviceId

func (x *Metadata) GetDeviceId() []byte

func (*Metadata) GetFirmware

func (x *Metadata) GetFirmware() *Firmware

func (*Metadata) GetGeneration

func (x *Metadata) GetGeneration() []byte

func (*Metadata) GetGit

func (x *Metadata) GetGit() string

func (*Metadata) GetModules

func (x *Metadata) GetModules() []*ModuleInfo

func (*Metadata) GetRecord

func (x *Metadata) GetRecord() uint64

func (*Metadata) GetResetCause

func (x *Metadata) GetResetCause() uint32

func (*Metadata) GetSensors

func (x *Metadata) GetSensors() []*SensorInfo

func (*Metadata) GetTime

func (x *Metadata) GetTime() int64

func (*Metadata) ProtoMessage

func (*Metadata) ProtoMessage()

func (*Metadata) ProtoReflect

func (x *Metadata) ProtoReflect() protoreflect.Message

func (*Metadata) Reset

func (x *Metadata) Reset()

func (*Metadata) String

func (x *Metadata) String() string

type ModuleConfiguration

type ModuleConfiguration struct {
	Calibration  *Calibration   `protobuf:"bytes,1,opt,name=calibration,proto3" json:"calibration,omitempty"` // DEPRECATED
	Calibrations []*Calibration `protobuf:"bytes,2,rep,name=calibrations,proto3" json:"calibrations,omitempty"`
	// contains filtered or unexported fields
}

func (*ModuleConfiguration) Descriptor deprecated

func (*ModuleConfiguration) Descriptor() ([]byte, []int)

Deprecated: Use ModuleConfiguration.ProtoReflect.Descriptor instead.

func (*ModuleConfiguration) GetCalibration

func (x *ModuleConfiguration) GetCalibration() *Calibration

func (*ModuleConfiguration) GetCalibrations

func (x *ModuleConfiguration) GetCalibrations() []*Calibration

func (*ModuleConfiguration) ProtoMessage

func (*ModuleConfiguration) ProtoMessage()

func (*ModuleConfiguration) ProtoReflect

func (x *ModuleConfiguration) ProtoReflect() protoreflect.Message

func (*ModuleConfiguration) Reset

func (x *ModuleConfiguration) Reset()

func (*ModuleConfiguration) String

func (x *ModuleConfiguration) String() string

type ModuleHeader

type ModuleHeader struct {
	Manufacturer uint32 `protobuf:"varint,1,opt,name=manufacturer,proto3" json:"manufacturer,omitempty"`
	Kind         uint32 `protobuf:"varint,2,opt,name=kind,proto3" json:"kind,omitempty"`
	Version      uint32 `protobuf:"varint,3,opt,name=version,proto3" json:"version,omitempty"`
	// contains filtered or unexported fields
}

func (*ModuleHeader) Descriptor deprecated

func (*ModuleHeader) Descriptor() ([]byte, []int)

Deprecated: Use ModuleHeader.ProtoReflect.Descriptor instead.

func (*ModuleHeader) GetKind

func (x *ModuleHeader) GetKind() uint32

func (*ModuleHeader) GetManufacturer

func (x *ModuleHeader) GetManufacturer() uint32

func (*ModuleHeader) GetVersion

func (x *ModuleHeader) GetVersion() uint32

func (*ModuleHeader) ProtoMessage

func (*ModuleHeader) ProtoMessage()

func (*ModuleHeader) ProtoReflect

func (x *ModuleHeader) ProtoReflect() protoreflect.Message

func (*ModuleHeader) Reset

func (x *ModuleHeader) Reset()

func (*ModuleHeader) String

func (x *ModuleHeader) String() string

type ModuleInfo

type ModuleInfo struct {
	Position      uint32        `protobuf:"varint,1,opt,name=position,proto3" json:"position,omitempty"`
	Address       uint32        `protobuf:"varint,2,opt,name=address,proto3" json:"address,omitempty"`
	Name          string        `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
	Header        *ModuleHeader `protobuf:"bytes,4,opt,name=header,proto3" json:"header,omitempty"`
	Firmware      *Firmware     `protobuf:"bytes,5,opt,name=firmware,proto3" json:"firmware,omitempty"`
	Sensors       []*SensorInfo `protobuf:"bytes,6,rep,name=sensors,proto3" json:"sensors,omitempty"`
	Id            []byte        `protobuf:"bytes,7,opt,name=id,proto3" json:"id,omitempty"`
	Flags         uint32        `protobuf:"varint,8,opt,name=flags,proto3" json:"flags,omitempty"`
	Configuration []byte        `protobuf:"bytes,9,opt,name=configuration,proto3" json:"configuration,omitempty"`
	// contains filtered or unexported fields
}

func (*ModuleInfo) Descriptor deprecated

func (*ModuleInfo) Descriptor() ([]byte, []int)

Deprecated: Use ModuleInfo.ProtoReflect.Descriptor instead.

func (*ModuleInfo) GetAddress

func (x *ModuleInfo) GetAddress() uint32

func (*ModuleInfo) GetConfiguration

func (x *ModuleInfo) GetConfiguration() []byte

func (*ModuleInfo) GetFirmware

func (x *ModuleInfo) GetFirmware() *Firmware

func (*ModuleInfo) GetFlags

func (x *ModuleInfo) GetFlags() uint32

func (*ModuleInfo) GetHeader

func (x *ModuleInfo) GetHeader() *ModuleHeader

func (*ModuleInfo) GetId

func (x *ModuleInfo) GetId() []byte

func (*ModuleInfo) GetName

func (x *ModuleInfo) GetName() string

func (*ModuleInfo) GetPosition

func (x *ModuleInfo) GetPosition() uint32

func (*ModuleInfo) GetSensors

func (x *ModuleInfo) GetSensors() []*SensorInfo

func (*ModuleInfo) ProtoMessage

func (*ModuleInfo) ProtoMessage()

func (*ModuleInfo) ProtoReflect

func (x *ModuleInfo) ProtoReflect() protoreflect.Message

func (*ModuleInfo) Reset

func (x *ModuleInfo) Reset()

func (*ModuleInfo) String

func (x *ModuleInfo) String() string

type NetworkInfo

type NetworkInfo struct {
	Ssid      string `protobuf:"bytes,1,opt,name=ssid,proto3" json:"ssid,omitempty"`
	Password  string `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty"`
	Create    bool   `protobuf:"varint,3,opt,name=create,proto3" json:"create,omitempty"`
	Preferred bool   `protobuf:"varint,4,opt,name=preferred,proto3" json:"preferred,omitempty"`
	// contains filtered or unexported fields
}

func (*NetworkInfo) Descriptor deprecated

func (*NetworkInfo) Descriptor() ([]byte, []int)

Deprecated: Use NetworkInfo.ProtoReflect.Descriptor instead.

func (*NetworkInfo) GetCreate

func (x *NetworkInfo) GetCreate() bool

func (*NetworkInfo) GetPassword

func (x *NetworkInfo) GetPassword() string

func (*NetworkInfo) GetPreferred

func (x *NetworkInfo) GetPreferred() bool

func (*NetworkInfo) GetSsid

func (x *NetworkInfo) GetSsid() string

func (*NetworkInfo) ProtoMessage

func (*NetworkInfo) ProtoMessage()

func (*NetworkInfo) ProtoReflect

func (x *NetworkInfo) ProtoReflect() protoreflect.Message

func (*NetworkInfo) Reset

func (x *NetworkInfo) Reset()

func (*NetworkInfo) String

func (x *NetworkInfo) String() string

type NetworkSettings

type NetworkSettings struct {
	Networks []*NetworkInfo `protobuf:"bytes,1,rep,name=networks,proto3" json:"networks,omitempty"`
	// contains filtered or unexported fields
}

func (*NetworkSettings) Descriptor deprecated

func (*NetworkSettings) Descriptor() ([]byte, []int)

Deprecated: Use NetworkSettings.ProtoReflect.Descriptor instead.

func (*NetworkSettings) GetNetworks

func (x *NetworkSettings) GetNetworks() []*NetworkInfo

func (*NetworkSettings) ProtoMessage

func (*NetworkSettings) ProtoMessage()

func (*NetworkSettings) ProtoReflect

func (x *NetworkSettings) ProtoReflect() protoreflect.Message

func (*NetworkSettings) Reset

func (x *NetworkSettings) Reset()

func (*NetworkSettings) String

func (x *NetworkSettings) String() string

type Readings

type Readings struct {
	Time         int64           `protobuf:"varint,1,opt,name=time,proto3" json:"time,omitempty"`
	Reading      uint64          `protobuf:"varint,2,opt,name=reading,proto3" json:"reading,omitempty"`
	Flags        uint32          `protobuf:"varint,3,opt,name=flags,proto3" json:"flags,omitempty"`
	Meta         uint64          `protobuf:"varint,6,opt,name=meta,proto3" json:"meta,omitempty"`
	Uptime       uint32          `protobuf:"varint,7,opt,name=uptime,proto3" json:"uptime,omitempty"`
	Location     *DeviceLocation `protobuf:"bytes,4,opt,name=location,proto3" json:"location,omitempty"`
	SensorGroups []*SensorGroup  `protobuf:"bytes,5,rep,name=sensorGroups,proto3" json:"sensorGroups,omitempty"`
	// contains filtered or unexported fields
}

func (*Readings) Descriptor deprecated

func (*Readings) Descriptor() ([]byte, []int)

Deprecated: Use Readings.ProtoReflect.Descriptor instead.

func (*Readings) GetFlags

func (x *Readings) GetFlags() uint32

func (*Readings) GetLocation

func (x *Readings) GetLocation() *DeviceLocation

func (*Readings) GetMeta

func (x *Readings) GetMeta() uint64

func (*Readings) GetReading

func (x *Readings) GetReading() uint64

func (*Readings) GetSensorGroups

func (x *Readings) GetSensorGroups() []*SensorGroup

func (*Readings) GetTime

func (x *Readings) GetTime() int64

func (*Readings) GetUptime

func (x *Readings) GetUptime() uint32

func (*Readings) ProtoMessage

func (*Readings) ProtoMessage()

func (*Readings) ProtoReflect

func (x *Readings) ProtoReflect() protoreflect.Message

func (*Readings) Reset

func (x *Readings) Reset()

func (*Readings) String

func (x *Readings) String() string

type Schedule

type Schedule struct {
	Readings *JobSchedule `protobuf:"bytes,1,opt,name=readings,proto3" json:"readings,omitempty"`
	Network  *JobSchedule `protobuf:"bytes,2,opt,name=network,proto3" json:"network,omitempty"`
	Lora     *JobSchedule `protobuf:"bytes,3,opt,name=lora,proto3" json:"lora,omitempty"`
	Gps      *JobSchedule `protobuf:"bytes,4,opt,name=gps,proto3" json:"gps,omitempty"`
	// contains filtered or unexported fields
}

func (*Schedule) Descriptor deprecated

func (*Schedule) Descriptor() ([]byte, []int)

Deprecated: Use Schedule.ProtoReflect.Descriptor instead.

func (*Schedule) GetGps

func (x *Schedule) GetGps() *JobSchedule

func (*Schedule) GetLora

func (x *Schedule) GetLora() *JobSchedule

func (*Schedule) GetNetwork

func (x *Schedule) GetNetwork() *JobSchedule

func (*Schedule) GetReadings

func (x *Schedule) GetReadings() *JobSchedule

func (*Schedule) ProtoMessage

func (*Schedule) ProtoMessage()

func (*Schedule) ProtoReflect

func (x *Schedule) ProtoReflect() protoreflect.Message

func (*Schedule) Reset

func (x *Schedule) Reset()

func (*Schedule) String

func (x *Schedule) String() string

type SensorAndValue

type SensorAndValue struct {
	Sensor uint32 `protobuf:"varint,1,opt,name=sensor,proto3" json:"sensor,omitempty"`
	// Types that are assignable to Calibrated:
	//
	//	*SensorAndValue_CalibratedNull
	//	*SensorAndValue_CalibratedValue
	Calibrated isSensorAndValue_Calibrated `protobuf_oneof:"calibrated"`
	// Types that are assignable to Uncalibrated:
	//
	//	*SensorAndValue_UncalibratedNull
	//	*SensorAndValue_UncalibratedValue
	Uncalibrated isSensorAndValue_Uncalibrated `protobuf_oneof:"uncalibrated"`
	// contains filtered or unexported fields
}

func (*SensorAndValue) Descriptor deprecated

func (*SensorAndValue) Descriptor() ([]byte, []int)

Deprecated: Use SensorAndValue.ProtoReflect.Descriptor instead.

func (*SensorAndValue) GetCalibrated

func (m *SensorAndValue) GetCalibrated() isSensorAndValue_Calibrated

func (*SensorAndValue) GetCalibratedNull

func (x *SensorAndValue) GetCalibratedNull() bool

func (*SensorAndValue) GetCalibratedValue

func (x *SensorAndValue) GetCalibratedValue() float32

func (*SensorAndValue) GetSensor

func (x *SensorAndValue) GetSensor() uint32

func (*SensorAndValue) GetUncalibrated

func (m *SensorAndValue) GetUncalibrated() isSensorAndValue_Uncalibrated

func (*SensorAndValue) GetUncalibratedNull

func (x *SensorAndValue) GetUncalibratedNull() bool

func (*SensorAndValue) GetUncalibratedValue

func (x *SensorAndValue) GetUncalibratedValue() float32

func (*SensorAndValue) ProtoMessage

func (*SensorAndValue) ProtoMessage()

func (*SensorAndValue) ProtoReflect

func (x *SensorAndValue) ProtoReflect() protoreflect.Message

func (*SensorAndValue) Reset

func (x *SensorAndValue) Reset()

func (*SensorAndValue) String

func (x *SensorAndValue) String() string

type SensorAndValue_CalibratedNull

type SensorAndValue_CalibratedNull struct {
	CalibratedNull bool `protobuf:"varint,4,opt,name=calibratedNull,proto3,oneof"`
}

type SensorAndValue_CalibratedValue

type SensorAndValue_CalibratedValue struct {
	CalibratedValue float32 `protobuf:"fixed32,2,opt,name=calibratedValue,proto3,oneof"`
}

type SensorAndValue_UncalibratedNull

type SensorAndValue_UncalibratedNull struct {
	UncalibratedNull bool `protobuf:"varint,5,opt,name=uncalibratedNull,proto3,oneof"`
}

type SensorAndValue_UncalibratedValue

type SensorAndValue_UncalibratedValue struct {
	UncalibratedValue float32 `protobuf:"fixed32,3,opt,name=uncalibratedValue,proto3,oneof"`
}

type SensorGroup

type SensorGroup struct {
	Module   uint32            `protobuf:"varint,1,opt,name=module,proto3" json:"module,omitempty"`
	Time     int64             `protobuf:"varint,3,opt,name=time,proto3" json:"time,omitempty"`
	Readings []*SensorAndValue `protobuf:"bytes,2,rep,name=readings,proto3" json:"readings,omitempty"`
	// contains filtered or unexported fields
}

func (*SensorGroup) Descriptor deprecated

func (*SensorGroup) Descriptor() ([]byte, []int)

Deprecated: Use SensorGroup.ProtoReflect.Descriptor instead.

func (*SensorGroup) GetModule

func (x *SensorGroup) GetModule() uint32

func (*SensorGroup) GetReadings

func (x *SensorGroup) GetReadings() []*SensorAndValue

func (*SensorGroup) GetTime

func (x *SensorGroup) GetTime() int64

func (*SensorGroup) ProtoMessage

func (*SensorGroup) ProtoMessage()

func (*SensorGroup) ProtoReflect

func (x *SensorGroup) ProtoReflect() protoreflect.Message

func (*SensorGroup) Reset

func (x *SensorGroup) Reset()

func (*SensorGroup) String

func (x *SensorGroup) String() string

type SensorInfo

type SensorInfo struct {
	Number                    uint32 `protobuf:"varint,1,opt,name=number,proto3" json:"number,omitempty"`
	Name                      string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	UnitOfMeasure             string `protobuf:"bytes,3,opt,name=unitOfMeasure,proto3" json:"unitOfMeasure,omitempty"`
	UncalibratedUnitOfMeasure string `protobuf:"bytes,5,opt,name=uncalibratedUnitOfMeasure,proto3" json:"uncalibratedUnitOfMeasure,omitempty"`
	Flags                     uint32 `protobuf:"varint,4,opt,name=flags,proto3" json:"flags,omitempty"`
	// contains filtered or unexported fields
}

func (*SensorInfo) Descriptor deprecated

func (*SensorInfo) Descriptor() ([]byte, []int)

Deprecated: Use SensorInfo.ProtoReflect.Descriptor instead.

func (*SensorInfo) GetFlags

func (x *SensorInfo) GetFlags() uint32

func (*SensorInfo) GetName

func (x *SensorInfo) GetName() string

func (*SensorInfo) GetNumber

func (x *SensorInfo) GetNumber() uint32

func (*SensorInfo) GetUncalibratedUnitOfMeasure

func (x *SensorInfo) GetUncalibratedUnitOfMeasure() string

func (*SensorInfo) GetUnitOfMeasure

func (x *SensorInfo) GetUnitOfMeasure() string

func (*SensorInfo) ProtoMessage

func (*SensorInfo) ProtoMessage()

func (*SensorInfo) ProtoReflect

func (x *SensorInfo) ProtoReflect() protoreflect.Message

func (*SensorInfo) Reset

func (x *SensorInfo) Reset()

func (*SensorInfo) String

func (x *SensorInfo) String() string

type SensorReading

type SensorReading struct {
	Reading uint64  `protobuf:"varint,1,opt,name=reading,proto3" json:"reading,omitempty"`
	Time    int64   `protobuf:"varint,2,opt,name=time,proto3" json:"time,omitempty"`
	Sensor  uint32  `protobuf:"varint,3,opt,name=sensor,proto3" json:"sensor,omitempty"`
	Value   float32 `protobuf:"fixed32,4,opt,name=value,proto3" json:"value,omitempty"`
	// contains filtered or unexported fields
}

func (*SensorReading) Descriptor deprecated

func (*SensorReading) Descriptor() ([]byte, []int)

Deprecated: Use SensorReading.ProtoReflect.Descriptor instead.

func (*SensorReading) GetReading

func (x *SensorReading) GetReading() uint64

func (*SensorReading) GetSensor

func (x *SensorReading) GetSensor() uint32

func (*SensorReading) GetTime

func (x *SensorReading) GetTime() int64

func (*SensorReading) GetValue

func (x *SensorReading) GetValue() float32

func (*SensorReading) ProtoMessage

func (*SensorReading) ProtoMessage()

func (*SensorReading) ProtoReflect

func (x *SensorReading) ProtoReflect() protoreflect.Message

func (*SensorReading) Reset

func (x *SensorReading) Reset()

func (*SensorReading) String

func (x *SensorReading) String() string

type Severity

type Severity int32
const (
	Severity_SEVERITY_INFO    Severity = 0
	Severity_SEVERITY_WARNING Severity = 1
	Severity_SEVERITY_ERROR   Severity = 2
)

func (Severity) Descriptor

func (Severity) Descriptor() protoreflect.EnumDescriptor

func (Severity) Enum

func (x Severity) Enum() *Severity

func (Severity) EnumDescriptor deprecated

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

Deprecated: Use Severity.Descriptor instead.

func (Severity) Number

func (x Severity) Number() protoreflect.EnumNumber

func (Severity) String

func (x Severity) String() string

func (Severity) Type

type SignedRecord

type SignedRecord struct {
	Kind   SignedRecordKind `protobuf:"varint,1,opt,name=kind,proto3,enum=fk_data.SignedRecordKind" json:"kind,omitempty"`
	Time   int64            `protobuf:"varint,2,opt,name=time,proto3" json:"time,omitempty"`
	Data   []byte           `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"`
	Hash   []byte           `protobuf:"bytes,4,opt,name=hash,proto3" json:"hash,omitempty"`
	Record uint64           `protobuf:"varint,5,opt,name=record,proto3" json:"record,omitempty"`
	// contains filtered or unexported fields
}

func (*SignedRecord) Descriptor deprecated

func (*SignedRecord) Descriptor() ([]byte, []int)

Deprecated: Use SignedRecord.ProtoReflect.Descriptor instead.

func (*SignedRecord) GetData

func (x *SignedRecord) GetData() []byte

func (*SignedRecord) GetHash

func (x *SignedRecord) GetHash() []byte

func (*SignedRecord) GetKind

func (x *SignedRecord) GetKind() SignedRecordKind

func (*SignedRecord) GetRecord

func (x *SignedRecord) GetRecord() uint64

func (*SignedRecord) GetTime

func (x *SignedRecord) GetTime() int64

func (*SignedRecord) ProtoMessage

func (*SignedRecord) ProtoMessage()

func (*SignedRecord) ProtoReflect

func (x *SignedRecord) ProtoReflect() protoreflect.Message

func (*SignedRecord) Reset

func (x *SignedRecord) Reset()

func (*SignedRecord) String

func (x *SignedRecord) String() string

type SignedRecordKind

type SignedRecordKind int32
const (
	SignedRecordKind_SIGNED_RECORD_KIND_NONE      SignedRecordKind = 0
	SignedRecordKind_SIGNED_RECORD_KIND_MODULES   SignedRecordKind = 1
	SignedRecordKind_SIGNED_RECORD_KIND_SCHEDULE  SignedRecordKind = 2
	SignedRecordKind_SIGNED_RECORD_KIND_STATE     SignedRecordKind = 3
	SignedRecordKind_SIGNED_RECORD_KIND_RAW_STATE SignedRecordKind = 4
	SignedRecordKind_SIGNED_RECORD_KIND_FAULTS    SignedRecordKind = 5
	SignedRecordKind_SIGNED_RECORD_KIND_OTHER     SignedRecordKind = 255
)

func (SignedRecordKind) Descriptor

func (SignedRecordKind) Enum

func (SignedRecordKind) EnumDescriptor deprecated

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

Deprecated: Use SignedRecordKind.Descriptor instead.

func (SignedRecordKind) Number

func (SignedRecordKind) String

func (x SignedRecordKind) String() string

func (SignedRecordKind) Type

type Status

type Status struct {
	Time    int64   `protobuf:"varint,1,opt,name=time,proto3" json:"time,omitempty"`
	Uptime  uint32  `protobuf:"varint,2,opt,name=uptime,proto3" json:"uptime,omitempty"`
	Battery float32 `protobuf:"fixed32,3,opt,name=battery,proto3" json:"battery,omitempty"`
	Memory  uint32  `protobuf:"varint,4,opt,name=memory,proto3" json:"memory,omitempty"`
	Busy    uint64  `protobuf:"varint,5,opt,name=busy,proto3" json:"busy,omitempty"`
	// contains filtered or unexported fields
}

func (*Status) Descriptor deprecated

func (*Status) Descriptor() ([]byte, []int)

Deprecated: Use Status.ProtoReflect.Descriptor instead.

func (*Status) GetBattery

func (x *Status) GetBattery() float32

func (*Status) GetBusy

func (x *Status) GetBusy() uint64

func (*Status) GetMemory

func (x *Status) GetMemory() uint32

func (*Status) GetTime

func (x *Status) GetTime() int64

func (*Status) GetUptime

func (x *Status) GetUptime() uint32

func (*Status) ProtoMessage

func (*Status) ProtoMessage()

func (*Status) ProtoReflect

func (x *Status) ProtoReflect() protoreflect.Message

func (*Status) Reset

func (x *Status) Reset()

func (*Status) String

func (x *Status) String() string

type TransmissionSettings

type TransmissionSettings struct {
	Wifi *WifiTransmission `protobuf:"bytes,1,opt,name=wifi,proto3" json:"wifi,omitempty"`
	// contains filtered or unexported fields
}

func (*TransmissionSettings) Descriptor deprecated

func (*TransmissionSettings) Descriptor() ([]byte, []int)

Deprecated: Use TransmissionSettings.ProtoReflect.Descriptor instead.

func (*TransmissionSettings) GetWifi

func (x *TransmissionSettings) GetWifi() *WifiTransmission

func (*TransmissionSettings) ProtoMessage

func (*TransmissionSettings) ProtoMessage()

func (*TransmissionSettings) ProtoReflect

func (x *TransmissionSettings) ProtoReflect() protoreflect.Message

func (*TransmissionSettings) Reset

func (x *TransmissionSettings) Reset()

func (*TransmissionSettings) String

func (x *TransmissionSettings) String() string

type WifiTransmission

type WifiTransmission struct {
	Url     string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"`
	Token   string `protobuf:"bytes,2,opt,name=token,proto3" json:"token,omitempty"`
	Enabled bool   `protobuf:"varint,3,opt,name=enabled,proto3" json:"enabled,omitempty"`
	// contains filtered or unexported fields
}

func (*WifiTransmission) Descriptor deprecated

func (*WifiTransmission) Descriptor() ([]byte, []int)

Deprecated: Use WifiTransmission.ProtoReflect.Descriptor instead.

func (*WifiTransmission) GetEnabled

func (x *WifiTransmission) GetEnabled() bool

func (*WifiTransmission) GetToken

func (x *WifiTransmission) GetToken() string

func (*WifiTransmission) GetUrl

func (x *WifiTransmission) GetUrl() string

func (*WifiTransmission) ProtoMessage

func (*WifiTransmission) ProtoMessage()

func (*WifiTransmission) ProtoReflect

func (x *WifiTransmission) ProtoReflect() protoreflect.Message

func (*WifiTransmission) Reset

func (x *WifiTransmission) Reset()

func (*WifiTransmission) String

func (x *WifiTransmission) String() string

Jump to

Keyboard shortcuts

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