RockingComponent: {
    attributes: {
        rockSetting: WritableAttribute<TypeFromPartialBitSchema<{
            rockLeftRight: BitFlag;
            rockRound: BitFlag;
            rockUpDown: BitFlag;
        }>, any>;
        rockSupport: FixedAttribute<TypeFromPartialBitSchema<{
            rockLeftRight: BitFlag;
            rockRound: BitFlag;
            rockUpDown: BitFlag;
        }>, any>;
    };
} = ...

A FanControlCluster supports these elements if it supports feature Rocking.

Type declaration

  • Readonlyattributes: {
        rockSetting: WritableAttribute<TypeFromPartialBitSchema<{
            rockLeftRight: BitFlag;
            rockRound: BitFlag;
            rockUpDown: BitFlag;
        }>, any>;
        rockSupport: FixedAttribute<TypeFromPartialBitSchema<{
            rockLeftRight: BitFlag;
            rockRound: BitFlag;
            rockUpDown: BitFlag;
        }>, any>;
    }
    • ReadonlyrockSetting: WritableAttribute<TypeFromPartialBitSchema<{
          rockLeftRight: BitFlag;
          rockRound: BitFlag;
          rockUpDown: BitFlag;
      }>, any>

      This attribute is a bitmap that indicates the current active fan rocking motion settings. Each bit shall only be set to 1, if the corresponding bit in the RockSupport attribute is set to 1, otherwise a status code of CONSTRAINT_ERROR shall be returned.

      If a combination of supported bits is set by the client, and the server does not support the combination, the lowest supported single bit in the combination shall be set and active, and all other bits shall indicate zero.

      For example: If RockUpDown and RockRound are both set, but this combination is not possible, then only RockUpDown becomes active.

      MatterSpecification.v13.Cluster § 4.4.6.9

    • ReadonlyrockSupport: FixedAttribute<TypeFromPartialBitSchema<{
          rockLeftRight: BitFlag;
          rockRound: BitFlag;
          rockUpDown: BitFlag;
      }>, any>

      This attribute is a bitmap that indicates what rocking motions the server supports.

      MatterSpecification.v13.Cluster § 4.4.6.8