Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrorCouldNotGenerateKey = errors.New("could not generate key") ErrorDidNotFindDevice = errors.New("did not find device") ErrorCouldNotOpenDevice = errors.New("could not open device") ErrorCouldNotSendFeatureRequest = errors.New("could not send feature request") )
View Source
var (
CouldNotReadFromDevice = errors.New("could not read from device")
)
Functions ¶
This section is empty.
Types ¶
type CO2Monitor ¶
type CO2Monitor struct {
// contains filtered or unexported fields
}
func (*CO2Monitor) Close ¶
func (cm *CO2Monitor) Close() error
func (*CO2Monitor) Open ¶
func (cm *CO2Monitor) Open() error
Opens the CO2Monitor for reading, be sure to Close it Returns an error in case - it could not generate the decryption key - it did not find the device - it could not open the device for reading - it could not send the feature report to the device
Click to show internal directories.
Click to hide internal directories.