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

advertising using MESH

Hello All,

I would like to implement tracking over MESH network using nRF52840.
1. In my MESH network, there are some devices who continuously advertising (say beacon).
2. There are some devices who read these advertising & relay this information towards the Hub using other relay device (say relay).
3. My Hub device get all these advertising (passed via Relay) & send it to cloud.

I read the nRF mesh documentation and I found implemented Beacon example. However, could not understand how to implement Relay for this scenario.
Any help / pointers towards implementation would be of great help.

Thanks in advance.

  • Hi,

    Is #1 a fixed requirement ? Can you simply broadcast your data as Mesh packet instead of BLE advertising packet ? If you can, then it's much more simple. 

    If you need to do BLE beaconing, it's could be a little bit more complex. 

    In our mesh beacon example, we do beaconing and scanning for beacon at the same time. However, there was not mechanism to send the scanned data back to one "hub" node. And you need to do it yourself. 

    But it can be a very simple mechanism, foe example whenever you receive any advertising packet on a node, you send the data to the hub address as a new mesh message. The relaying will be done as it's a mesh packet, and you don't have to worry about it. 

    As you don't provide much information about your application, we can't give you further advice on how you can improve the mechanism. For example you can add some filters, like only send the scanned advertising data when there is any change, or when the RSSI changes (when you do indoor locationing for example)

     

  • Hello Sir,

    Thanks for great support.

    Whenever my relay device received advertising packet, it will form mesh message containing,

    1. RSSI of advertising device.

    2. Address of advertising device.

    & send this information to "hub" node.

    So will you please guide me How to create mesh message & send it to "hub" node.

    Thanks in advance.

  • Ok, then you need to study mesh. Please have a look here.

  • Hi ,

    Did you succeed with your implementation,i'm also trying implement the same thing with nRF52832 DK board and nrf mesh sdk v2.2.0 (Beaconing example ) and nrf sdk 15.0.0 (ble_app_beacon example). i'm able to provision the beaconing nodes and scanning the ble_app_beacon device but i'm unable to send the beacon data to other  nodes or hub in mesh packet. Can you guide me in how to send beacon data to other nodes in mesh packet?

    Any help is appreciated, thanks in advance

     

  • Hi Satish,

    My requirement is similar to yours.   Need to send the information in beacon frames/advertisment  in  a mesh  network  to the main node with ble mesh & internet connection.

    I am using nrf5SDKforMeshv300 SDK and PCA10040 boards.  Flashed  one board with  beacon example, one board with light switch server example and other board with light switch provisioner example.  I  assume provision will acts  as  a relay  and passes the data in mesh network.

    I am unable to provision server & beacons  with provisioner board.  All the boards are placed at a distance & tx power of beacon is adjusted.

    please let me know how you can provision?  In some post i suggestions to modify light_server example to act as a beacon i.e need to port the code from beacon. 

    Regards,

    Siva.

Related