Setting Up Filter Accept List and Bonding for BLE Central Devices

Hi,

Might be possible to answer the question in bold. Thanks in advance!

We have many BLE central NUS (Nordic UART Service) and many peripheral NUS communicating with each other. The BLE connection should always connect to the same pre-configured BLE device and it should be a one to one connection. In discovery/scanning it should connect to the first BLE device it finds and always connect to the same device. When a button is pressed, you can clear the configuration and select a different BLE device to connect to. So I thought using Filter accept list with a BLE address would be perfect for this, but I could not find any examples to help me. I found the devAcademy Filter Accept List example (Lesson 5 Exercise 2) and the peripheral_accept_list example but only for the peripheral but I want to do this on the scanner site as the peripheral also has a lot of things to do and want to distribute the functionality. Are there any examples on the scanner site?

In order to create a Filter Accept List, a bonding should be done first, between the GATT server (peripheral) and the GATT client (central), is this correct?

I have only found simple examples for bonding to the central BLE devices. Are there any examples of how to do the bonding for the GATT client (central)?

Is there a complete example where the central creates a Bond Request and creates a Filter Acceptance List?

 

Related