I'm using Mesh SDK v2.2.0.
I want to create a new custom model,but I don't understand difference between Generic and simple onoff model.
Which model should I study?
I'm using Mesh SDK v2.2.0.
I want to create a new custom model,but I don't understand difference between Generic and simple onoff model.
Which model should I study?
Hi,
The Generic OnOff model is a model which defines a single state, called Generic OnOff, which may have a value of 0x00 representing Off or 0x01 representing On. The Simple OnOff model is a vendor-specific model and is a simpler version of the Generic OnOff model.
But the Generic OnOff model should be used in real applications using the mesh, from infocenter:
Important: The Mesh Model Specification specifies a model called the "Generic OnOff Model", which should be used in real applications using the mesh. However, the example model described in this guide is simpler and serves as a nice introductory example for creating a custom mesh model.
Here you can also find a guide on how to create new models.
Hi,
The Generic OnOff model is a model which defines a single state, called Generic OnOff, which may have a value of 0x00 representing Off or 0x01 representing On. The Simple OnOff model is a vendor-specific model and is a simpler version of the Generic OnOff model.
But the Generic OnOff model should be used in real applications using the mesh, from infocenter:
Important: The Mesh Model Specification specifies a model called the "Generic OnOff Model", which should be used in real applications using the mesh. However, the example model described in this guide is simpler and serves as a nice introductory example for creating a custom mesh model.
Here you can also find a guide on how to create new models.