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

sensor_server with LPN feature enabled only responds to sensor_client's descriptor get msg when it is in a friendship

Hi,

My development setup:

SDK/SoftDevice: nrf5_SDK_for_Mesh_v5.0.0_src + nRF5_SDK_17.0.2_d674dde + s140nrf52720

HW: nRF52840 DK

I modified the sensor_server example (SDK\nrf5_SDK_for_Mesh_v5.0.0_src\examples\sensor\server) to enable and incorporate LPN feature support  with reference to the lpn example.

BEFORE establishing friendship with the sensor_client node (which is running SDK\nrf5_SDK_for_Mesh_v5.0.0_src\examples\sensor\client), the modified sensor_server (with LPN enabled) is able to send mocked sensor value to  sensor_client sucessfully. Received mocked sensor value displayed properly on RTT Viewer connected to sensor_client. However, the sensor_server does NOT respond to the sensor_client's descriptor get messages and cadence get/set messages (which are triggered by pressing Button 1, 2, 3,4 on sensor_client DK).

ONLY AFTER getting the sensor_server node (with LPN) to establish a friendship with the sensor_client (or another sensor_server node WITHOUT LPN feature enabled), the sensor_server is able to respond to the sensor_client's descriptor get message and cadence get/set messages sucessfully.

Questions: 

1) Why the sensor_server node (with LPN feature enabled) is not able to respond to sensor_client's descriptor get message and cadence get/set messages when it is NOT in LPN mode (i.e when it is not having any friend)? 
    Is this an expected behavior for node with LPN feature enabled?

2) For node with LPN feature enabled but NOT engaged in any friendship (or not initiating friend request), shouldn't it behave just like any other node without LPN?

Thanks in advance for your support! 

  

Parents Reply Children
No Data
Related