basicinformation

package
v0.3.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 24, 2026 License: MIT Imports: 2 Imported by: 0

Documentation

Overview

Package basicinformation implements the Matter Basic Information cluster (0x0028).

Index

Constants

View Source
const (
	// ID is the Matter cluster ID for Basic Information.
	ID uint32 = 0x0028
	// Name is the CLI-friendly cluster name.
	Name = "BasicInformation"
	// DisplayName is the human-friendly cluster name.
	DisplayName = "Basic Information"
)
View Source
const (
	AttrDataModelRevision     uint32 = 0x0000
	AttrVendorName            uint32 = 0x0001
	AttrVendorID              uint32 = 0x0002
	AttrProductName           uint32 = 0x0003
	AttrProductID             uint32 = 0x0004
	AttrNodeLabel             uint32 = 0x0005
	AttrLocation              uint32 = 0x0006
	AttrHardwareVersion       uint32 = 0x0007
	AttrHardwareVersionString uint32 = 0x0008
	AttrSoftwareVersion       uint32 = 0x0009
	AttrSoftwareVersionString uint32 = 0x000A
	AttrManufacturingDate     uint32 = 0x000B
	AttrPartNumber            uint32 = 0x000C
	AttrProductURL            uint32 = 0x000D
	AttrProductLabel          uint32 = 0x000E
	AttrSerialNumber          uint32 = 0x000F
	AttrLocalConfigDisabled   uint32 = 0x0010
	AttrReachable             uint32 = 0x0011
	AttrUniqueID              uint32 = 0x0012
	AttrCapabilityMinima      uint32 = 0x0013
	AttrProductAppearance     uint32 = 0x0014
	AttrSpecificationVersion  uint32 = 0x0015
	AttrMaxPathsPerInvoke     uint32 = 0x0016
	AttrConfigurationVersion  uint32 = 0x0018
)

Attribute IDs.

Variables

This section is empty.

Functions

func FormatSpecVersion

func FormatSpecVersion(v uint32) string

FormatSpecVersion converts a packed SpecificationVersion uint32 (e.g. 0x01030000 for Matter 1.3) into a human-readable string ("1.3"). The minor component is always included; a trailing zero patch component is omitted. Returns an empty string for zero.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL