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

Peer manager storage full

Hi,

let's say fds storage doesn't have enough space, but it can be freed by running garbage collector. Now, new peer connects and initiates bonding procedure. My questions:

1) Does peer manager launch garbage collector (I guess it does function pm_handler_flash_clean() in peer_manager_handler.c )? When?

2) Will storing of peer data fail in this particular case or does peer manager try to run garbage collector and retry storing peer data during this bonding procedure?

3) Is the secure connection established even though storing bond data in non volatile memory during bonding procedure fails (which implicates that the bonding procedure will have to rerun next time)?

Related