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

Adding Server to Light Control Mesh Example

How do we go about adding servers to the light control example i.e. I would like to control 50 servers via one client. What needs to change in the code besides SERVER_COUNT below:

#define SERVER_COUNT (3)
#define CLIENT_COUNT (SERVER_COUNT + 1)
Parents Reply
  • Hi Vanaja,

    There is no single correct answer to this question. Our recommendation is to increment the *_COUNT values by 1 and then re-compile. You will need to do this until you can compile without errors.

    My colleagues in the Mesh team also note that you should consider increasing REPLAY_CACHE_ENTRIES since any node cannot receive messages from more than REPLAY_CACHE_ENTRIES.

    Ketil

Children
Related