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

Mesh message from node to the provisioner

Hi,

I'm using NRF52832 with SDK15 and Mesh 4.0. I am also testing on Generic On Off examples.

I want to send status messages from a node to the provisioner (app). I can do this just when the app sends a message to a node.

I don't know how to update my device status to the app accidentally (without app request).

Thank you.

Parents
  • Hi,

    In your network tab of the nRF Mesh app, you need to go into Phone->Primary Element-> Bind Application Key(same as the one used on the Server model on server). Go into Server and bind application key to Generic OnOff Server model if you haven't done so. Then you have to set the publication address of the server model to Client model on the phone. You can now send status messages to the phone by pressing button 1, on the device you should see the status getting updated on the phone.

    Note: Button 1 on the Development Kit is configured to toggle the LED and trigger the STATUS message to inform client about the state change

Reply
  • Hi,

    In your network tab of the nRF Mesh app, you need to go into Phone->Primary Element-> Bind Application Key(same as the one used on the Server model on server). Go into Server and bind application key to Generic OnOff Server model if you haven't done so. Then you have to set the publication address of the server model to Client model on the phone. You can now send status messages to the phone by pressing button 1, on the device you should see the status getting updated on the phone.

    Note: Button 1 on the Development Kit is configured to toggle the LED and trigger the STATUS message to inform client about the state change

Children
Related