Versions in this module Expand all Collapse all v0 v0.9.1 Sep 21, 2018 Changes in this version + func NewParser(chipLength int) (p protocol.Parser) + type IDM struct + ApplicationVersion uint8 + AsynchronousCounters uint16 + ConsumptionIntervalCount uint8 + DifferentialConsumptionIntervals Interval + ERTSerialNumber uint32 + ERTType uint8 + HammingCode uint8 + LastConsumptionCount uint32 + ModuleProgrammingState uint8 + PacketCRC uint16 + PacketLength uint8 + PacketTypeID uint8 + PowerOutageFlags []byte + Preamble uint32 + SerialNumberCRC uint16 + TamperCounters []byte + TransmitTimeOffset uint16 + func NewIDM(data protocol.Data) (idm IDM) + func (idm IDM) Checksum() []byte + func (idm IDM) MeterID() uint32 + func (idm IDM) MeterType() uint8 + func (idm IDM) MsgType() string + func (idm IDM) Record() (r []string) + func (idm IDM) String() string + type Interval [47]uint16 + func (interval Interval) Record() (r []string) + type Parser struct + func (p Parser) Cfg() protocol.PacketConfig + func (p Parser) Parse(pkts []protocol.Data, msgCh chan protocol.Message, wg *sync.WaitGroup) + func (p Parser) SetDecoder(*protocol.Decoder)