i am using nrf52840dk i have flashed the code for light switch lpn sample in 1 dk and 2nd dk with light sample.
i need to get help with the lpn node how it is acting as lpn node. its saying pressing
i am using nrf52840dk i have flashed the code for light switch lpn sample in 1 dk and 2nd dk with light sample.
i need to get help with the lpn node how it is acting as lpn node. its saying pressing
Hi,
What NCS version are you using? Please use the latest version, v2.7.0.
To make the light switch run as an LPN, set EXTRA_CONF_FILE to overlay-lpn.conf when building the sample. See the LPN configuration section and the note in the Configuring models section.

Friendship establishment will happen automatically after provisioning the LPN light switch, given that a Bluetooth Mesh: Light sample is running and is provisioned into the same mesh network.
Regards,
Amanda H.
Hi Amanda.
I am able to configure the light switch LPN. From the LPN exmple its showing a source code for the lpn is that available on the ncs v2.6.1 .
I am getting doubt how we can undertsnd that the device is in friendship with the other node. how current consumption is happening inside the lpn node.
is it possible to get logs
Hi,
cyriactoms said:I am getting doubt how we can undertsnd that the device is in friendship with the other node.
You can use the established callback function to notify the application that a friendship has been successfully established.
cyriactoms said:how current consumption is happening inside the lpn node.
See the Power consumption measurements.
-Amanda H.
Is there any source code for lpn.in the ncs
You can refer to overlay-lpn.conf to enable the configs for the Low Power node or Low Power node (LPN) section in this documentation.
You can refer to overlay-lpn.conf to enable the configs for the Low Power node or Low Power node (LPN) section in this documentation.