Beware that this post is related to an SDK in maintenance mode
More Info: Consider nRF Connect SDK for new designs

How to make the sensor client a friend node

Hello,

 I have been working on mesh the last week. Now I have created a program with a working LPN that reads sensor data. Now I need to make a working Friend Node.

I base my code of the sensor client example and the light switch server. I want the functionality of the sensor client but including friend functionality. however I can't seem to find what enables Friend funcionality on the light switch server.

I use SDK for Mesh V5.0.0

When I try to enable Friend in nrf_mesh_config_core.h and compile it gives these errors. What Do I need to add or what am I missing?

What enables the friend functionality on the light switch server? 

And what do I need to implement in the Sensor client program to be able to friend it?

Related