v1

package
v1.0.0-rc4 Latest Latest
Warning

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

Go to latest
Published: Oct 2, 2023 License: MIT Imports: 4 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_motionSensor_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type ConfigurationDescribe

type ConfigurationDescribe struct {
	// contains filtered or unexported fields
}

ConfigurationDescribe to pass to Functionblock.Configuration.functionSpecificConfigurationDescribe hook

func (*ConfigurationDescribe) Descriptor deprecated

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

Deprecated: Use ConfigurationDescribe.ProtoReflect.Descriptor instead.

func (*ConfigurationDescribe) ProtoMessage

func (*ConfigurationDescribe) ProtoMessage()

func (*ConfigurationDescribe) ProtoReflect

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

func (*ConfigurationDescribe) Reset

func (x *ConfigurationDescribe) Reset()

func (*ConfigurationDescribe) String

func (x *ConfigurationDescribe) String() string

type ConfigurationDescribeResponse

type ConfigurationDescribeResponse struct {
	// contains filtered or unexported fields
}

func (*ConfigurationDescribeResponse) Descriptor deprecated

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

Deprecated: Use ConfigurationDescribeResponse.ProtoReflect.Descriptor instead.

func (*ConfigurationDescribeResponse) ProtoMessage

func (*ConfigurationDescribeResponse) ProtoMessage()

func (*ConfigurationDescribeResponse) ProtoReflect

func (*ConfigurationDescribeResponse) Reset

func (x *ConfigurationDescribeResponse) Reset()

func (*ConfigurationDescribeResponse) String

type ConfigurationGet

type ConfigurationGet struct {
	// contains filtered or unexported fields
}

ConfigurationGet to pass to Functionblock.Configuration.functionSpecificConfigurationGet hook

func (*ConfigurationGet) Descriptor deprecated

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

Deprecated: Use ConfigurationGet.ProtoReflect.Descriptor instead.

func (*ConfigurationGet) ProtoMessage

func (*ConfigurationGet) ProtoMessage()

func (*ConfigurationGet) ProtoReflect

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

func (*ConfigurationGet) Reset

func (x *ConfigurationGet) Reset()

func (*ConfigurationGet) String

func (x *ConfigurationGet) String() string

type ConfigurationGetResponse

type ConfigurationGetResponse struct {

	// Actual sample rate in 1/100 Hz
	SampleRateMillihz uint32 `protobuf:"fixed32,1,opt,name=sample_rate_millihz,json=sampleRateMillihz,proto3" json:"sample_rate_millihz,omitempty"`
	// Actual full scale acceleration in g
	FullScaleG int32 `protobuf:"varint,2,opt,name=full_scale_g,json=fullScaleG,proto3" json:"full_scale_g,omitempty"`
	// Whether high-pass filter is enabled
	HighPassFilterEnable bool `` /* 126-byte string literal not displayed */
	// Actual band width of low/high-pass as ratio of sample_rate
	BandWidthRatio int32 `protobuf:"varint,4,opt,name=band_width_ratio,json=bandWidthRatio,proto3" json:"band_width_ratio,omitempty"`
	// contains filtered or unexported fields
}

ConfigurationGetResponse to pass to Functionblock.ConfigurationGetResponse.functionSpecificConfigurationGetResponse hook Returns the current hardware configuration

func (*ConfigurationGetResponse) Descriptor deprecated

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

Deprecated: Use ConfigurationGetResponse.ProtoReflect.Descriptor instead.

func (*ConfigurationGetResponse) GetBandWidthRatio

func (x *ConfigurationGetResponse) GetBandWidthRatio() int32

func (*ConfigurationGetResponse) GetFullScaleG

func (x *ConfigurationGetResponse) GetFullScaleG() int32

func (*ConfigurationGetResponse) GetHighPassFilterEnable

func (x *ConfigurationGetResponse) GetHighPassFilterEnable() bool

func (*ConfigurationGetResponse) GetSampleRateMillihz

func (x *ConfigurationGetResponse) GetSampleRateMillihz() uint32

func (*ConfigurationGetResponse) ProtoMessage

func (*ConfigurationGetResponse) ProtoMessage()

func (*ConfigurationGetResponse) ProtoReflect

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

func (*ConfigurationGetResponse) Reset

func (x *ConfigurationGetResponse) Reset()

