I want to connect my peripheral device to only one central device of specific address.
I want to connect my peripheral device to only one central device of specific address.
Hello,
Yes, it is possible to use the whitelisting / filter accept list for this purpose, but support for bonding will also be required if you want to allow connections with privacy enabled Centrals (true for all smartphones) as the identity resolving key (IRK) is exchanged during the bonding procedure. Please refer to the following posts for more details:
- Using Scan Filter in nRF connect SDK v2.5.1
- bt_le_filter_accept_list_add error, and possible population from prj.conf
Best regards,
Vidar
Thanks for the reply.
How can I get IRK? Also, can you elaborate more about the function and required configurations in prj.conf ?
As mentioned earlier, the IRK is exchanged during the bonding procedure. How to enable bonding is covered by this devacademy course at https://academy.nordicsemi.com/courses/bluetooth-low-energy-fundamentals/lessons/lesson-5-bluetooth-le-security-fundamentals/
Thank you so much! It is so helpful.
Thank you so much! It is so helpful.