Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Device ¶
type Device struct { Manufacturer string ManufacturerId uint16 Model string LogicalType znp.LogicalType MainPowered bool PowerSource PowerSource NetworkAddress string IEEEAddress string Endpoints []*Endpoint }
func (*Device) SupportedInClusters ¶
func (*Device) SupportedOutClusters ¶
type DeviceIncomingMessage ¶
type DeviceIncomingMessage struct { Device *Device IncomingMessage *zcl.ZclIncomingMessage }
type PowerSource ¶
type PowerSource uint8
const ( Unknown PowerSource = iota MainsSinglePhase Mains2Phase Battery DCSource EmergencyMainsConstantlyPowered EmergencyMainsAndTransfer )
func (PowerSource) String ¶
func (ps PowerSource) String() string
Click to show internal directories.
Click to hide internal directories.