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

how can i send the simple string message in mesh latest version 3.1

hi...

i am using nrf52840 , segger.... mesh sdk 3.1 version in this case i want to send the simple message from client to server .how to do this ?

suggest me an idea ...

Parents Reply
  • Hi,

    Have you been able to provision the clients and the server on the nRF Mesh app? After you have provisioned both devices, it should look like this:

    Then press on the gear icon next to "nRF5x Mesh Switch". You will then see this:

     (If the second element aren't expanded do that first)

    Next add a App Key by pressing "add"(In the picture you can see that I already added a key). Then press on Generic On Off Client. You will now see this:

    Here you just have to bind the app key and set the publish address as the unicast address of the "nRF5x Mesh Light". In this case it is 0x0004, but this address depends on what order you have provisioned the devices. (You can see the address in the first picture).

    You also have to bind the same app key for the Generic On Off Server model. nRF5x Mesh Light -> Element: 0x0004 -> Generic On Off Server -> Bind key

    Try now and see if it works :) If you press button 1 on client, the LED on server should turn on and button 2 should turn it off.

Children
Related