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 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) + type SCM struct + ChecksumVal uint16 + Consumption uint32 + ID uint32 + TamperEnc uint8 + TamperPhy uint8 + Type uint8 + func NewSCM(data protocol.Data) (scm SCM) + func (scm SCM) Checksum() []byte + func (scm SCM) MeterID() uint32 + func (scm SCM) MeterType() uint8 + func (scm SCM) MsgType() string + func (scm SCM) Record() (r []string) + func (scm SCM) String() string