This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

User defined registers to save state

hello,

my application involves sd132 2.0.0, sdk11.0, nrf52832. i am using app_gpiote, sd and timer(as mentioned in this ). i am using gpiote to detect a tamper. the variable value which i change because the tamper occurred is changing its value before I reflect it in an advertisement. instead can i use a user defined register to store my value. So that my data remains the same till i clear.?????

if so please guide me how to use???? if not then how do is keep the value of my variable unchanged by the course of time????

  • Hi,

    I'm not sure if I understand your problem. Do you need to store the value peristantly in flash so that it is preserved in the event of system resets or power cycles? Or are you trying to update your advertisement immediately after you detect your tamper? Maybe you can post your code? (You can edit your original question and attach the code as a .c file.)

Related