Documentation
¶
Index ¶
- Variables
- type ConfigurationDescribe
- type ConfigurationDescribeResponse
- func (*ConfigurationDescribeResponse) Descriptor() ([]byte, []int)deprecated
- func (*ConfigurationDescribeResponse) ProtoMessage()
- func (x *ConfigurationDescribeResponse) ProtoReflect() protoreflect.Message
- func (x *ConfigurationDescribeResponse) Reset()
- func (x *ConfigurationDescribeResponse) String() string
- type ConfigurationGet
- type ConfigurationGetResponse
- func (*ConfigurationGetResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ConfigurationGetResponse) GetBandWidthRatio() int32
- func (x *ConfigurationGetResponse) GetFullScaleG() int32
- func (x *ConfigurationGetResponse) GetHighPassFilterEnable() bool
- func (x *ConfigurationGetResponse) GetSampleRateMillihz() uint32
- func (*ConfigurationGetResponse) ProtoMessage()
- func (x *ConfigurationGetResponse) ProtoReflect() protoreflect.Message
- func (x *ConfigurationGetResponse) Reset()
- func (x *ConfigurationGetResponse) String() string
- type ConfigurationSet
- func (*ConfigurationSet) Descriptor() ([]byte, []int)deprecated
- func (x *ConfigurationSet) GetBandWidthRatio() int32
- func (x *ConfigurationSet) GetFullScaleG() int32
- func (x *ConfigurationSet) GetHighPassFilterEnable() bool
- func (x *ConfigurationSet) GetSampleRateMilliHz() uint32
- func (*ConfigurationSet) ProtoMessage()
- func (x *ConfigurationSet) ProtoReflect() protoreflect.Message
- func (x *ConfigurationSet) Reset()
- func (x *ConfigurationSet) String() string
- type ConfigurationSetResponse
- type FunctionControlGet
- type FunctionControlGetResponse
- type FunctionControlSet
- type FunctionControlSetResponse
- type Sample
- func (*Sample) Descriptor() ([]byte, []int)deprecated
- func (x *Sample) GetTimestamp() uint64
- func (x *Sample) GetX() float32
- func (x *Sample) GetY() float32
- func (x *Sample) GetZ() float32
- func (*Sample) ProtoMessage()
- func (x *Sample) ProtoReflect() protoreflect.Message
- func (x *Sample) Reset()
- func (x *Sample) String() string
- type StreamControlStart
- type StreamData
Constants ¶
This section is empty.
Variables ¶
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 (x *ConfigurationDescribeResponse) ProtoReflect() protoreflect.Message
func (*ConfigurationDescribeResponse) Reset ¶
func (x *ConfigurationDescribeResponse) Reset()
func (*ConfigurationDescribeResponse) String ¶
func (x *ConfigurationDescribeResponse) String() 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 (x *FunctionControlGetResponse) ProtoReflect() protoreflect.Message
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 (x *FunctionControlSetResponse) ProtoReflect() protoreflect.Message
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) GetTimestamp ¶
func (*Sample) ProtoMessage ¶
func (*Sample) ProtoMessage()
func (*Sample) ProtoReflect ¶
func (x *Sample) ProtoReflect() protoreflect.Message
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