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.

Parents
  • 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.

Reply Children
Related