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

First study Mesh

Hello,

I found this picture on Nordic's official website

1、Can only proxy node connect to mobile phone and GATT?

2、

I open mesh example (dimming), which contains client and server

My understanding is

Client can achieve P, RN and FN

Server can achieve N, LPN and GATT

Is my understanding correct?

3、Assuming that I understand it correctly, which code can make these settings in example?

Thanks

Parents
  • Hi Tony, 

    1. Correct. Only Proxy node allow a phone to join the mesh network. However you can implement BLE in any node. That would allow a phone to connect to the node but not allowing it to join the mesh network. Have a look at co-exist example. 

    2. No it's not correct. It doesn't really matter if you have a client or server model it's on the access level when the P, RN, FN, LPN are on the lower levels. 

    3. Our examples can do most of the role for example the light switch example can be FN, RN, P, N. We have the example for LPN separately. 

  • I found softdevice in sdk17

    But now there are new problems

    Did I download mesh successfully?

    Can DFU problems be ignored?

    Because I found articles with the same problems as me in devzone

    Thank you

  • I want to burn Nordic example hex to 52840dk

    But there is a new problem

    My system is Windows 7

    J-Link is 【JLink_Windows_V752b_x86_64】

    52840 DK【PCA10056  V0.9.2  2017.34】

    I don't know how to solve this problem...

    ======================================

    Another question I'd like to ask

    In keil, here is a button to download the program

    In segger embedded studio, Where is the download button?

    Thank you

  • Hi Tony, 
    Do you see the nRF52840 DK appear in "My Computer" when you plug it in ? 
    Could you install Nordic Command Line Tools ? and try using nrfjprog.exe to program ? 
    In Segger Embedded Studio you can flash using Target -> Download XYZ

  • Should this be a successful implementation?

    But I still display the error below in NRF connect(v3.6.1)

    Thank you

  • Hi Tony, 
    I would suggest to try installing Jlink driver again. Aslo please upgrade (or reinstall ) nRF Connect app. The latest version of nRF Connect is v3.7.0 and the programmer is v1.4.11

    Or you can just use the nrfjprog.exe to program , it's my preferred programmer if you are familiar with commandline tool. 
    Note that you can use Segger Embeded Studio to program the chip after you compile the application. 

  • I currently use command line to erase the chip, and then use SES to download the program

    I have now downloaded the sample program light_ switch

    The function should be successful

    But I have a few questions

    1、In nRF Mesh APP for iOS, why does the client have 3 elements?

    (How should I understand element?)

    (Server has only one element, And I only set client Element2)

    =================================================

    2、In my video, example is light_ switch,

    The board of the client should be a proxy node,

    What kind of node does the server board belong to?

    Thank you

Reply
  • I currently use command line to erase the chip, and then use SES to download the program

    I have now downloaded the sample program light_ switch

    The function should be successful

    But I have a few questions

    1、In nRF Mesh APP for iOS, why does the client have 3 elements?

    (How should I understand element?)

    (Server has only one element, And I only set client Element2)

    =================================================

    2、In my video, example is light_ switch,

    The board of the client should be a proxy node,

    What kind of node does the server board belong to?

    Thank you

Children
  • Hi Tony,

    1. Two same model can't be on one the same element. This is the reason we have multiple elements because we have multiple OnOff clients. Please study the Mesh specification here or the quick start guide here

    2. The server node a normal mesh node and it's also a Proxy node at the same time. It can also act as a friend node.  

  • Can a node have multiple functions?

    I always thought was that a node can only have one mode

    This Server contains proxy node and friedn node?

    Thank you

  • As I have answered you earlier a node can have multiple features (roles) at the same time:
    Our examples can do most of the role for example the light switch example can be FN, RN, P, N. We have the example for LPN separately. 

  • Thank you for your reply during this time

    I probably understand Bluetooth Mesh

    Let me ask you a few more questions, Thanks

    1、Should GATT nodes be the same as N nodes? (it will not retransmit messages)

    2、The example of GATT in the Mesh SDK folder? (Especially LongRange example)

    3、

    If the mobile phone wants to use mesh, it seems to be embedded with an API.

    No matter Android or IOS, where is this API?

    4、I want to add Thingy and Dongle to mesh. Can you briefly explain where I should modify?

  • Hi,

    1. In the figure, the GATT proxy nodes are marked "P", and in addition to GATT proxy they also have relay feature enabled. The node marked "GATT" is a GATT only smartphone (or similar device) that connects to the mesh network through a GATT proxy node. The GATT proxy node will relay packets to and from the GATT only node.

    2. Bluetooth mesh does not use the "long range" feature from Bluetooth 5, so the way you get longer range in Bluetooth mesh is from relaying packets through the network. This relaying happens automatically by relay nodes (nodes with relay feature enabled). In the figure, all the nodes marked "P", "RN" and "FN" have the relay feature enabled, in addition to any other features. This means none of the examples have "long range" from Bluetooth 5. All of the examples work with Bluetooth mesh networks where packets gets relayed.

    In nRF5 SDK for Mesh, all examples that can be tested using the nRF Mesh app for provisioning and configuration, have enabled the GATT proxy feature. For instance the Light switch example.

    3. The API lets you send and receive mesh packets on a device that has only normal BLE support and not Bluetooth mesh support. It must be built on top of the normal Bluetooth API on the specific system, for instance on top of the Bluetooth API of Android. We do have libraries for this on github, for Android and for iOS.

    4. The Dongle is only partially supported. See Limited compatibility with nRF52840 on PCA10059 Dongle for details.

    Regards,
    Terje

Related