This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

implementing simple_on_off_client ( server too ) instead of generic_onoff_client (server)

hello , 

can anyone tell me what shall i change in light_switch_client ( server )  to implement the simple_on_off model instead of generic_onoff_client ( server ) 

i started to follow this link https://devzone.nordicsemi.com/f/nordic-q-a/39629/how-to-send-data-to-all-node-over-mesh/153946#153946 but got confused 

PS : i'am working on mesh SDK V2.2.0 .

Thank you .

Parents
  • Hi.

    can anyone tell me what shall i change in light_switch_client ( server )  to implement the simple_on_off model instead of generic_onoff_client ( server ) 

    Just out of curiosity, what is the reason that you would like to use the simple OnOff model instead?

    The thread you linked to seems to be unrelated to your question?
    However, in nRF5 SDK for Mesh v.2.2.0, the examples was updated to support Generic OnOff models.
    Read more in the release notes.
    In nRF5 SDK for Mesh v.2.1.1 the examples is using the Simple OnOff model, so I suggest that you take a look at how it's done there.

    We have a lot of information available in our infocenter, i.e detailed information about Creating New Models
    Also the Getting Started section could be worth taking a look at.

    Best regards,
    Joakim

  • i am trying to learn how to make my own model so starting from changing the generic_onoff to simple onoff so that's  going to show me how to manipulate the Low level  then moving to sending normal messages from node to other in whish each node is collecting data from about 2 or 3 sensors so it means making new models .

    i have seen the Creating New Models but it seem to be not very clear that's why i made myself some steps 

    in the first step i've got blocked  . 

    Also i have seen the Getting Started too but didn't find what i need 

    if you have any information about merging from generic onoff  to simple onoff on Mesh SDK 2.2.0  

    i will check the Mesh SDK v 2.1.1 as u said too   

    Thank you 

  • it seem to be not very clear

    What, exactly, was unclear?

  • how to implement the model after creation in the program 

  • turki said:
    if you have any information about merging from generic onoff  to simple onoff on Mesh SDK 2.2.0  

    I'm afraid we don't have any step-by-step guide for this, if that is what you are looking for?
    The Simple OnOff model is a vendor-specific model and is a simpler version of the Generic OnOff model. 

    Quote Creating New Models:
    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.

    turki said:
    i will check the Mesh SDK v 2.1.1 as u said too 

    Yes, I would suggest that you look at "Creating New Models" and using the examples in SDK v.2.1.1 as a reference on how it's implemented. 
    Let me know if there is something that you don't understand.

    Best regards,
    Joakim.

Reply
  • turki said:
    if you have any information about merging from generic onoff  to simple onoff on Mesh SDK 2.2.0  

    I'm afraid we don't have any step-by-step guide for this, if that is what you are looking for?
    The Simple OnOff model is a vendor-specific model and is a simpler version of the Generic OnOff model. 

    Quote Creating New Models:
    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.

    turki said:
    i will check the Mesh SDK v 2.1.1 as u said too 

    Yes, I would suggest that you look at "Creating New Models" and using the examples in SDK v.2.1.1 as a reference on how it's implemented. 
    Let me know if there is something that you don't understand.

    Best regards,
    Joakim.

Children
Related