When the friendship node has established with the LPN node, how to verify that the friendship sends a useful message to the LPN node?

Hi,

     When the friendship node has established  with the LPN node, how to verify that the friendship  sends a useful message to the LPN node?Has it  any API to verify the message I define  to send from friendship node to LPN?

     ps:I use the light_switch server as the friendship node,and another nrf51832 device is lpn node.

     Hope your reply!

    Best regards & Thanks!

Kerry

Parents
  • Hi Kerry

    Are you using the nRF5 SDK for Mesh or the nRF Connect SDK in your application? By default, the LPN does not respond with a verification after receiving an update from the friend node. How the LPN behaves is described in detail here, and here for integration (assuming you use the nRF5 SDK). In practice it just wakes up every X second/minute/hour and polls the friend node for updates until the friend queue is empty. The LPN will only ask for new data if the last update was received successfully, and retry if not. 

    If you need to confirm the data sent, the LPN can always send data to its friend node, but that somewhat defeats the purpose of having a Low Power node, as a "confirmation message" will result in a lot of extra power used.

    Best regards,

    Simon

Reply
  • Hi Kerry

    Are you using the nRF5 SDK for Mesh or the nRF Connect SDK in your application? By default, the LPN does not respond with a verification after receiving an update from the friend node. How the LPN behaves is described in detail here, and here for integration (assuming you use the nRF5 SDK). In practice it just wakes up every X second/minute/hour and polls the friend node for updates until the friend queue is empty. The LPN will only ask for new data if the last update was received successfully, and retry if not. 

    If you need to confirm the data sent, the LPN can always send data to its friend node, but that somewhat defeats the purpose of having a Low Power node, as a "confirmation message" will result in a lot of extra power used.

    Best regards,

    Simon

Children
No Data
Related