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

How to Provision Beaconing Example from nRF5SDK_Mesh2.2.0 SDK and how to test the mesh functionality with Beaconing example?

Hi,

I'm working with nRF52832DK  board , nRF5_SDK_15.0.0 SDK  and nRF5SDK_Mesh2.2.0 Mesh SDK . verified the light_switch example project,i wanted to create beacons mesh network with  beaconing example, i compiled and flashed on to the DK board using segger embedded studio successfully.

 I don't find any information about how to provision the  beaconning example and how to connect them in mesh,please help me with this

Thanks in advance. 

Parents
  • Hi Satish, 

    The provisioner in light switch example was customized for light switch application. It only looking for devices with UUID that matches with light switch client and server. And the configuration is also customized for that application. 

    If you want the provisioner to provision your beacon example, you would need to modify the provisioner and the node_setup.c and the provisioner_helper.c to match with your application. 

    Another option is to use PyACI as a generic provisioner from a PC. You can provision and configure anything you want with the PyACI. Please follow the guide here. 

  • @Hung Bui

     I tried the second option that is  PyACI as a generic provisioner from a PC by following  the guide here.  and i got the below error

    In [3]: p = Provisioner(device, db)

    In [4]: 2018-11-21 14:03:40,848 - INFO - COM13: cmd KeypairSet, timeout waiting for event
    2018-11-21 14:03:42,850 - INFO - COM13: cmd AddrLocalUnicastSet, timeout waiting for event
    2018-11-21 14:03:44,853 - INFO - COM13: cmd SubnetAdd, timeout waiting for event

    2018-11-21 14:03:46,855 - INFO - COM13: cmd AppkeyAdd, timeout waiting for event
    2018-11-21 14:03:48,858 - INFO - COM13: cmd AppkeyAdd, timeout waiting for event



  • Please try again with the nRF52 board restarted. Occasionally I saw the same issue happened. But before that please verify that the PyACI can communicate properly by following this guide and this guide  

  • Hi Hung Bui I tried the above mentioned solutions also but still i'm getting the same timeout error,attached

    the screenshot for your reference.

    Is there any other way to provision the device that contains the beaconing example in it, without provisioning mesh will not work right?

    nRF Mesh mobile application also not recognizing the mesh beaconing device ,it should work as a generic provisioner right

    Please help me,thanks.

Reply
  • Hi Hung Bui I tried the above mentioned solutions also but still i'm getting the same timeout error,attached

    the screenshot for your reference.

    Is there any other way to provision the device that contains the beaconing example in it, without provisioning mesh will not work right?

    nRF Mesh mobile application also not recognizing the mesh beaconing device ,it should work as a generic provisioner right

    Please help me,thanks.

Children
  • nRF Mesh mobile application only support node with proxy feature. You can think of adding proxy into the beacon example. Or the otherway around adding the beacon feature (very simple) into the proxy light switch example. 

    When you testing please make sure you can do  UART communication with the board (test with SDK v15 Uart example). And make sure you have flashed the mesh serial firmware to the DK. 

Related