Specification levels¶
A specification level is a Matter revision matter.js has shipped a
release for. A host selects one with surface.Policies.Level (the
reference daemon: --spec-level); the built-in level policy then composes
every device as that revision's model knows it — while the behaviour, and
every ClusterRevision, stay the pin's
(ADR 0030,
decision 5). The zero value of Level is the pin's level and changes
nothing.
What exists at each level is generated from matter.js's tagged releases,
whose Specification.REVISION names the revision each tag models:
script/extract-levels-from-matter-js.ts reads the tag's @matter/model
into parity/levels/<level>.json (make generate-levels, a review
decision like the main snapshot), and script/levelgen writes
schema/levels_gen.go and the generated block below. connectedhomeip's
data model XML is never the source; internal/chipdm compares the level
files with data_model/<level> at test time
(ADR 0015).
Levels below 1.4 are out of scope: the device layer's own device types
start at the pin, and 1.3 predates every bridge this module serves.
How the level policy decides, per endpoint:
- A device whose device type, or a cluster its type mandates, the level
does not know is withheld:
device.Newreturns a*surface.WithheldError(errors.Is(err, surface.ErrWithheld)) with the report,node.Aggregator.Addof it returns the same error and the node'sSurface().Withheldlists it. The node runs on. - An optional cluster, feature, attribute, command or event the level does not know is removed.
- One the pin mandates is kept, with the reason
kept: mandatory at pin (absent at level <L>). - When the removals leave a feature selection the pin's conformance
rejects, features are re-added, smallest bit first, with the reason
kept: feature selection invalid at pin without it. - BridgedDeviceBasicInformation's
ConfigurationVersionis never removed (the hand exception below). - An element a hand-written server chooses itself is kept with the reason
kept: server-internal, not level-controlled; the last section lists those of the reference daemon.
script/levelgen writes this page's generated block; a test fails when it
is stale.
The levels¶
| Level | matter.js tag | Commit | Method | Device types | Clusters | Features | Attributes | Requests | Responses | Events |
|---|---|---|---|---|---|---|---|---|---|---|
1.4 |
v0.13.0 |
e812bd077 |
model | 71 | 119 | 269 | 1690 | 306 | 79 | 113 |
1.4.1 |
v0.14.0 |
d87d1de44 |
model | 71 | 119 | 269 | 1690 | 306 | 79 | 113 |
1.4.2 |
v0.16.0 |
84dbb68cc |
model | 72 | 115 | 269 | 1657 | 310 | 80 | 113 |
1.5.1 |
v0.17.0 |
33353a771 |
model | 91 | 132 | 321 | 1872 | 352 | 95 | 124 |
1.6.0 |
v0.17.9 |
2a7d4bfe7 |
model | 91 | 135 | 347 | 1926 | 362 | 97 | 137 |
1.6.1 |
v0.18.0 |
7e1f5d789 |
model | 91 | 135 | 347 | 1926 | 362 | 97 | 137 |
The last level is the pin's revision. Requests and Responses count the command ids of each direction.
What each level does not know¶
Computed from the level files. A device whose type, or a cluster its type mandates, is
absent at the level is withheld; an optional cluster, feature, attribute, command or
event absent at the level is removed, unless the pin mandates it. Kept, mandatory at
the pin lists the attributes, commands and events whose own conformance at the pin is
unconditionally mandatory (M, or Rev >= vN at the cluster's revision) and that the
level does not know, on clusters it knows; a composition also keeps what a device type
or the feature selection mandates, which only the composition can tell.
Level 1.4¶
Device types it does not know (20): IrrigationSystem 0x0040, SoilSensor 0x0045, ThreadBorderRouter 0x0091, Intercom 0x0140, AudioDoorbell 0x0141, Camera 0x0142, VideoDoorbell 0x0143, FloodlightCamera 0x0144, SnapshotCamera 0x0145, Chime 0x0146, CameraController 0x0147, Doorbell 0x0148, Closure 0x0230, ClosurePanel 0x0231, ClosureController 0x023E, ThermostatController 0x030A, ElectricalUtilityMeter 0x0511, MeterReferencePoint 0x0512, ElectricalEnergyTariff 0x0513, ElectricalMeter 0x0514.
Clusters it does not know (20): TemperatureAlarm 0x0064, Groupcast 0x0065, CommodityPrice 0x0095, ElectricalGridConditions 0x00A0, ClosureControl 0x0104, ClosureDimension 0x0105, SoilMeasurement 0x0430, AmbientContextSensing 0x0431, ZoneManagement 0x0550, CameraAvStreamManagement 0x0551, CameraAvSettingsUserLevelManagement 0x0552, WebRtcTransportProvider 0x0553, WebRtcTransportRequestor 0x0554, PushAvStreamTransport 0x0555, Chime 0x0556, CommodityTariff 0x0700, TlsCertificateManagement 0x0801, TlsClientManagement 0x0802, MeterIdentification 0x0B06, CommodityMetering 0x0B07.
Kept, mandatory at the pin:
| Cluster | Elements |
|---|---|
BasicInformation 0x0028 |
attribute 0x0018 |
GeneralDiagnostics 0x0033 |
attribute 0x000A |
OperationalCredentials 0x003E |
request command 0x000C, 0x000D; response command 0x000E |
JointFabricDatastore 0x0752 |
attribute 0x0009, 0x000A, 0x000B, 0x000C, 0x000D |
JointFabricAdministrator 0x0753 |
attribute 0x0000; request command 0x0005, 0x0007, 0x0008; response command 0x0006 |
Level 1.4.1¶
Device types it does not know (20): IrrigationSystem 0x0040, SoilSensor 0x0045, ThreadBorderRouter 0x0091, Intercom 0x0140, AudioDoorbell 0x0141, Camera 0x0142, VideoDoorbell 0x0143, FloodlightCamera 0x0144, SnapshotCamera 0x0145, Chime 0x0146, CameraController 0x0147, Doorbell 0x0148, Closure 0x0230, ClosurePanel 0x0231, ClosureController 0x023E, ThermostatController 0x030A, ElectricalUtilityMeter 0x0511, MeterReferencePoint 0x0512, ElectricalEnergyTariff 0x0513, ElectricalMeter 0x0514.
Clusters it does not know (20): TemperatureAlarm 0x0064, Groupcast 0x0065, CommodityPrice 0x0095, ElectricalGridConditions 0x00A0, ClosureControl 0x0104, ClosureDimension 0x0105, SoilMeasurement 0x0430, AmbientContextSensing 0x0431, ZoneManagement 0x0550, CameraAvStreamManagement 0x0551, CameraAvSettingsUserLevelManagement 0x0552, WebRtcTransportProvider 0x0553, WebRtcTransportRequestor 0x0554, PushAvStreamTransport 0x0555, Chime 0x0556, CommodityTariff 0x0700, TlsCertificateManagement 0x0801, TlsClientManagement 0x0802, MeterIdentification 0x0B06, CommodityMetering 0x0B07.
Kept, mandatory at the pin:
| Cluster | Elements |
|---|---|
BasicInformation 0x0028 |
attribute 0x0018 |
GeneralDiagnostics 0x0033 |
attribute 0x000A |
OperationalCredentials 0x003E |
request command 0x000C, 0x000D; response command 0x000E |
JointFabricDatastore 0x0752 |
attribute 0x0009, 0x000A, 0x000B, 0x000C, 0x000D |
JointFabricAdministrator 0x0753 |
attribute 0x0000; request command 0x0005, 0x0007, 0x0008; response command 0x0006 |
Level 1.4.2¶
Device types it does not know (19): IrrigationSystem 0x0040, SoilSensor 0x0045, ThreadBorderRouter 0x0091, Intercom 0x0140, AudioDoorbell 0x0141, Camera 0x0142, VideoDoorbell 0x0143, FloodlightCamera 0x0144, SnapshotCamera 0x0145, Chime 0x0146, CameraController 0x0147, Doorbell 0x0148, Closure 0x0230, ClosurePanel 0x0231, ClosureController 0x023E, ElectricalUtilityMeter 0x0511, MeterReferencePoint 0x0512, ElectricalEnergyTariff 0x0513, ElectricalMeter 0x0514.
Clusters it does not know (20): TemperatureAlarm 0x0064, Groupcast 0x0065, CommodityPrice 0x0095, ElectricalGridConditions 0x00A0, ClosureControl 0x0104, ClosureDimension 0x0105, SoilMeasurement 0x0430, AmbientContextSensing 0x0431, ZoneManagement 0x0550, CameraAvStreamManagement 0x0551, CameraAvSettingsUserLevelManagement 0x0552, WebRtcTransportProvider 0x0553, WebRtcTransportRequestor 0x0554, PushAvStreamTransport 0x0555, Chime 0x0556, CommodityTariff 0x0700, TlsCertificateManagement 0x0801, TlsClientManagement 0x0802, MeterIdentification 0x0B06, CommodityMetering 0x0B07.
Kept, mandatory at the pin:
| Cluster | Elements |
|---|---|
GeneralDiagnostics 0x0033 |
attribute 0x000A |
Level 1.5.1¶
Device types it does not know (0): none.
Clusters it does not know (3): TemperatureAlarm 0x0064, Groupcast 0x0065, AmbientContextSensing 0x0431.
Kept, mandatory at the pin:
| Cluster | Elements |
|---|---|
GeneralDiagnostics 0x0033 |
attribute 0x000A |
Level 1.6.0¶
Device types it does not know (0): none.
Clusters it does not know (0): none.
Kept, mandatory at the pin: none.
The hand exception (concept v11 D.9)¶
| Cluster | Element | Rule |
|---|---|---|
BridgedDeviceBasicInformation 0x0039 |
attribute ConfigurationVersion 0x0018 |
never removed by the level: "kept: surface-change signal (concept v11 D.9)" |
Server-internal elements the level does not control¶
A hand-written server chooses some optional elements itself; the level cannot remove
them yet and keeps them with the reason "kept: server-internal, not level-controlled".
Measured on the reference daemon's composition (examples/reference-bridge
--dump-surface --spec-level <level>), with the endpoints that serve each.
Level 1.4¶
| Cluster | Element | Endpoints |
|---|---|---|
AccessControl 0x001F |
attribute 0x00000007 |
(root) |
AccessControl 0x001F |
event 0x00000003 |
(root) |
AccessControl 0x001F |
feature 0x00000004 |
(root) |
BasicInformation 0x0028 |
attribute 0x00000018 |
(root) |
UnitLocalization 0x002D |
attribute 0x00000001 |
(root) |
GeneralDiagnostics 0x0033 |
attribute 0x0000000A |
(root) |
OperationalCredentials 0x003E |
command 0x0000000C |
(root) |
OperationalCredentials 0x003E |
command 0x0000000D |
(root) |
OperationalCredentials 0x003E |
command 0x0000000E |
(root) |
Groupcast 0x0065 |
attribute 0x00000000 |
(root) |
Groupcast 0x0065 |
attribute 0x00000001 |
(root) |
Groupcast 0x0065 |
attribute 0x00000002 |
(root) |
Groupcast 0x0065 |
attribute 0x00000003 |
(root) |
Groupcast 0x0065 |
attribute 0x00000004 |
(root) |
Groupcast 0x0065 |
attribute 0x0000FFF8 |
(root) |
Groupcast 0x0065 |
attribute 0x0000FFF9 |
(root) |
Groupcast 0x0065 |
attribute 0x0000FFFB |
(root) |
Groupcast 0x0065 |
attribute 0x0000FFFC |
(root) |
Groupcast 0x0065 |
attribute 0x0000FFFD |
(root) |
Groupcast 0x0065 |
command 0x00000000 |
(root) |
Groupcast 0x0065 |
command 0x00000001 |
(root) |
Groupcast 0x0065 |
command 0x00000002 |
(root) |
Groupcast 0x0065 |
command 0x00000003 |
(root) |
Groupcast 0x0065 |
command 0x00000004 |
(root) |
Groupcast 0x0065 |
command 0x00000005 |
(root) |
Groupcast 0x0065 |
event 0x00000000 |
(root) |
Groupcast 0x0065 |
feature 0x00000001 |
(root) |
Groupcast 0x0065 |
feature 0x00000002 |
(root) |
Groupcast 0x0065 |
feature 0x00000004 |
(root) |
Thermostat 0x0201 |
command 0x000000FD |
demo:thermostat:1 |
Thermostat 0x0201 |
command 0x000000FE |
demo:thermostat:1 |
Level 1.4.1¶
| Cluster | Element | Endpoints |
|---|---|---|
AccessControl 0x001F |
attribute 0x00000007 |
(root) |
AccessControl 0x001F |
event 0x00000003 |
(root) |
AccessControl 0x001F |
feature 0x00000004 |
(root) |
BasicInformation 0x0028 |
attribute 0x00000018 |
(root) |
UnitLocalization 0x002D |
attribute 0x00000001 |
(root) |
GeneralDiagnostics 0x0033 |
attribute 0x0000000A |
(root) |
OperationalCredentials 0x003E |
command 0x0000000C |
(root) |
OperationalCredentials 0x003E |
command 0x0000000D |
(root) |
OperationalCredentials 0x003E |
command 0x0000000E |
(root) |
Groupcast 0x0065 |
attribute 0x00000000 |
(root) |
Groupcast 0x0065 |
attribute 0x00000001 |
(root) |
Groupcast 0x0065 |
attribute 0x00000002 |
(root) |
Groupcast 0x0065 |
attribute 0x00000003 |
(root) |
Groupcast 0x0065 |
attribute 0x00000004 |
(root) |
Groupcast 0x0065 |
attribute 0x0000FFF8 |
(root) |
Groupcast 0x0065 |
attribute 0x0000FFF9 |
(root) |
Groupcast 0x0065 |
attribute 0x0000FFFB |
(root) |
Groupcast 0x0065 |
attribute 0x0000FFFC |
(root) |
Groupcast 0x0065 |
attribute 0x0000FFFD |
(root) |
Groupcast 0x0065 |
command 0x00000000 |
(root) |
Groupcast 0x0065 |
command 0x00000001 |
(root) |
Groupcast 0x0065 |
command 0x00000002 |
(root) |
Groupcast 0x0065 |
command 0x00000003 |
(root) |
Groupcast 0x0065 |
command 0x00000004 |
(root) |
Groupcast 0x0065 |
command 0x00000005 |
(root) |
Groupcast 0x0065 |
event 0x00000000 |
(root) |
Groupcast 0x0065 |
feature 0x00000001 |
(root) |
Groupcast 0x0065 |
feature 0x00000002 |
(root) |
Groupcast 0x0065 |
feature 0x00000004 |
(root) |
Thermostat 0x0201 |
command 0x000000FD |
demo:thermostat:1 |
Thermostat 0x0201 |
command 0x000000FE |
demo:thermostat:1 |
Level 1.4.2¶
| Cluster | Element | Endpoints |
|---|---|---|
AccessControl 0x001F |
attribute 0x00000007 |
(root) |
AccessControl 0x001F |
event 0x00000003 |
(root) |
AccessControl 0x001F |
feature 0x00000004 |
(root) |
GeneralDiagnostics 0x0033 |
attribute 0x0000000A |
(root) |
Groupcast 0x0065 |
attribute 0x00000000 |
(root) |
Groupcast 0x0065 |
attribute 0x00000001 |
(root) |
Groupcast 0x0065 |
attribute 0x00000002 |
(root) |
Groupcast 0x0065 |
attribute 0x00000003 |
(root) |
Groupcast 0x0065 |
attribute 0x00000004 |
(root) |
Groupcast 0x0065 |
attribute 0x0000FFF8 |
(root) |
Groupcast 0x0065 |
attribute 0x0000FFF9 |
(root) |
Groupcast 0x0065 |
attribute 0x0000FFFB |
(root) |
Groupcast 0x0065 |
attribute 0x0000FFFC |
(root) |
Groupcast 0x0065 |
attribute 0x0000FFFD |
(root) |
Groupcast 0x0065 |
command 0x00000000 |
(root) |
Groupcast 0x0065 |
command 0x00000001 |
(root) |
Groupcast 0x0065 |
command 0x00000002 |
(root) |
Groupcast 0x0065 |
command 0x00000003 |
(root) |
Groupcast 0x0065 |
command 0x00000004 |
(root) |
Groupcast 0x0065 |
command 0x00000005 |
(root) |
Groupcast 0x0065 |
event 0x00000000 |
(root) |
Groupcast 0x0065 |
feature 0x00000001 |
(root) |
Groupcast 0x0065 |
feature 0x00000002 |
(root) |
Groupcast 0x0065 |
feature 0x00000004 |
(root) |
Level 1.5.1¶
| Cluster | Element | Endpoints |
|---|---|---|
AccessControl 0x001F |
attribute 0x00000007 |
(root) |
AccessControl 0x001F |
event 0x00000003 |
(root) |
AccessControl 0x001F |
feature 0x00000004 |
(root) |
GeneralDiagnostics 0x0033 |
attribute 0x0000000A |
(root) |
Groupcast 0x0065 |
attribute 0x00000000 |
(root) |
Groupcast 0x0065 |
attribute 0x00000001 |
(root) |
Groupcast 0x0065 |
attribute 0x00000002 |
(root) |
Groupcast 0x0065 |
attribute 0x00000003 |
(root) |
Groupcast 0x0065 |
attribute 0x00000004 |
(root) |
Groupcast 0x0065 |
attribute 0x0000FFF8 |
(root) |
Groupcast 0x0065 |
attribute 0x0000FFF9 |
(root) |
Groupcast 0x0065 |
attribute 0x0000FFFB |
(root) |
Groupcast 0x0065 |
attribute 0x0000FFFC |
(root) |
Groupcast 0x0065 |
attribute 0x0000FFFD |
(root) |
Groupcast 0x0065 |
command 0x00000000 |
(root) |
Groupcast 0x0065 |
command 0x00000001 |
(root) |
Groupcast 0x0065 |
command 0x00000002 |
(root) |
Groupcast 0x0065 |
command 0x00000003 |
(root) |
Groupcast 0x0065 |
command 0x00000004 |
(root) |
Groupcast 0x0065 |
command 0x00000005 |
(root) |
Groupcast 0x0065 |
event 0x00000000 |
(root) |
Groupcast 0x0065 |
feature 0x00000001 |
(root) |
Groupcast 0x0065 |
feature 0x00000002 |
(root) |
Groupcast 0x0065 |
feature 0x00000004 |
(root) |
Level 1.6.0¶
None.