Versions in this module Expand all Collapse all v0 v0.9.1 Sep 21, 2018 Changes in this version + func NewPacketConfig(chipLength int) (cfg protocol.PacketConfig) + func NewParser(chipLength int) (p protocol.Parser) + type Interval [27]uint16 + func (interval Interval) Record() (r []string) + type NetIDM struct + ApplicationVersion uint8 + ConsumptionIntervalCount uint8 + DifferentialConsumptionIntervals Interval + ERTSerialNumber uint32 + ERTType uint8 + HammingCode uint8 + LastConsumptionCount uint32 + LastGeneration uint32 + PacketCRC uint16 + PacketLength uint8 + Preamble uint32 + ProgrammingState uint8 + ProtocolID uint8 + SerialNumberCRC uint16 + TransmitTimeOffset uint16 + func NewNetIDM(data protocol.Data) (netidm NetIDM) + func (netidm NetIDM) Checksum() []byte + func (netidm NetIDM) MeterID() uint32 + func (netidm NetIDM) MeterType() uint8 + func (netidm NetIDM) MsgType() string + func (netidm NetIDM) Record() (r []string) + func (netidm NetIDM) String() 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(d *protocol.Decoder)