I'm using nRF51822 and SDK 10 , Softdevice S110 . I enabled whitelist option in my application its working as expected, but when after device is resetting peer device data is loosing so after reset the firmware peered device wont able to connect(but when i delete bond information from peered phone then it can able to connect). I found the issue is because while initializing device_manager_init(true) , clear persistent data in flash so the bonding information also erasing.
Now in device_manager_init function I'm not clearing persistent data. I'm not passing true as argument in device_manager_init. So it works
1. Is there any other issue if device manager is not clearing persistent data ??
2. What are the data will erasing while initializing device manager ??
3. This is the correct method for creating whitelist using dm ??