func (*ConfigurationGetResponse) String

func (x *ConfigurationGetResponse) String() string

type ConfigurationSet

type ConfigurationSet struct {

	// Desired data rate in 1/1000 Hz
	SampleRateMilliHz uint32 `protobuf:"fixed32,1,opt,name=sample_rate_milliHz,json=sampleRateMilliHz,proto3" json:"sample_rate_milliHz,omitempty"`
	// Full scale acceleration in g
	FullScaleG int32 `protobuf:"varint,2,opt,name=full_scale_g,json=fullScaleG,proto3" json:"full_scale_g,omitempty"`
	// Whether to enable high-pass filter (i.e. don't use low pass)
	HighPassFilterEnable bool `` /* 126-byte string literal not displayed */
	// band width of low/hig-hpass as ratio of sample_rate
	// .e.g. select 2 when the filterbandwith shall be sample_rate/2
	BandWidthRatio int32 `protobuf:"varint,4,opt,name=band_width_ratio,json=bandWidthRatio,proto3" json:"band_width_ratio,omitempty"`
	// contains filtered or unexported fields
}

ConfigurationSet to pass to Functionblock.Configuration.functionSpecificConfigurationSet hook

func (*ConfigurationSet) Descriptor deprecated

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

Deprecated: Use ConfigurationSet.ProtoReflect.Descriptor instead.

func (*ConfigurationSet) GetBandWidthRatio

func (x *ConfigurationSet) GetBandWidthRatio() int32

func (*ConfigurationSet) GetFullScaleG

func (x *ConfigurationSet) GetFullScaleG() int32

func (*ConfigurationSet) GetHighPassFilterEnable

func (x *ConfigurationSet) GetHighPassFilterEnable() bool

func (*ConfigurationSet) GetSampleRateMilliHz

func (x *ConfigurationSet) GetSampleRateMilliHz() uint32

func (*ConfigurationSet) ProtoMessage

func (*ConfigurationSet) ProtoMessage()

func (*ConfigurationSet) ProtoReflect

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

func (*ConfigurationSet) Reset

func (x *ConfigurationSet) Reset()

func (*ConfigurationSet) String

func (x *ConfigurationSet) String() string

type ConfigurationSetResponse

type ConfigurationSetResponse struct {
	// contains filtered or unexported fields
}

ConfigurationSetResponse to pass to Functionblock.Configuration.functionSpecificConfigurationSetResponse hook

func (*ConfigurationSetResponse) Descriptor deprecated

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

Deprecated: Use ConfigurationSetResponse.ProtoReflect.Descriptor instead.

func (*ConfigurationSetResponse) ProtoMessage

func (*ConfigurationSetResponse) ProtoMessage()

func (*ConfigurationSetResponse) ProtoReflect

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

func (*ConfigurationSetResponse) Reset

func (x *ConfigurationSetResponse) Reset()

func (*ConfigurationSetResponse) String

func (x *ConfigurationSetResponse) String() string

type FunctionControlGet

type FunctionControlGet struct {
	// contains filtered or unexported fields
}

FunctionControlGet to pass to Functionblock.FunctionControl.functionSpecificFunctionControlGet hook

func (*FunctionControlGet) Descriptor deprecated

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

Deprecated: Use FunctionControlGet.ProtoReflect.Descriptor instead.

func (*FunctionControlGet) ProtoMessage

func (*FunctionControlGet) ProtoMessage()

func (*FunctionControlGet) ProtoReflect

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

func (*FunctionControlGet) Reset

func (x *FunctionControlGet) Reset()

func (*FunctionControlGet) String

func (x *FunctionControlGet) String() string

type FunctionControlGetResponse

type FunctionControlGetResponse struct {
	// contains filtered or unexported fields
}

FunctionControlGetResponse to pass to Functionblock.FunctionControlResponse.functionSpecificControlGet hook

func (*FunctionControlGetResponse) Descriptor deprecated

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

Deprecated: Use FunctionControlGetResponse.ProtoReflect.Descriptor instead.

func (*FunctionControlGetResponse) ProtoMessage

func (*FunctionControlGetResponse) ProtoMessage()

func (*FunctionControlGetResponse) ProtoReflect

func (*FunctionControlGetResponse) Reset

func (x *FunctionControlGetResponse) Reset()

