Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewPacketConfig ¶
func NewPacketConfig(symbolLength int) (cfg decode.PacketConfig)
Types ¶
type IDM ¶
type IDM struct { Preamble uint32 // Training and Frame sync. PacketTypeID uint8 PacketLength uint8 // Packet Length MSB HammingCode uint8 // Packet Length LSB ApplicationVersion uint8 ERTType uint8 ERTSerialNumber uint32 ConsumptionIntervalCount uint8 ModuleProgrammingState uint8 TamperCounters []byte // 6 Bytes AsynchronousCounters uint16 PowerOutageFlags []byte // 6 Bytes LastConsumptionCount uint32 DifferentialConsumptionIntervals Interval // 53 Bytes TransmitTimeOffset uint16 SerialNumberCRC uint16 PacketCRC uint16 }
Standard Consumption Message
Click to show internal directories.
Click to hide internal directories.