Versions in this module Expand all Collapse all v3 v3.7.1 Aug 9, 2024 v3.7.0 Oct 27, 2022 v3.6.10 Dec 1, 2021 v3.6.9 Sep 14, 2021 v3.6.8 May 28, 2021 v3.6.7 Dec 30, 2020 Changes in this version + const Q + 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) + String func() string + 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