func (*FunctionControlGetResponse) String

func (x *FunctionControlGetResponse) String() string

type FunctionControlSet

type FunctionControlSet struct {
	// contains filtered or unexported fields
}

FunctionControlSet to pass to Functionblock.FunctionControl.functionSpecificFunctionControlSet hook

func (*FunctionControlSet) Descriptor deprecated

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

Deprecated: Use FunctionControlSet.ProtoReflect.Descriptor instead.

func (*FunctionControlSet) ProtoMessage

func (*FunctionControlSet) ProtoMessage()

func (*FunctionControlSet) ProtoReflect

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

func (*FunctionControlSet) Reset

func (x *FunctionControlSet) Reset()

func (*FunctionControlSet) String

func (x *FunctionControlSet) String() string

type FunctionControlSetResponse

type FunctionControlSetResponse struct {
	// contains filtered or unexported fields
}

FunctionControlSetResponse to pass to Functionblock.FunctionControlResponse.functionSpecificControlSet hook

func (*FunctionControlSetResponse) Descriptor deprecated

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

Deprecated: Use FunctionControlSetResponse.ProtoReflect.Descriptor instead.

func (*FunctionControlSetResponse) ProtoMessage

func (*FunctionControlSetResponse) ProtoMessage()

func (*FunctionControlSetResponse) ProtoReflect

func (*FunctionControlSetResponse) Reset

func (x *FunctionControlSetResponse) Reset()

func (*FunctionControlSetResponse) String

func (x *FunctionControlSetResponse) String() string

type Sample

type Sample struct {

	// Timestamp for that specific sample. This is the time the sample was taken.
	// This timestamp is in microseconds since the start of the device and does not get synchronized with the clients time.
	Timestamp uint64 `protobuf:"fixed64,1,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
	// x Acceleration in g
	X float32 `protobuf:"fixed32,2,opt,name=x,proto3" json:"x,omitempty"`
	// y Acceleration in g
	Y float32 `protobuf:"fixed32,3,opt,name=y,proto3" json:"y,omitempty"`
	// z Acceleration in g
	Z float32 `protobuf:"fixed32,4,opt,name=z,proto3" json:"z,omitempty"`
	// contains filtered or unexported fields
}

func (*Sample) Descriptor deprecated

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

Deprecated: Use Sample.ProtoReflect.Descriptor instead.

func (*Sample) GetTimestamp

func (x *Sample) GetTimestamp() uint64

func (*Sample) GetX

func (x *Sample) GetX() float32

func (*Sample) GetY

func (x *Sample) GetY() float32

func (*Sample) GetZ

func (x *Sample) GetZ() float32

func (*Sample) ProtoMessage

func (*Sample) ProtoMessage()

func (*Sample) ProtoReflect

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

func (*Sample) Reset

func (x *Sample) Reset()

func (*Sample) String

func (x *Sample) String() string

type StreamControlStart

type StreamControlStart struct {
	// contains filtered or unexported fields
}

============= StreamControl ================== StreamControlStart to pass to Functionblock.StreamControlStart.functionSpecificStreamControlStart hook

func (*StreamControlStart) Descriptor deprecated

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

Deprecated: Use StreamControlStart.ProtoReflect.Descriptor instead.

func (*StreamControlStart) ProtoMessage

func (*StreamControlStart) ProtoMessage()

func (*StreamControlStart) ProtoReflect

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

func (*StreamControlStart) Reset

func (x *StreamControlStart) Reset()

func (*StreamControlStart) String

func (x *StreamControlStart) String() string

type StreamData

type StreamData struct {
	Samples []*Sample `protobuf:"bytes,1,rep,name=samples,proto3" json:"samples,omitempty"`
	// contains filtered or unexported fields
}

StreamData to pass to Functionblock.StreamData.functionSpecificStreamData hook

func (*StreamData) Descriptor deprecated

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

Deprecated: Use StreamData.ProtoReflect.Descriptor instead.

func (*StreamData) GetSamples

func (x *StreamData) GetSamples() []*Sample

func (*StreamData) ProtoMessage

func (*StreamData) ProtoMessage()

func (*StreamData) ProtoReflect

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

func (*StreamData) Reset

func (x *StreamData) Reset()

func (*StreamData) String

func (x *StreamData) String() string

Jump to

Keyboard shortcuts

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