Versions in this module Expand all Collapse all v1 v1.0.0 Aug 10, 2017 v0 v0.0.1 May 23, 2018 Changes in this version + func CalcCRC(buf []byte) byte + func CheckCRC(buf []byte) bool + type Address uint64 + func Search(bus BusSearcher, alarmOnly bool) ([]Address, error) + type Bus interface + Search func(alarmOnly bool) ([]Address, error) + Tx func(w, r []byte, power Pullup) error + type BusCloser interface + Close func() error + type BusError interface + BusError func() bool + type BusSearcher interface + SearchTriplet func(direction byte) (TripletResult, error) + type Dev struct + Addr Address + Bus Bus + func (d *Dev) Duplex() conn.Duplex + func (d *Dev) String() string + func (d *Dev) Tx(w, r []byte) error + func (d *Dev) TxPower(w, r []byte) error + type NoDevicesError interface + NoDevices func() bool + type Pins interface + Q func() gpio.PinIO + type Pullup bool + const StrongPullup + const WeakPullup + func (p Pullup) String() string + type ShortedBusError interface + IsShorted func() bool + type TripletResult struct + GotOne bool + GotZero bool + Taken uint8 Incompatible versions in this module v2.2.0+incompatible Apr 30, 2018 v2.1.0+incompatible Dec 15, 2017 v2.0.0+incompatible Aug 25, 2017