Matter Simulated Device Types Catalog#
This directory contains concrete C++ implementations of spec-defined Matter Device Types (e.g. OnOff Light, Dimmable Light, Robotic Vacuum Cleaner, Aggregator).
Overview#
Every directory under device/types/ represents a single Matter Device Type.
These classes are typically leaf types that the application instantiation
layer (e.g., DeviceFactory) constructs.
Subclasses derive from foundational abstractions in
device/api/(such asSingleEndpointorDeviceInterface).They inherit or compose reusable baselines from
device/capabilities/to reduce duplication.
Design Rules#
Spec Compliance: Class names and folder names must correspond directly to standard Matter Device Types defined in the Matter Device Library Specification.
No Name Stuttering: Do not include the
Devicesuffix in class or file names (e.g., useAggregator.h/cppand classAggregatorinstead ofAggregator).Clean Composition: Implement command handlers and attribute accessors by delegating logic to the underlying capabilities or platform overrides.