Documentation ¶
Overview ¶
Zigbee protocol
Index ¶
Constants ¶
View Source
const (
CoordinatorNwkAddr = "0x0000" // https://www.eetimes.com/zigbee-applications-part-4-zigbee-addressing/
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EndpointId ¶
type EndpointId uint8
type ExtendedPANID ¶
type ExtendedPANID uint64
func (ExtendedPANID) MarshalJSON ¶
func (e ExtendedPANID) MarshalJSON() ([]byte, error)
func (*ExtendedPANID) UnmarshalJSON ¶
func (e *ExtendedPANID) UnmarshalJSON(b []byte) error
type IEEEAddress ¶
type IEEEAddress string
looks like "0x842e14fffe6a5cda". yes, unfortunately with the "0x" prefix for now
func (IEEEAddress) HexPrefixedString ¶
func (i IEEEAddress) HexPrefixedString() string
type LogicalType ¶
type LogicalType uint8
const ( LogicalTypeCoordinator LogicalType = 0 LogicalTypeRouter LogicalType = 1 LogicalTypeEndDevice LogicalType = 2 LogicalTypeUnknown LogicalType = 0xff )
func (LogicalType) String ¶
func (l LogicalType) String() string
type NetworkKey ¶
type NetworkKey [16]byte
type ProfileID ¶
type ProfileID uint16
const ( ProfileIndustrialPlantMonitoring ProfileID = 0x0101 ProfileHomeAutomation ProfileID = 0x0104 ProfileCommercialBuildingAutomation ProfileID = 0x0105 ProfileTelecomApplications ProfileID = 0x0107 ProfilePersonalHomeAndHospitalCare ProfileID = 0x0108 ProfileAdvancedMeteringInitiative ProfileID = 0x0109 )
Click to show internal directories.
Click to hide internal directories.