Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Device ¶
Device holds information for a Device and provides interface to get values
func (*Device) UpdateValues ¶
type Discoverer ¶
type Discoverer struct {
// contains filtered or unexported fields
}
Discoverer discovers SMA devicesBySerial in background while providing already found devicesBySerial
func GetDiscoverer ¶
func GetDiscoverer(iface string) (*Discoverer, error)
GetDiscoverer fo the given interface
func (*Discoverer) DeviceByIP ¶
func (d *Discoverer) DeviceByIP(ip, password string) (*Device, error)
DeviceByIP with the given serial number
func (*Discoverer) DeviceBySerial ¶
func (d *Discoverer) DeviceBySerial(serial uint32, password string) *Device
DeviceBySerial with the given serial number
Click to show internal directories.
Click to hide internal directories.