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

SDK13, S132, peripherial mode. How bonding does work? In HRS example

Hi all! I write for nRF52 but I can't to understand it. There are two cases:

first- I want bound my peripherial with central. And in future I want connect only between those 2 devices. How should I do? Use whitelist on the central? And when first time connected central to periperial, this connection writed to memory of whitelist? Next on the central side I should set usewhitelist = 1? And at this case I always will connect only first connected device? Right?

Second case- I need only connect by peripherial to any device like smartfone. Without bonding. How should I do it? Which one settings should set in HRS ex.? What does it mean SEC_PARAM_BOND? In HRS set 1. I suppose, in this example, connect set with bonding?

Explain, pls.

Related