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

Mesh will connect automatically or not

Hello All

i flashed one of the example in following mesh SDK "ble_mesh_v0.9.1-Alpha_2" SDK , I testing light control example code while testing i have got some doubt in the example code .

Example source code support 4 nRF51 DK,3 server and client ,if i want plugin one more module in same mesh network ,i has to do any change in the source code or not required

If we increase the nRF51 DK mash will form automatically or user has to give any input in the source code

Could please help me

thanks Ameer

Parents
  • Hi Ameer,

    I suggest that you read through the nRF5x SDK for Mesh doucumention, found here.

    Specifically, I recommend taking a look at the How to build a network section, found here. The Light Control Client example implements the following procedure

    1. Initialize:
        Core mesh stack
        Device state manager
        Access layer
        (Optional) Load flash configuration.
    2. Listen for unprovisioned beacons.
    3. Provision device.
    4. Configure device.
    5. If more devices should join the network, go back to step 2.
    

    where the number of nodes in the network is defined by

    #define SERVER_COUNT (3)
    #define CLIENT_COUNT (SERVER_COUNT + 1)
    

    so if you want to add more servers then just increase the SERVER_COUNT.

    Best regards

    Bjørn

  • Hi Bjorn and Hi Thomas

    Thanks for you Support and your valuable explanation
    i will follow as per input ..once again thanks for considering me

    Thanks

    Ameer

Reply Children
No Data
Related