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

What happens when we have too many peers?

I've read through the DM code in the S110 library of v8.1, so this question is just asking for confirmation of what I'm reading.

The device_instance_allocate function returns an error if every entry in the peer table is filled with valid data. The callers to the allocation function fail when an allocation fails. The only ways that the table is pruned or cleared are by invocations of the dm_device_delete* functions which the user application must make to the nRF library.

So, does this mean that the default behavior of the nRF firmware library, without additional application logic to prune the peer table, is to peer with new devices until the table fills and then refuse new pairings?

Related