The Operational State cluster is a normal cluster with ID 0x0060. It is also a base cluster from with other operational state clusters are derived.
All Operational State derived clusters have their own Instance class within their respective namespace. This class is used to manage the SDK side of the cluster. This class requires an OperationalState::Delegate where the application specific logic is implemented.
To use an Operational State cluster
OperationalState::Delegate class.Instance class for your Operational State cluster using the delegate instance.Init() method of your instance after the root Server::Init().emberAf<ClusterName>ClusterInitCallback function.Note Zap accessor functions for these clusters do not exist. Use the instance's Set... and Get... functions to access the attributes.
Once an Operational State derived cluster has been defined in the spec, add the implementation using the following steps
src/app/zap-templates/zcl/data-model/chip. You can look at similar files on how to do this.Instance class in your cluster's namespace.