Documentation
¶
Index ¶
- Variables
- type Aggregation
- func (Aggregation) Descriptor() protoreflect.EnumDescriptor
- func (x Aggregation) Enum() *Aggregation
- func (Aggregation) EnumDescriptor() ([]byte, []int)deprecated
- func (x Aggregation) Number() protoreflect.EnumNumber
- func (x Aggregation) String() string
- func (Aggregation) Type() protoreflect.EnumType
- type BasestationDownlinkMessageType
- func (BasestationDownlinkMessageType) Descriptor() protoreflect.EnumDescriptor
- func (x BasestationDownlinkMessageType) Enum() *BasestationDownlinkMessageType
- func (BasestationDownlinkMessageType) EnumDescriptor() ([]byte, []int)deprecated
- func (x BasestationDownlinkMessageType) Number() protoreflect.EnumNumber
- func (x BasestationDownlinkMessageType) String() string
- func (BasestationDownlinkMessageType) Type() protoreflect.EnumType
- type BasestationUplinkMessageType
- func (BasestationUplinkMessageType) Descriptor() protoreflect.EnumDescriptor
- func (x BasestationUplinkMessageType) Enum() *BasestationUplinkMessageType
- func (BasestationUplinkMessageType) EnumDescriptor() ([]byte, []int)deprecated
- func (x BasestationUplinkMessageType) Number() protoreflect.EnumNumber
- func (x BasestationUplinkMessageType) String() string
- func (BasestationUplinkMessageType) Type() protoreflect.EnumType
- type BssciVersion
- func (BssciVersion) Descriptor() protoreflect.EnumDescriptor
- func (x BssciVersion) Enum() *BssciVersion
- func (BssciVersion) EnumDescriptor() ([]byte, []int)deprecated
- func (x BssciVersion) Number() protoreflect.EnumNumber
- func (x BssciVersion) String() string
- func (BssciVersion) Type() protoreflect.EnumType
- type DeviceClass
- func (DeviceClass) Descriptor() protoreflect.EnumDescriptor
- func (x DeviceClass) Enum() *DeviceClass
- func (DeviceClass) EnumDescriptor() ([]byte, []int)deprecated
- func (x DeviceClass) Number() protoreflect.EnumNumber
- func (x DeviceClass) String() string
- func (DeviceClass) Type() protoreflect.EnumType
- type EndnodeDownlinkMessageType
- func (EndnodeDownlinkMessageType) Descriptor() protoreflect.EnumDescriptor
- func (x EndnodeDownlinkMessageType) Enum() *EndnodeDownlinkMessageType
- func (EndnodeDownlinkMessageType) EnumDescriptor() ([]byte, []int)deprecated
- func (x EndnodeDownlinkMessageType) Number() protoreflect.EnumNumber
- func (x EndnodeDownlinkMessageType) String() string
- func (EndnodeDownlinkMessageType) Type() protoreflect.EnumType
- type EndnodeUplinkMessageType
- func (EndnodeUplinkMessageType) Descriptor() protoreflect.EnumDescriptor
- func (x EndnodeUplinkMessageType) Enum() *EndnodeUplinkMessageType
- func (EndnodeUplinkMessageType) EnumDescriptor() ([]byte, []int)deprecated
- func (x EndnodeUplinkMessageType) Number() protoreflect.EnumNumber
- func (x EndnodeUplinkMessageType) String() string
- func (EndnodeUplinkMessageType) Type() protoreflect.EnumType
- type GeoLocation
- func (*GeoLocation) Descriptor() ([]byte, []int)deprecated
- func (x *GeoLocation) GetAlt() float64
- func (x *GeoLocation) GetLat() float64
- func (x *GeoLocation) GetLon() float64
- func (*GeoLocation) ProtoMessage()
- func (x *GeoLocation) ProtoReflect() protoreflect.Message
- func (x *GeoLocation) Reset()
- func (x *GeoLocation) String() string
- type MacPayloadFormat
- func (MacPayloadFormat) Descriptor() protoreflect.EnumDescriptor
- func (x MacPayloadFormat) Enum() *MacPayloadFormat
- func (MacPayloadFormat) EnumDescriptor() ([]byte, []int)deprecated
- func (x MacPayloadFormat) Number() protoreflect.EnumNumber
- func (x MacPayloadFormat) String() string
- func (MacPayloadFormat) Type() protoreflect.EnumType
- type MbusHeader
- func (*MbusHeader) Descriptor() ([]byte, []int)deprecated
- func (x *MbusHeader) GetGeneration() uint32
- func (x *MbusHeader) GetManufacturer() string
- func (x *MbusHeader) GetMedium() uint32
- func (x *MbusHeader) GetSerialNo() string
- func (*MbusHeader) ProtoMessage()
- func (x *MbusHeader) ProtoReflect() protoreflect.Message
- func (x *MbusHeader) Reset()
- func (x *MbusHeader) String() string
- type Metric
- func (*Metric) Descriptor() ([]byte, []int)deprecated
- func (x *Metric) GetDatasets() []*MetricDataset
- func (x *Metric) GetKind() MetricKind
- func (x *Metric) GetName() string
- func (x *Metric) GetTimestamps() []*timestamppb.Timestamp
- func (*Metric) ProtoMessage()
- func (x *Metric) ProtoReflect() protoreflect.Message
- func (x *Metric) Reset()
- func (x *Metric) String() string
- type MetricDataset
- func (*MetricDataset) Descriptor() ([]byte, []int)deprecated
- func (x *MetricDataset) GetData() []float32
- func (x *MetricDataset) GetLabel() string
- func (*MetricDataset) ProtoMessage()
- func (x *MetricDataset) ProtoReflect() protoreflect.Message
- func (x *MetricDataset) Reset()
- func (x *MetricDataset) String() string
- type MetricKind
- type Region
- type Tags
- type TsUnbMode
- type VariableMacType
- func (VariableMacType) Descriptor() protoreflect.EnumDescriptor
- func (x VariableMacType) Enum() *VariableMacType
- func (VariableMacType) EnumDescriptor() ([]byte, []int)deprecated
- func (x VariableMacType) Number() protoreflect.EnumNumber
- func (x VariableMacType) String() string
- func (VariableMacType) Type() protoreflect.EnumType
Constants ¶
This section is empty.
Variables ¶
var ( Region_name = map[int32]string{ 0: "EU868", 2: "US915", } Region_value = map[string]int32{ "EU868": 0, "US915": 2, } )
Enum value maps for Region.
var ( TsUnbMode_name = map[int32]string{ 0: "EU0", 1: "EU1", 2: "EU2", 3: "US0", } TsUnbMode_value = map[string]int32{ "EU0": 0, "EU1": 1, "EU2": 2, "US0": 3, } )
Enum value maps for TsUnbMode.
var ( EndnodeUplinkMessageType_name = map[int32]string{ 0: "ATTACHMENT", 1: "DETACHMENT", 2: "UNCONFIRMED_UL_DATA", 3: "CONFIRMED_UL_DATA", 4: "VARIABLE_MAC_UL_DATA", 5: "DOWNLINK_RESULT", 6: "RX_STATUS_QUERY_RESULT", } EndnodeUplinkMessageType_value = map[string]int32{ "ATTACHMENT": 0, "DETACHMENT": 1, "UNCONFIRMED_UL_DATA": 2, "CONFIRMED_UL_DATA": 3, "VARIABLE_MAC_UL_DATA": 4, "DOWNLINK_RESULT": 5, "RX_STATUS_QUERY_RESULT": 6, } )
Enum value maps for EndnodeUplinkMessageType.
var ( EndnodeDownlinkMessageType_name = map[int32]string{ 0: "ATTACHMENT_RESPONSE", 1: "DETACHMENT_RESPONSE", 2: "ERROR_RESPONSE", 3: "ENQUE_DOWNLINK", 4: "REVOKE_DOWNLINK", 5: "DOWNLINK_RX_STATUS_QUERY", } EndnodeDownlinkMessageType_value = map[string]int32{ "ATTACHMENT_RESPONSE": 0, "DETACHMENT_RESPONSE": 1, "ERROR_RESPONSE": 2, "ENQUE_DOWNLINK": 3, "REVOKE_DOWNLINK": 4, "DOWNLINK_RX_STATUS_QUERY": 5, } )
Enum value maps for EndnodeDownlinkMessageType.
var ( BasestationUplinkMessageType_name = map[int32]string{ 0: "CONNECT", 1: "STATUS", 2: "VARIABLE_MAC_STATUS", 3: "PROPAGATE_ACK", } BasestationUplinkMessageType_value = map[string]int32{ "CONNECT": 0, "STATUS": 1, "VARIABLE_MAC_STATUS": 2, "PROPAGATE_ACK": 3, } )
Enum value maps for BasestationUplinkMessageType.
var ( BasestationDownlinkMessageType_name = map[int32]string{ 0: "ATTACH_PROPAGATE", 1: "DETACH_PROPAGATE", 2: "BATCH_PROPAGATE", 3: "REQUEST_STATUS", 4: "REQUEST_VM_STATUS", 5: "VARIABLE_MAC_ACTIVATE", 6: "VARIABLE_MAC_DEACTIVATE", 7: "VARIABLE_MAC_BATCH", } BasestationDownlinkMessageType_value = map[string]int32{ "ATTACH_PROPAGATE": 0, "DETACH_PROPAGATE": 1, "BATCH_PROPAGATE": 2, "REQUEST_STATUS": 3, "REQUEST_VM_STATUS": 4, "VARIABLE_MAC_ACTIVATE": 5, "VARIABLE_MAC_DEACTIVATE": 6, "VARIABLE_MAC_BATCH": 7, } )
Enum value maps for BasestationDownlinkMessageType.
var ( BssciVersion_name = map[int32]string{ 0: "BSSCI_1_0_0", } BssciVersion_value = map[string]int32{ "BSSCI_1_0_0": 0, } )
Enum value maps for BssciVersion.
var ( DeviceClass_name = map[int32]string{ 0: "CLASS_Z", 1: "CLASS_A", 2: "CLASS_B", 3: "CLASS_C", } DeviceClass_value = map[string]int32{ "CLASS_Z": 0, "CLASS_A": 1, "CLASS_B": 2, "CLASS_C": 3, } )
Enum value maps for DeviceClass.
var ( VariableMacType_name = map[int32]string{ 0: "WMBUS", 1: "MBUS_FFB", 2: "MBUS_MAC", 3: "MIOTY_ALLIANCE", 4: "CUSTOM", 5: "RESERVED", } VariableMacType_value = map[string]int32{ "WMBUS": 0, "MBUS_FFB": 1, "MBUS_MAC": 2, "MIOTY_ALLIANCE": 3, "CUSTOM": 4, "RESERVED": 5, } )
Enum value maps for VariableMacType.
var ( MacPayloadFormat_name = map[int32]string{ 0: "DEFAULT", 1: "MBUS", 2: "MBUS_APL", 3: "IO_LINK", 4: "MBUS_MBAL", 5: "MANUFACTURER_SPECIFIC", } MacPayloadFormat_value = map[string]int32{ "DEFAULT": 0, "MBUS": 1, "MBUS_APL": 2, "IO_LINK": 3, "MBUS_MBAL": 4, "MANUFACTURER_SPECIFIC": 5, } )
Enum value maps for MacPayloadFormat.
var ( Aggregation_name = map[int32]string{ 0: "HOUR", 1: "DAY", 2: "MONTH", 3: "MINUTE", } Aggregation_value = map[string]int32{ "HOUR": 0, "DAY": 1, "MONTH": 2, "MINUTE": 3, } )
Enum value maps for Aggregation.
var ( MetricKind_name = map[int32]string{ 0: "COUNTER", 1: "ABSOLUTE", 2: "GAUGE", } MetricKind_value = map[string]int32{ "COUNTER": 0, "ABSOLUTE": 1, "GAUGE": 2, } )
Enum value maps for MetricKind.
var File_common_common_proto protoreflect.FileDescriptor
var File_common_metrics_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Aggregation ¶
type Aggregation int32
const ( // Hour. Aggregation_HOUR Aggregation = 0 // Day. Aggregation_DAY Aggregation = 1 // Month. Aggregation_MONTH Aggregation = 2 // Minute. Aggregation_MINUTE Aggregation = 3 )
func (Aggregation) Descriptor ¶
func (Aggregation) Descriptor() protoreflect.EnumDescriptor
func (Aggregation) Enum ¶
func (x Aggregation) Enum() *Aggregation
func (Aggregation) EnumDescriptor
deprecated
func (Aggregation) EnumDescriptor() ([]byte, []int)
Deprecated: Use Aggregation.Descriptor instead.
func (Aggregation) Number ¶
func (x Aggregation) Number() protoreflect.EnumNumber
func (Aggregation) String ¶
func (x Aggregation) String() string
func (Aggregation) Type ¶
func (Aggregation) Type() protoreflect.EnumType
type BasestationDownlinkMessageType ¶
type BasestationDownlinkMessageType int32
const ( BasestationDownlinkMessageType_ATTACH_PROPAGATE BasestationDownlinkMessageType = 0 BasestationDownlinkMessageType_DETACH_PROPAGATE BasestationDownlinkMessageType = 1 BasestationDownlinkMessageType_BATCH_PROPAGATE BasestationDownlinkMessageType = 2 BasestationDownlinkMessageType_REQUEST_STATUS BasestationDownlinkMessageType = 3 BasestationDownlinkMessageType_REQUEST_VM_STATUS BasestationDownlinkMessageType = 4 BasestationDownlinkMessageType_VARIABLE_MAC_ACTIVATE BasestationDownlinkMessageType = 5 BasestationDownlinkMessageType_VARIABLE_MAC_DEACTIVATE BasestationDownlinkMessageType = 6 BasestationDownlinkMessageType_VARIABLE_MAC_BATCH BasestationDownlinkMessageType = 7 )
func (BasestationDownlinkMessageType) Descriptor ¶
func (BasestationDownlinkMessageType) Descriptor() protoreflect.EnumDescriptor
func (BasestationDownlinkMessageType) Enum ¶
func (x BasestationDownlinkMessageType) Enum() *BasestationDownlinkMessageType
func (BasestationDownlinkMessageType) EnumDescriptor
deprecated
func (BasestationDownlinkMessageType) EnumDescriptor() ([]byte, []int)
Deprecated: Use BasestationDownlinkMessageType.Descriptor instead.
func (BasestationDownlinkMessageType) Number ¶
func (x BasestationDownlinkMessageType) Number() protoreflect.EnumNumber
func (BasestationDownlinkMessageType) String ¶
func (x BasestationDownlinkMessageType) String() string
func (BasestationDownlinkMessageType) Type ¶
func (BasestationDownlinkMessageType) Type() protoreflect.EnumType
type BasestationUplinkMessageType ¶
type BasestationUplinkMessageType int32
const ( // Basestation connection event. BasestationUplinkMessageType_CONNECT BasestationUplinkMessageType = 0 // Basestation status. BasestationUplinkMessageType_STATUS BasestationUplinkMessageType = 1 // Status of enabled variable mac types. BasestationUplinkMessageType_VARIABLE_MAC_STATUS BasestationUplinkMessageType = 2 // Acknowledgement of a propagated attach/detach. BasestationUplinkMessageType_PROPAGATE_ACK BasestationUplinkMessageType = 3 )
func (BasestationUplinkMessageType) Descriptor ¶
func (BasestationUplinkMessageType) Descriptor() protoreflect.EnumDescriptor
func (BasestationUplinkMessageType) Enum ¶
func (x BasestationUplinkMessageType) Enum() *BasestationUplinkMessageType
func (BasestationUplinkMessageType) EnumDescriptor
deprecated
func (BasestationUplinkMessageType) EnumDescriptor() ([]byte, []int)
Deprecated: Use BasestationUplinkMessageType.Descriptor instead.
func (BasestationUplinkMessageType) Number ¶
func (x BasestationUplinkMessageType) Number() protoreflect.EnumNumber
func (BasestationUplinkMessageType) String ¶
func (x BasestationUplinkMessageType) String() string
func (BasestationUplinkMessageType) Type ¶
func (BasestationUplinkMessageType) Type() protoreflect.EnumType
type BssciVersion ¶
type BssciVersion int32
const (
BssciVersion_BSSCI_1_0_0 BssciVersion = 0
)
func (BssciVersion) Descriptor ¶
func (BssciVersion) Descriptor() protoreflect.EnumDescriptor
func (BssciVersion) Enum ¶
func (x BssciVersion) Enum() *BssciVersion
func (BssciVersion) EnumDescriptor
deprecated
func (BssciVersion) EnumDescriptor() ([]byte, []int)
Deprecated: Use BssciVersion.Descriptor instead.
func (BssciVersion) Number ¶
func (x BssciVersion) Number() protoreflect.EnumNumber
func (BssciVersion) String ¶
func (x BssciVersion) String() string
func (BssciVersion) Type ¶
func (BssciVersion) Type() protoreflect.EnumType
type DeviceClass ¶
type DeviceClass int32
const ( // Class-Z. DeviceClass_CLASS_Z DeviceClass = 0 // Class-A. DeviceClass_CLASS_A DeviceClass = 1 // Class-B. DeviceClass_CLASS_B DeviceClass = 2 // Class-C. DeviceClass_CLASS_C DeviceClass = 3 )
func (DeviceClass) Descriptor ¶
func (DeviceClass) Descriptor() protoreflect.EnumDescriptor
func (DeviceClass) Enum ¶
func (x DeviceClass) Enum() *DeviceClass
func (DeviceClass) EnumDescriptor
deprecated
func (DeviceClass) EnumDescriptor() ([]byte, []int)
Deprecated: Use DeviceClass.Descriptor instead.
func (DeviceClass) Number ¶
func (x DeviceClass) Number() protoreflect.EnumNumber
func (DeviceClass) String ¶
func (x DeviceClass) String() string
func (DeviceClass) Type ¶
func (DeviceClass) Type() protoreflect.EnumType
type EndnodeDownlinkMessageType ¶
type EndnodeDownlinkMessageType int32
const ( // Over the air attachment. EndnodeDownlinkMessageType_ATTACHMENT_RESPONSE EndnodeDownlinkMessageType = 0 // Over the air detachment. EndnodeDownlinkMessageType_DETACHMENT_RESPONSE EndnodeDownlinkMessageType = 1 // Error response EndnodeDownlinkMessageType_ERROR_RESPONSE EndnodeDownlinkMessageType = 2 // Enque downlink EndnodeDownlinkMessageType_ENQUE_DOWNLINK EndnodeDownlinkMessageType = 3 // Revoke downlink EndnodeDownlinkMessageType_REVOKE_DOWNLINK EndnodeDownlinkMessageType = 4 // Downlink RX status query EndnodeDownlinkMessageType_DOWNLINK_RX_STATUS_QUERY EndnodeDownlinkMessageType = 5 )
func (EndnodeDownlinkMessageType) Descriptor ¶
func (EndnodeDownlinkMessageType) Descriptor() protoreflect.EnumDescriptor
func (EndnodeDownlinkMessageType) Enum ¶
func (x EndnodeDownlinkMessageType) Enum() *EndnodeDownlinkMessageType
func (EndnodeDownlinkMessageType) EnumDescriptor
deprecated
func (EndnodeDownlinkMessageType) EnumDescriptor() ([]byte, []int)
Deprecated: Use EndnodeDownlinkMessageType.Descriptor instead.
func (EndnodeDownlinkMessageType) Number ¶
func (x EndnodeDownlinkMessageType) Number() protoreflect.EnumNumber
func (EndnodeDownlinkMessageType) String ¶
func (x EndnodeDownlinkMessageType) String() string
func (EndnodeDownlinkMessageType) Type ¶
func (EndnodeDownlinkMessageType) Type() protoreflect.EnumType
type EndnodeUplinkMessageType ¶
type EndnodeUplinkMessageType int32
const ( // Over the air attachment. EndnodeUplinkMessageType_ATTACHMENT EndnodeUplinkMessageType = 0 // Over the air detachment. EndnodeUplinkMessageType_DETACHMENT EndnodeUplinkMessageType = 1 // Unconfirmed uplink. EndnodeUplinkMessageType_UNCONFIRMED_UL_DATA EndnodeUplinkMessageType = 2 // Confirmed uplink. EndnodeUplinkMessageType_CONFIRMED_UL_DATA EndnodeUplinkMessageType = 3 // Variable MAC uplink. EndnodeUplinkMessageType_VARIABLE_MAC_UL_DATA EndnodeUplinkMessageType = 4 // Downlink command result EndnodeUplinkMessageType_DOWNLINK_RESULT EndnodeUplinkMessageType = 5 // Result of a RX status query EndnodeUplinkMessageType_RX_STATUS_QUERY_RESULT EndnodeUplinkMessageType = 6 )
func (EndnodeUplinkMessageType) Descriptor ¶
func (EndnodeUplinkMessageType) Descriptor() protoreflect.EnumDescriptor
func (EndnodeUplinkMessageType) Enum ¶
func (x EndnodeUplinkMessageType) Enum() *EndnodeUplinkMessageType
func (EndnodeUplinkMessageType) EnumDescriptor
deprecated
func (EndnodeUplinkMessageType) EnumDescriptor() ([]byte, []int)
Deprecated: Use EndnodeUplinkMessageType.Descriptor instead.
func (EndnodeUplinkMessageType) Number ¶
func (x EndnodeUplinkMessageType) Number() protoreflect.EnumNumber
func (EndnodeUplinkMessageType) String ¶
func (x EndnodeUplinkMessageType) String() string
func (EndnodeUplinkMessageType) Type ¶
func (EndnodeUplinkMessageType) Type() protoreflect.EnumType
type GeoLocation ¶
type GeoLocation struct {
// Latitude in degrees. Zero value is considered to be unset.
Lat float64 `protobuf:"fixed64,1,opt,name=lat,proto3" json:"lat,omitempty"`
// Longitude in degrees. Zero value is considered to be unset.
Lon float64 `protobuf:"fixed64,2,opt,name=lon,proto3" json:"lon,omitempty"`
// Altitude in meters. Only evaluated if Latitude and Longitude are set.
Alt float64 `protobuf:"fixed64,3,opt,name=alt,proto3" json:"alt,omitempty"`
// contains filtered or unexported fields
}
func (*GeoLocation) Descriptor
deprecated
func (*GeoLocation) Descriptor() ([]byte, []int)
Deprecated: Use GeoLocation.ProtoReflect.Descriptor instead.
func (*GeoLocation) GetAlt ¶
func (x *GeoLocation) GetAlt() float64
func (*GeoLocation) GetLat ¶
func (x *GeoLocation) GetLat() float64
func (*GeoLocation) GetLon ¶
func (x *GeoLocation) GetLon() float64
func (*GeoLocation) ProtoMessage ¶
func (*GeoLocation) ProtoMessage()
func (*GeoLocation) ProtoReflect ¶
func (x *GeoLocation) ProtoReflect() protoreflect.Message
func (*GeoLocation) Reset ¶
func (x *GeoLocation) Reset()
func (*GeoLocation) String ¶
func (x *GeoLocation) String() string
type MacPayloadFormat ¶
type MacPayloadFormat int32
const ( // Indicates a no special format as MAC payload format MacPayloadFormat_DEFAULT MacPayloadFormat = 0 // Indicates an M-Bus format as MAC payload format, starting with CI-field (see EN 13757-7) MacPayloadFormat_MBUS MacPayloadFormat = 1 // Indicates M-Bus APL data as MAC payload format, starting with a data information block (DIB) (see EN 13757-3) MacPayloadFormat_MBUS_APL MacPayloadFormat = 2 // Indicates an IO-Link application layer format as next layer MacPayloadFormat_IO_LINK MacPayloadFormat = 3 // Indicates an M-Bus format as next layer, using adaptation Layer, starting with MBAL (see EN 13757-8) MacPayloadFormat_MBUS_MBAL MacPayloadFormat = 4 // Indicates a manufacturer specific format not defined in the ETSI TS 103 357 specification MacPayloadFormat_MANUFACTURER_SPECIFIC MacPayloadFormat = 5 )
func (MacPayloadFormat) Descriptor ¶
func (MacPayloadFormat) Descriptor() protoreflect.EnumDescriptor
func (MacPayloadFormat) Enum ¶
func (x MacPayloadFormat) Enum() *MacPayloadFormat
func (MacPayloadFormat) EnumDescriptor
deprecated
func (MacPayloadFormat) EnumDescriptor() ([]byte, []int)
Deprecated: Use MacPayloadFormat.Descriptor instead.
func (MacPayloadFormat) Number ¶
func (x MacPayloadFormat) Number() protoreflect.EnumNumber
func (MacPayloadFormat) String ¶
func (x MacPayloadFormat) String() string
func (MacPayloadFormat) Type ¶
func (MacPayloadFormat) Type() protoreflect.EnumType
type MbusHeader ¶
type MbusHeader struct {
// Serial number of the M-Bus device. 8 digit number from 0 to 99999999
SerialNo string `protobuf:"bytes,1,opt,name=serialNo,proto3" json:"serialNo,omitempty"`
// Generation number of the M-Bus device. 1 Byte number from 0 to 255
Generation uint32 `protobuf:"varint,2,opt,name=generation,proto3" json:"generation,omitempty"`
// Medium code of the M-Bus device. 1 Byte number from 0 to 255
Medium uint32 `protobuf:"varint,3,opt,name=medium,proto3" json:"medium,omitempty"`
// Manufacturer (MAN) of the M-Bus device. 3 character string.
Manufacturer string `protobuf:"bytes,4,opt,name=manufacturer,proto3" json:"manufacturer,omitempty"`
// contains filtered or unexported fields
}
func (*MbusHeader) Descriptor
deprecated
func (*MbusHeader) Descriptor() ([]byte, []int)
Deprecated: Use MbusHeader.ProtoReflect.Descriptor instead.
func (*MbusHeader) GetGeneration ¶
func (x *MbusHeader) GetGeneration() uint32
func (*MbusHeader) GetManufacturer ¶
func (x *MbusHeader) GetManufacturer() string
func (*MbusHeader) GetMedium ¶
func (x *MbusHeader) GetMedium() uint32
func (*MbusHeader) GetSerialNo ¶
func (x *MbusHeader) GetSerialNo() string
func (*MbusHeader) ProtoMessage ¶
func (*MbusHeader) ProtoMessage()
func (*MbusHeader) ProtoReflect ¶
func (x *MbusHeader) ProtoReflect() protoreflect.Message
func (*MbusHeader) Reset ¶
func (x *MbusHeader) Reset()
func (*MbusHeader) String ¶
func (x *MbusHeader) String() string
type Metric ¶
type Metric struct {
// Name.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Timestamps.
Timestamps []*timestamppb.Timestamp `protobuf:"bytes,2,rep,name=timestamps,proto3" json:"timestamps,omitempty"`
// Datasets.
Datasets []*MetricDataset `protobuf:"bytes,3,rep,name=datasets,proto3" json:"datasets,omitempty"`
// Kind.
Kind MetricKind `protobuf:"varint,4,opt,name=kind,proto3,enum=common.MetricKind" json:"kind,omitempty"`
// contains filtered or unexported fields
}
func (*Metric) Descriptor
deprecated
func (*Metric) GetDatasets ¶
func (x *Metric) GetDatasets() []*MetricDataset
func (*Metric) GetKind ¶
func (x *Metric) GetKind() MetricKind
func (*Metric) GetTimestamps ¶
func (x *Metric) GetTimestamps() []*timestamppb.Timestamp
func (*Metric) ProtoMessage ¶
func (*Metric) ProtoMessage()
func (*Metric) ProtoReflect ¶
func (x *Metric) ProtoReflect() protoreflect.Message
type MetricDataset ¶
type MetricDataset struct {
// Label.
Label string `protobuf:"bytes,1,opt,name=label,proto3" json:"label,omitempty"`
// Data.
// Each value index corresponds with the same timestamp index of the Metric.
Data []float32 `protobuf:"fixed32,2,rep,packed,name=data,proto3" json:"data,omitempty"`
// contains filtered or unexported fields
}
func (*MetricDataset) Descriptor
deprecated
func (*MetricDataset) Descriptor() ([]byte, []int)
Deprecated: Use MetricDataset.ProtoReflect.Descriptor instead.
func (*MetricDataset) GetData ¶
func (x *MetricDataset) GetData() []float32
func (*MetricDataset) GetLabel ¶
func (x *MetricDataset) GetLabel() string
func (*MetricDataset) ProtoMessage ¶
func (*MetricDataset) ProtoMessage()
func (*MetricDataset) ProtoReflect ¶
func (x *MetricDataset) ProtoReflect() protoreflect.Message
func (*MetricDataset) Reset ¶
func (x *MetricDataset) Reset()
func (*MetricDataset) String ¶
func (x *MetricDataset) String() string
type MetricKind ¶
type MetricKind int32
const ( // Incrementing counters that never decrease (these are not reset on each // reading). MetricKind_COUNTER MetricKind = 0 // Counters that do get reset upon reading. MetricKind_ABSOLUTE MetricKind = 1 // E.g. a temperature value. MetricKind_GAUGE MetricKind = 2 )
func (MetricKind) Descriptor ¶
func (MetricKind) Descriptor() protoreflect.EnumDescriptor
func (MetricKind) Enum ¶
func (x MetricKind) Enum() *MetricKind
func (MetricKind) EnumDescriptor
deprecated
func (MetricKind) EnumDescriptor() ([]byte, []int)
Deprecated: Use MetricKind.Descriptor instead.
func (MetricKind) Number ¶
func (x MetricKind) Number() protoreflect.EnumNumber
func (MetricKind) String ¶
func (x MetricKind) String() string
func (MetricKind) Type ¶
func (MetricKind) Type() protoreflect.EnumType
type Region ¶
type Region int32
func (Region) Descriptor ¶
func (Region) Descriptor() protoreflect.EnumDescriptor
func (Region) EnumDescriptor
deprecated
func (Region) Number ¶
func (x Region) Number() protoreflect.EnumNumber
func (Region) Type ¶
func (Region) Type() protoreflect.EnumType
type Tags ¶
type Tags struct {
// Tags (user defined).
// These tags can be used to add additional information to the application.
// These tags are exposed in all the integration events of devices under
// this application.
Fields map[string]string `` /* 139-byte string literal not displayed */
// contains filtered or unexported fields
}
func (*Tags) Descriptor
deprecated
func (*Tags) ProtoMessage ¶
func (*Tags) ProtoMessage()
func (*Tags) ProtoReflect ¶
func (x *Tags) ProtoReflect() protoreflect.Message
type TsUnbMode ¶
type TsUnbMode int32
func (TsUnbMode) Descriptor ¶
func (TsUnbMode) Descriptor() protoreflect.EnumDescriptor
func (TsUnbMode) EnumDescriptor
deprecated
func (TsUnbMode) Number ¶
func (x TsUnbMode) Number() protoreflect.EnumNumber
func (TsUnbMode) Type ¶
func (TsUnbMode) Type() protoreflect.EnumType
type VariableMacType ¶
type VariableMacType int32
TODO - match storage format
const ( // MAC/LINK Layer optimized for metering applications (deprecated) VariableMacType_WMBUS VariableMacType = 0 // Wireless M-Bus frame with Frame Format B (FFB) VariableMacType_MBUS_FFB VariableMacType = 1 // M-Bus frame that starts with a wireless M-Bus MAC according to OMS-S Volume 2, Annex Q // // Open Metering System Specification (OMS-S), Volume 2, Annex Q, Issue 5.0.1, December 2023. VariableMacType_MBUS_MAC VariableMacType = 2 // / Mioty® Alliance MAC/LINK layers // / User specific MAC/LINK layer VariableMacType_MIOTY_ALLIANCE VariableMacType = 3 VariableMacType_CUSTOM VariableMacType = 4 VariableMacType_RESERVED VariableMacType = 5 )
func (VariableMacType) Descriptor ¶
func (VariableMacType) Descriptor() protoreflect.EnumDescriptor
func (VariableMacType) Enum ¶
func (x VariableMacType) Enum() *VariableMacType
func (VariableMacType) EnumDescriptor
deprecated
func (VariableMacType) EnumDescriptor() ([]byte, []int)
Deprecated: Use VariableMacType.Descriptor instead.
func (VariableMacType) Number ¶
func (x VariableMacType) Number() protoreflect.EnumNumber
func (VariableMacType) String ¶
func (x VariableMacType) String() string
func (VariableMacType) Type ¶
func (VariableMacType) Type() protoreflect.EnumType