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

NRF52832 erase_bonds ,

 I want to delete the bound device information through erase_bonds during the main function, but this will always cause chip errors and restart,I want to know how to solve this problem and realize my need to rebind the new master device。

void erase_bonds(){
ret_code_t err_code;
NRF_LOG_INFO("Erasing all bonds!");
err_code = pm_peers_delete();
APP_ERROR_CHECK(err_code);
}

Parents Reply Children
Related