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

Hello, how do I get data from nrf mesh network by using many smartphones?

Hi, teams.

I checked the operation of nrf mesh network. (mesh sensor example, and light switch example)

It works well. Thank you!

By the way, I have a question.

If I want to see the data of each phone  by using many smartphones, how can I do that?

(Now I set the publish address to 0x0001 which is unicast address of provisioner.)

I want to make system that many people can see the data together by using their smartphones.

 

Thank you, teams.

Sincerely yours,

Minsu Kim from South Korea.

  • Hi, Hung.

    Thank you for your reply Slight smile

    I understood what you mean.

    Could I ask one more thing?

    I saw below post and did it.


    https://devzone.nordicsemi.com/f/nordic-q-a/55410/ble-mesh-connection-from-different-devices

    I saw this post, and tried to control server nodes by 2 or 3 smartphones. (Export and Import)

    Control is possible by each smartphones.

    But I want to see the update the state of each app (smartphones) like led state of each node.

    The state doesn't update when I set the 'Publish address' of nodes as 'all nodes(0xFFFF)' or 'all proxies(0xFFFC)'.

    However, when I set the 'Publish address' as 'Unicast address of smartphone', the led state updates!

    Why don't publication address 'all nodes' and 'all proxies' work as I thought?

    Do I need to revise the led switch server source code?

    If not, is it possible to make it work by using nrf mesh app?


    Thank you.

    Sincerely yours,

    Minsu Kim.

  • Hi Minsu, 

    In the case you pointed to it's possible to export and import so multiple phones can have the same credential information to talk to the mesh network. However, currently the proxy node only support one central at a time. You would need to modify the code of the proxy node to support multiple nodes. 

    Using the all nodes for sending normal packet is not recommended. Most likely our nRF Mesh app doesn't handle this address. 

    To achieve what you want to do I would strongly suggest you to write your own app. The nRF Mesh app is only an example app and its main task is to do network provisioning not as a normal mesh node on the phone. 

Related