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 + Consumption uint32 + EndpointID uint32 + EndpointType uint8 + FrameSync uint16 + PacketCRC uint16 + ProtocolID uint8 + Tamper uint16 + 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