Documentation
¶
Index ¶
Constants ¶
View Source
const (
PayloadSymbols = 42
)
Variables ¶
This section is empty.
Functions ¶
func NewPacketConfig ¶
func NewPacketConfig(chipLength int) (cfg protocol.PacketConfig)
Types ¶
type Parser ¶
func (Parser) Cfg ¶
func (p Parser) Cfg() protocol.PacketConfig
func (*Parser) SetDecoder ¶ added in v0.9.0
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
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.