nRF Connect SDK API 2.8.99
|
void zigbee_erase_persistent_storage | ( | zb_bool_t | erase | ) |
#include <include/zigbee/zigbee_app_utils.h>
Function for setting the Erase persistent storage, depending on the erase pin.
If the erase pin (1.39 by default, defined in zigbee_app_utils.c) is shortened to the ground, then the persistent storage is erased. Otherwise, whether the storage is erased is decided upon the input parameter 'erase'. This behaviour is only valid if PCA10056 is used.
[in] | erase | Whether to erase the persistent storage in case the erase pin is not shortened to the ground. |