This model implements the message based interface required to set the 1 bit value on the server.
This implementation of a simple OnOff model can be used to switch things on or off by manipulating a single on/off state. The intention of this model is to have a simple example model that can be used as a baseline for constructing your own model.
Note that the simple OnOff model should not be confused with the Generic OnOff Model as specified in the Mesh Model Specification v1.0. The Generic OnOff Model provides additional features such as control over when and for how long the transition between the on/off state should be performed.
Important: When the server has a publish address set (as in the light switch example), the server will publish its state to its publish address every time its state changes.
Model Identification
List of supported messages:
See the message documentation for details about the message format.
The behavior of the simple OnOff server is very simple and illustrated by the following message chart.
For more information about creating models, see Creating new models.