nRF Connect SDK API 0.1.0
Loading...
Searching...
No Matches

◆ zigbee_erase_persistent_storage()

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.

Parameters
[in]eraseWhether to erase the persistent storage in case the erase pin is not shortened to the ground.