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

Reply
  • 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

Children
Related