What is a difference between sevices.h and services_lock.h?
What is a difference between sevices.h and services_lock.h?
If you use the array defined in services_lock.h, the service setup will be written to the OTP memory in the chip, so you can avoid having to load the setup at each startup. However, this memory can only be written once, so you should be certain that the setup is as you require it to be before you do this.
Please take a look at chapter 9 in the nRF8001 Product Specification for details.
No problem, but I'd be happy if you could click the "Accept as answer" button below it if you found my answer useful. :-)
When i write to NVRAM, the data is stored there forever. Okay. But what if i want to use a different setup ? Can is still "overwrite" the setup in NVRAM with my own setup, as long as my arduino has power? I know that when i take power off, then nRF8001 will use the settings from NVRAM when i power it on again.
Hi, we appreciate your question and we want to give you an answer, but may I ask you to open a new case and reference this one and also give some more information about your setup to avoid multi-subject threads in the forum. Thank you.