A Mode Tag is meant to be interpreted by the client for the purpose the cluster serves.

MatterSpecification.v13.Cluster § 1.10.5.1

interface ModeTag {
    mfgCode?: VendorId;
    value: number;
}

Hierarchy (view full)

Properties

Properties

mfgCode?: VendorId

If the MfgCode field exists, the Value field shall be in the manufacturer-specific value range (see Section 1.10.8, “Mode Namespace”).

This field shall indicate the manufacturer’s VendorID and it shall determine the meaning of the Value field.

The same manufacturer code and mode tag value in separate cluster instances are part of the same namespace and have the same meaning. For example: a manufacturer tag meaning "pinch" can be used both in a cluster whose purpose is to choose the amount of sugar, or in a cluster whose purpose is to choose the amount of salt.

MatterSpecification.v13.Cluster § 1.10.5.1.1

value: number

This field shall indicate the mode tag within a mode tag namespace which is either manufacturer specific or standard.

MatterSpecification.v13.Cluster § 1.10.5.1.2