nRF5 SDK for Mesh example with Segger Embedded Studio first time setup

Hello,
Currently i am working on ble mesh and specifically on different nodes implementation, Proxy node, LPN node, Friend node.
But when i am starting to implement and testing ble mesh with different nodes, then i am stuck in basic setup of nrfmesh sdk with segger embedded studio,
also i trying to finding complete guide but the conversation is 5-6 years old and the attch link of technical documents are expired.

So, please give me complete guide of nrfblemesh with SES setup with basic example implementation like light_switch.

Thanks in advance. 

Parents
  • Hi

    can you plesae try Bluetooth Mesh in nRF Connect SDK? nRF Connect SDK is the current SDK reccommended for new BT mesh projects.

    https://www.youtube.com/watch?v=Jt2ui22fBjM 

    https://www.nordicsemi.com/Products/Development-software/nRF-Connect-SDK/GetStarted 

    BR
    Lorenzo

  • Thanks for replay lorenzo Amicucci,

    I have nrf connect SDK and i perform every concept implementation like advertising, beacon, master-slave, master-slave network etc. with the help of nrf connect sdk, 
    then i start learning mesh and in that i read that for ble mesh implementation 'nrfsdkformesh' is required.
    That's why i asking using segger embedded studio and nrfsdkfor mesh how start, and how to set up environment.

    also i check in nrf connect sdk but there is not mesh example in it.

    there is a concept in mesh is relay node, lpn node, friend node and proxy node from these different node i am able to implement relay node via nrf connect sdk because in nrf connect sdk there is a example code of relay node, but there no any example i found for LPN, friend and proxy node.

    If you know how to setup environment using nrfsdkfor mesh and segger embedded studio or vs code then please guide me.  

  • Hello,

    So you currently don't have any other devices using the nRF5 SDK for Mesh?

    I would say that while it is still available for download, we highly recommend not to use this for new devices. As mentioned, it is deprecated, and no new features are added to this SDK. In addition, we don't really have the possibility to help you with the implementation, because we don't have anyone currently familiar with this. 

    The reason boards.h is not found is because you need to keep a copy of the "normal" nRF5 SDK: "nRF5_SDK_17.0.2_d674dde" in the same folder as your nRF5 SDK for Mesh. You can see from the include directories that this is where it is looking:

    But again, I must stress that from the point where you are able to build the example, I don't know how to configure friend nodes, proxy nodes in the nRF5 SDK for Mesh.

    Looking at NCS, you will find all our Mesh samples in NCS\nrf\samples\bluetooth\mesh. Also see the sample descriptions here:

    https://docs.nordicsemi.com/bundle/ncs-latest/page/nrf/samples/mesh.html

    In NCS, all samples are proxy nodes by default. For simplicity, I suggest you start using NCS v2.6.X. For the nRF52 series and Mesh, there is really no added functionality in the later NCS versions, but some of our tools are lagging a bit behind. So use the v2.6.3, for example.

    The light switch sample in NCS will also demonstrate how you can enter Low Power Mode. As long as there is a friend node (e.g. another device running the Mesh Light sample), you can enter low power mode by pressing button 4 on the DK. 

    Other helpful tools are the nRF Mesh app for iOS or Android. You can use this as a provisioner, to set up a Mesh network, and add new nodes. This app uses BLE and connects to a node using the proxy feature, and handles everything through that.

    Best regards,

    Edvin

  • Hello Edvin,

    As per your advice i am implement different nodes in VS code and it's good to work in VS code.
    Now i am trying to connect two different relay nodes to hopping the message several times, for that i am use ble_hrs (peripheral example) which send heart rate reading to relay node and relay node receives this data reading, now i am trying to hopping this data to another relay node,

    I am try to pair two different relay nodes because of some reason it's trying to pair but not able to pair.
    please suggest me what are the reason and guide me what i must care to pair two different relay nodes.

    what i try:
    1)relay node connect with relay node for that reason i connect mobile application and receives data on it, but end goal is receives data and hopping again to another device.

    2) Then i connect central device code of ble_hrs_c and this code able to connect with relay node and as mobile application receives the data it also receives the data which relay node sending, but it's not able to send same reading to further device.

    Note: I am using nrf52832 custom board
    nrf5SDk 17.0.2
    Segger Embedded studio V5.64

    use ble_hrs (Point A) as starting point which sending heart rate reading data then use
    ble_app_hrs_rscs_relay (Point B) it's receives data from point a and send it to 
    ble_hrs_c (Point C) and it's not able to hopping and relay node i am not able to pair.

    So, please guide me in this situation. (Specifically procedure to connect 2 different relay nodes)

    Thanks in advance. 

  • Hello,

    The ble_hrs, ble_app_hrs_rscs_relay and ble_hrs_c are not Bluetooth Mesh samples. Wasn't your goal to use Bluetooth Mesh? Or did you move away from that?

    Best regards,

    Edvin

  • The ble_hrs, ble_app_hrs_rscs_relay and ble_hrs_c are not Bluetooth Mesh samples. Wasn't your goal to use Bluetooth Mesh?

    Hello Edvin,
    Goal is to create BLE SIG mesh and for that i apply relay node using ble_app_hrs_rscs_relay  example.
    But facing issue which i mention above. 

    currently i am trying create one network in that there are several number of relay nodes which hopping message and  the message transmission start point from one central node and at the end point there is another central node and in between this 2 central node there are relay nodes.

    If there is some suggestion for this then suggest me, also guide me for issue which mention above.  

  • So you are not aiming for a Bluetooth Mesh application, with proxy nodes, low power nodes and friend nodes, then. Right?

    Please note that Bluetooth Low Energy is not the same as Bluetooth Mesh. 

    If you want to create a custom network consisting of BLE devices, then you need to consider how large it will be, and how new nodes will attach. How many connections will each device have? You also need to decide how to forward messages, as this is not done automatically. You have to write an algorithm so that the messages are routed and arriving to the correct node. A network of BLE devices doesn't really know about any network structure. Each node will only care about the number of connections that is has. 

    Best regards,

    Edvin

Reply
  • So you are not aiming for a Bluetooth Mesh application, with proxy nodes, low power nodes and friend nodes, then. Right?

    Please note that Bluetooth Low Energy is not the same as Bluetooth Mesh. 

    If you want to create a custom network consisting of BLE devices, then you need to consider how large it will be, and how new nodes will attach. How many connections will each device have? You also need to decide how to forward messages, as this is not done automatically. You have to write an algorithm so that the messages are routed and arriving to the correct node. A network of BLE devices doesn't really know about any network structure. Each node will only care about the number of connections that is has. 

    Best regards,

    Edvin

Children
No Data
Related