This model implements the message based interface required to set the 1 bit value on the server. More...
Modules | |
| Simple OnOff Client | |
| This module implements a vendor specific Simple OnOff Client. | |
| Common Simple OnOff definitions | |
| Types and definitions shared between the two Simple OnOff models. | |
| Simple OnOff Server | |
| This module implements a vendor specific Simple OnOff Server. | |
Detailed Description
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.
Do not confuse the simple OnOff model with the Generic OnOff Model specified in Bluetooth Mesh Model Specification (MshMDLv1.0.1). 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.
- Note
- 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.
For more information about creating models, see Creating new models.
Model Identification
- Company ID: SIMPLE_ON_OFF_COMPANY_ID
- Simple OnOff Client Model ID: SIMPLE_ON_OFF_CLIENT_MODEL_ID
- Simple OnOff Server Model ID: SIMPLE_ON_OFF_SERVER_MODEL_ID
List of supported messages:
- Simple OnOff Acknowledged Set.
- Simple OnOff Get.
- Simple OnOff Set Unreliable.
- Simple OnOff Status.