Using BlueNRG-SM White List with Android random generated MAC address
Hi,
I am working on a ST eval board (IDB006V1M with BlueNRG-MS), using BlueNRG GUI v4.1.0, for evaluating the use of the product, and I am struggling with using the White List for Android devices.
Here are my manipulations and results :
- Advertising on the BlueNRG device with Filter Policy = 0x00 (Allow Scan Request from Any, Allow Connect Request from Any), I can detect and connect all BLE devices that I'm testing on (Windows laptop, another BlueNRG-MS, and 3 different Android devices). - Result OK
- Adding all the devices' public MAC address to the White List, then advertising with Filter Policy = 0x02 (Allow Scan Request from Any, Allow Connect Request from White List), only the Windows and other BlueNRG-MS device can actually connect to my advertising device, but not the Android devices. - Result NOK
I can add that when connecting the Android phone to my BlueNRG device (during 1st test), one of the HCI_LE_META_EVENTs indicates the peer_address and it is different from the device public MAC address (I read elsewhere that it is actually random generated for security reasons). This random MAC address can be added to the White List, and allows my Android phone to be connected in the 2nd test configuration. However, some 10 minutes later, a new random MAC address is generated, and it is no longer possible to connect it again.
Thus the question : Is it possible to configure the BlueNRG device in order to add the public MAC address of an Android phone (or tablet) to the White List so it can connect using Filter Policy = 0x02 ?
