Bluetooth Mesh Network Setup with the relay node.

Hi ,

I need A small Assist from you , that i mentioned below .

Category: Bluetooth Mesh Network / Connectivity Issues.

Description:

I am encountering an issue with my Bluetooth Mesh network setup and require your assistance to resolve it. Below are the details of my issue :

Environment Details:

Devices Used: Nordic nRF5340 DK, Nordic Mesh application (android)

Software/SDK Version: nRF Connect SDK v2.6.0

Mesh Models Used: Generic OnOff Server and Client models

Issue Description: i refer the Bluetooth Mesh light and light switch for checking the mesh connection and i got output for the testing the network .


Now i want to control my nodes from other nodes through the mesh apk . below i provide the issue:

i have 3 nordic 5340 dk and i used to flash same code for all 3 boards . Now i kept my one board far from the mesh network apk (nrf mesh ). So that the board which i kept far from the network is to be  connected to the network with the help of other nodes (relay node). for the reference i shared the block diagram .


the code i have used the "samples/bluetooth/mesh" for 3 boards and i enable the relay node in the prj.conf also .

when i try set the publish address it is showing "invalid publication address"

Steps Already Taken:

1. successfully intialized the mesh and all nodes are connected in the network .

2. i can turn on /off the all nodes at a time and individually through the nrf mesh apk .

3. i added the generic onoff server/client model to the all nodes so that each we can control the data with other nodes. 

Request:

1. Guidance on how to correctly configure and connect with multiple relay nodes to the mesh network , so that i can communicate the nodes which is far from the mesh network .

2. Assistance in troubleshooting the pairing and notification errors observed during the setup.


3.Recommendations for best practices to handle data reception from multiple nodes simultaneously in a Mesh network by using the relay node .

4.Need the assistance to check the relay node about how it is scanning , pairing etc . 

Attachments: below i provide the logs from the all nodes. I GOT THE SAME LOGS FOR ALL NODES.


HERE I PROVIDE THE BLOCK DIAGRAM AND LOGS OF MY NODES:

LOGS :

BLOCK DIAGRAM : 

Solutions are Appreciate.. 

THANK YOU ..

Regards,

MOHSEEN AHAMAD.

Parents
  • Hi,

    From what I understand, "nrf mesh apk" in your diagram is a smartphone using GATT for connecting to the Bluetooth Mesh network. Such a device cannot funciton as relay node; it can only connect to one GATT Proxy device of the network.

    When you provision multiple devices into the Bluetooth Mesh network, packets will get relayed automatically through relay nodes. All you need is to do initial configuration of the devices, where the sender and receiver of messages use the same application key, and publish /subscription addresses match.

    For details on each SDK sample, please see the documentation for each Bluetooth Mesh sample in the SDK, where the testing section describes configuration and usage.

    Regards,
    Terje

  • THANK YOU TERJE FOR YOUR KIND INFORMATION . 

    I WANT TO RUN MY NODES -1 , 2 , 3 AS THE RELAY NODES  AND CONNECT IT IN A NRF  MESH APPLICATION . 

    AS YOU MENTIONED I CHECKED THE ABOVE DOCUMENTATION  YOU PROVIDE , I AIN'T FIND THE TESTING OF THE RELAY NODE . 

    HOPE FOR YOUR VALUABLE  INFORMATION .

    REGARDS,

    MOHSEEN AHAMAD.

Reply Children
  • Hi,

    For most samples the relay feature is turned on by default.You can check the CONFIG_BT_MESH_RELAY kconfig setting to see if relay feature is enabled for the sample. If you then position the devices such that e.g. device 1 and device 3 both are in radio range of device 2, but not in radio range of each other, you can check to see if relay works on device 2 by controlling device 3 from 1 (or vice versa.) Please make sure that the publish settings from the sender node has a TTL of at least 2, in order for the messages to be relayed.

    Regards,
    Terje

Related