Hi everyone,
I am looking the ble_app_template_pca10056_s140 example and I have a question regarding the advertising_start(erase_bonds) function in main();
When you call the advertising_start() function you pass a bool (in our case erase_bonds) as parameter and if the bool is true you call the delete_bonds();
What I can understand from this example is that the erase_bonds is become true only if you press the button used to wake up the application and delete all bonding information. I s this true?
I am new to this an I try to understand when should I delete bonding information.
In my application I won't use any buttons but I will use an IMU for external interrupt. In general when do I need to call delete_bonds()? Is it required in any case?
Thanks in advance
Nick