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
  • Hi, I'm currently facing the same issue. I've built a control model with both server and client functionalities, essentially merging the Generic OnOff Client and Server models, and modifying the data being sent. My program compiles and flashes to the boards, and I'm able to provision each one, but if I provision one and configure it, then try to provision the other, the first one disconnects. 

    @Satheesh Would you be open to sharing your solution, or even source code? :)

Children
No Data
Related