Documentation ¶
Index ¶
- Variables
- type GridEye
- func (*GridEye) Descriptor() ([]byte, []int)deprecated
- func (x *GridEye) GetData() []*GridEyeEvent
- func (x *GridEye) GetDeviceId() string
- func (x *GridEye) GetHostname() string
- func (x *GridEye) GetIp() string
- func (x *GridEye) GetLocation() string
- func (x *GridEye) GetMac() string
- func (x *GridEye) GetSeq() uint64
- func (x *GridEye) GetTs() *timestamppb.Timestamp
- func (*GridEye) ProtoMessage()
- func (x *GridEye) ProtoReflect() protoreflect.Message
- func (x *GridEye) Reset()
- func (x *GridEye) String() string
- type GridEyeEvent
- func (*GridEyeEvent) Descriptor() ([]byte, []int)deprecated
- func (x *GridEyeEvent) GetAudioSpectrum() []uint32
- func (x *GridEyeEvent) GetId() string
- func (x *GridEyeEvent) GetSeq() uint64
- func (x *GridEyeEvent) GetTemps() []float64
- func (x *GridEyeEvent) GetTs() *timestamppb.Timestamp
- func (x *GridEyeEvent) GetTyp() string
- func (*GridEyeEvent) ProtoMessage()
- func (x *GridEyeEvent) ProtoReflect() protoreflect.Message
- func (x *GridEyeEvent) Reset()
- func (x *GridEyeEvent) String() string
- type GridEyes
- type Retrieve
- func (*Retrieve) Descriptor() ([]byte, []int)deprecated
- func (x *Retrieve) GetDuration() *durationpb.Duration
- func (x *Retrieve) GetFrom() *timestamppb.Timestamp
- func (x *Retrieve) GetResult() *GridEyes
- func (*Retrieve) ProtoMessage()
- func (x *Retrieve) ProtoReflect() protoreflect.Message
- func (x *Retrieve) Reset()
- func (x *Retrieve) String() string
Constants ¶
This section is empty.
Variables ¶
View Source
var File_grideye_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type GridEye ¶
type GridEye struct { DeviceId string `protobuf:"bytes,1,opt,name=device_id,json=deviceId,proto3" json:"device_id,omitempty"` // not used Hostname string `protobuf:"bytes,2,opt,name=hostname,proto3" json:"hostname,omitempty"` // of Raspberry Pi Location string `protobuf:"bytes,3,opt,name=location,proto3" json:"location,omitempty"` // of Raspberry Pi Mac string `protobuf:"bytes,4,opt,name=mac,proto3" json:"mac,omitempty"` // of Raspberry Pi Ip string `protobuf:"bytes,5,opt,name=ip,proto3" json:"ip,omitempty"` // of Raspberry Pi Seq uint64 `protobuf:"varint,6,opt,name=seq,proto3" json:"seq,omitempty"` // sequence number Ts *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=ts,proto3" json:"ts,omitempty"` Data []*GridEyeEvent `protobuf:"bytes,8,rep,name=data,proto3" json:"data,omitempty"` // message has several event data. // contains filtered or unexported fields }
GridEye Service message
func (*GridEye) Descriptor
deprecated
func (*GridEye) GetData ¶
func (x *GridEye) GetData() []*GridEyeEvent
func (*GridEye) GetDeviceId ¶
func (*GridEye) GetHostname ¶
func (*GridEye) GetLocation ¶
func (*GridEye) GetTs ¶
func (x *GridEye) GetTs() *timestamppb.Timestamp
func (*GridEye) ProtoMessage ¶
func (*GridEye) ProtoMessage()
func (*GridEye) ProtoReflect ¶
func (x *GridEye) ProtoReflect() protoreflect.Message
type GridEyeEvent ¶
type GridEyeEvent struct { Typ string `protobuf:"bytes,1,opt,name=typ,proto3" json:"typ,omitempty"` // one of "sensor", "keepAlive", etc. Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"` // of Grid Eye Sensor Seq uint64 `protobuf:"varint,3,opt,name=seq,proto3" json:"seq,omitempty"` // sequence number Ts *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=ts,proto3" json:"ts,omitempty"` Temps []float64 `protobuf:"fixed64,5,rep,packed,name=temps,proto3" json:"temps,omitempty"` // Sensed Data by Grid Eye AudioSpectrum []uint32 `protobuf:"varint,6,rep,packed,name=audioSpectrum,proto3" json:"audioSpectrum,omitempty"` // Sensed Data by Microphone // contains filtered or unexported fields }
func (*GridEyeEvent) Descriptor
deprecated
func (*GridEyeEvent) Descriptor() ([]byte, []int)
Deprecated: Use GridEyeEvent.ProtoReflect.Descriptor instead.
func (*GridEyeEvent) GetAudioSpectrum ¶ added in v0.1.1
func (x *GridEyeEvent) GetAudioSpectrum() []uint32
func (*GridEyeEvent) GetId ¶
func (x *GridEyeEvent) GetId() string
func (*GridEyeEvent) GetSeq ¶
func (x *GridEyeEvent) GetSeq() uint64
func (*GridEyeEvent) GetTemps ¶
func (x *GridEyeEvent) GetTemps() []float64
func (*GridEyeEvent) GetTs ¶
func (x *GridEyeEvent) GetTs() *timestamppb.Timestamp
func (*GridEyeEvent) GetTyp ¶
func (x *GridEyeEvent) GetTyp() string
func (*GridEyeEvent) ProtoMessage ¶
func (*GridEyeEvent) ProtoMessage()
func (*GridEyeEvent) ProtoReflect ¶
func (x *GridEyeEvent) ProtoReflect() protoreflect.Message
func (*GridEyeEvent) Reset ¶
func (x *GridEyeEvent) Reset()
func (*GridEyeEvent) String ¶
func (x *GridEyeEvent) String() string
type GridEyes ¶
type GridEyes struct { Messages []*GridEye `protobuf:"bytes,1,rep,name=messages,proto3" json:"messages,omitempty"` // multiple counter data for first transfer // contains filtered or unexported fields }
func (*GridEyes) Descriptor
deprecated
func (*GridEyes) GetMessages ¶
func (*GridEyes) ProtoMessage ¶
func (*GridEyes) ProtoMessage()
func (*GridEyes) ProtoReflect ¶
func (x *GridEyes) ProtoReflect() protoreflect.Message
type Retrieve ¶
type Retrieve struct { From *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=from,proto3" json:"from,omitempty"` Duration *durationpb.Duration `protobuf:"bytes,2,opt,name=duration,proto3" json:"duration,omitempty"` Result *GridEyes `protobuf:"bytes,3,opt,name=result,proto3" json:"result,omitempty"` // contains filtered or unexported fields }
func (*Retrieve) Descriptor
deprecated
func (*Retrieve) GetDuration ¶
func (x *Retrieve) GetDuration() *durationpb.Duration
func (*Retrieve) GetFrom ¶
func (x *Retrieve) GetFrom() *timestamppb.Timestamp
func (*Retrieve) ProtoMessage ¶
func (*Retrieve) ProtoMessage()
func (*Retrieve) ProtoReflect ¶
func (x *Retrieve) ProtoReflect() protoreflect.Message
Click to show internal directories.
Click to hide internal directories.