Bluetooth Mesh specification uses the concept of composite models that "extend" other models. I am having trouble understanding the scope of this concept within the Mesh specification and how it relates (if at all) to the nrf Mesh SDK.
- For example the Mesh spec states that: "The Generic Power OnOff Server model extends the Generic OnOff Server model." Is this concept only there to make the spec more readable? Basically, does extending a model just mean that your composite model will support all states/messages/opcodes as the model(s) it extends.
- Or does this concept stretch further and there is a formal way of including a model in another model. If so, how is this done?
- As an example, how would you go about implementing the Generic Power OnOff Server model using the nrf Mesh SDK? Does it mean that you can somehow literally include (re-use) the (already existing in SDK) Generic OnOff Server model and just add any new states/messages etc? .... Or this kind of extending is not what they really intended and you just have to specify all opcodes/messages/etc from scratch when you develop the new composite model?
I appreciate your help!