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

How to configure a node for control model?

How to configure a node for control model. I have used light switch on/off template to implement a control mode but i i don't know how to make a control logic for client. Have to use only client at a time but if i run the code i'm getting error and it run both client and sever at same time. I have merge the client and server program for control model but i'm getting a error as NRF_INVALID_STATE which is in nrf_mesh_init function.Please help me and thanks in advance.

Parents Reply
  • The mesh specifications gives you more info on control models. There, they give an example of a cooling pump that circulates coolant in a fridge for example. The control logic would take a temperature value & according to that value, you either turn the pump on or off. For this use case, you could make some control logic to control when to turn the server or client leds on for example.

Children
Related