Documentation ¶
Index ¶
Constants ¶
View Source
const (
PayloadSymbols = 42
)
Variables ¶
This section is empty.
Functions ¶
func NewPacketConfig ¶
func NewPacketConfig(symbolLength int) (cfg decode.PacketConfig)
Types ¶
type Parser ¶
func (Parser) Cfg ¶
func (p Parser) Cfg() decode.PacketConfig
type R900 ¶
type R900 struct { ID uint32 `xml:",attr"` // 32 bits Unkn1 uint8 `xml:",attr"` // 8 bits NoUse uint8 `xml:",attr"` // 6 bits, day bins of no use BackFlow uint8 `xml:",attr"` // 2 bits, backflow past 35d hi/lo Consumption uint32 `xml:",attr"` // 24 bits Unkn3 uint8 `xml:",attr"` // 2 bits Leak uint8 `xml:",attr"` // 4 bits, day bins of leak LeakNow uint8 `xml:",attr"` // 2 bits, leak past 24h hi/lo }
Click to show internal directories.
Click to hide internal directories.