I have attached my main code here.Please have a look at it.I am using fs_store to write in flash location in the on_adv_report() function under the switch case C:
I am observing that once I place a breakpoints inside it I am not able to go to another breakpoint and if the breakpoint is directly placed after it completes store operation the chip is getting reset.
1)how do I avoid chip getting reset? 2) Can fstorage functions are only meant to be used inside main() ? Can we not call fs_Store outside the main in any other function? 3) Is peer_manager necessary for implementing fstorage operations? 4) Can you provide an example where fstorage or only fs_store operation is used in function other than main()? Expecting reply asap as I am stuck for demo.Thanks