I saw the Central and Peripheral example code has peer_manager in sdk 12.2 and BONDING_ENABLE in sdk10.
What are they does and where has document I can read.
If I dont use should I set true or false into peer_manager_init function
The peer manager replaces the device manager from previous SDK’s and performs the following tasks:
For more information on the peer manager see Nordic Infocenter:
Bonding is when two devices store security keys for later use. They can then later reconnect and exchange encrypted data without exchanging sensitive data. This can be helpful if two devices need to connect in a public area where someone can eavesdrop. If the devices have bonded previously there is no need for a key exchange the eavesdropper can pick up.
When not using bonding I believe you can just set it to false. In addition see the peer manager usage section for different examples of security parameters
I will take a look for Link.