BLE Mesh Friend and LPN Node

Hi,


I am trying to understand the Friend and LPN behaviour. For that I am refering to nRF sample application light" and "light_switch".
Below is the setup details:
1. On one node sample app "light" is running
2. On a. Another node sample app "light_switch" is running.
3. Both get provisioned and configured in the same network using nRF Mesh mobile application (iOS mobile)
4. Followed the steps to configure the element on "light_switch" to set the publish address to the first unicast address of the Mesh Light node
    Link: https://docs.nordicsemi.com/bundle/ncs-latest/page/nrf/samples/bluetooth/mesh/light_switch/README.html#low-power-node-support

With the above, there is no scenario where I could see that friend node has cache the message send to the LPN node and upon Poll request it has forward it to the LPN.

Particularly, looking for the scenario where friend node cache the message and forward it to LPN when requested.
1. Is there any separate application for such scenario
2. Or, how can the same application with same setup can be use to run the above scenario.

Thanks,

Parents
  • As I understand it, the Light and Light Switch samples mainly demonstrate LPN/Friend establishment, but it can be difficult to observe actual message caching unless the LPN is unavailable when messages are sent. wheelie life

    One way to test it is to increase the LPN poll interval or temporarily prevent the LPN from receiving messages directly. Then send messages to the LPN from another node. The Friend node should store them and deliver them when the LPN sends a Friend Poll.

    Using a sniffer and enabling mesh debug logs can also help verify whether Friend Update and Friend Poll messages are occurring. I don't think a separate sample is required, but you may need a more controlled test setup to clearly see the caching behavior.

Reply
  • As I understand it, the Light and Light Switch samples mainly demonstrate LPN/Friend establishment, but it can be difficult to observe actual message caching unless the LPN is unavailable when messages are sent. wheelie life

    One way to test it is to increase the LPN poll interval or temporarily prevent the LPN from receiving messages directly. Then send messages to the LPN from another node. The Friend node should store them and deliver them when the LPN sends a Friend Poll.

    Using a sniffer and enabling mesh debug logs can also help verify whether Friend Update and Friend Poll messages are occurring. I don't think a separate sample is required, but you may need a more controlled test setup to clearly see the caching behavior.

Children
No Data
Related