cancel
Showing results for 
Search instead for 
Did you mean: 

STM32WB - How to implement the Filter Accept List

LPuck.1
Associate

I am working with the NUCLEO-WB55RG, trying to get the filter accept list ("white list") feature working.

 

Here is what I'm doing:

 - The NUCLEO is a peripheral implementing a custom BLE template, generated with STM32CubeMX 6.16.1. The "full" wireless stack V1.24.0 is installed on the M0+ core.

 - Start advertising with NO_WHITE_LIST_USE, connect, pair, and bond with a Central. This all works. Disconnect, call "aci_gap_add_devices_to_list()" (mode 0x03, also tried 0x05) with my bonded device list (retrieved with "aci_gap_get_bonded_devices()"). I have _also_ tried just called the "aci_gap_configure_whitelist()" command, the result is the same.

 - Then, if the # of bonded devices is > 0, when advertising restarts I use WHITE_LIST_FOR_ALL as the filter policy.

 

In either case, I can connect and bond with two iOS devices.

 

It seems that the white list isn't actually doing anything, and I can't figure out what to do.

 

I followed the advice here, with no results:

https://wiki.st.com/stm32mcu/wiki/Connectivity:STM32WB-WBA_Filter_Accept_List

 

I also see some HCI commands, specifically "hci_le_read_filter_accept_list_size()", but this always fails with code 0x01.

 

 

What is going on here?

0 REPLIES 0