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

Central role in a mesh proxy node.

Hi,

I have a BLE sensor node (firmware not modifiable) that takes up a peripheral role and starts advertising when powered up. Typically, one can scan for the node from a smartphone, initiate a connection and receive the sensor data from it.

For my use-case, I want to send this sensor data over a BLE mesh network (using nRF52832 modules) to extend the range of communication between the BLE sensor node and the smartphone.

Now, the problem is the connection between the BLE sensor node and the mesh (proxy) node.

From my understanding, I need to have a device running a central role and the mesh stack at the same time to which my sensor node can connect.

Currently, the proxy server (a light-switch server which allows for proxy connection) and the proxy client (a light-switch client which allows for proxy connection) both take up the peripheral role and advertises packets to which a smartphone (central) can connect to.

So, how can I have my proxy node to take up the central role (scans for the sensor node and initiate a BLE connection) in a mesh network?

Is there any suitable example that I can look at?


Thank you.

Related