Tool/software:
Hello,
I tried to modify simple_central and simpe_peripheral to work in this way :
1) simple_central with a random static address FF-00-55-55-55-00
2) simple_peripheral with a random static address FF-01-02-03-04-08. I changed also the advertising settings of Peer Address Type to : Random or Random ID
All works correctly and I'm able to connect central and peripheral. I'm also able to connect the smartphone to the peripheral.
Now the problems start when I try to implement a white list on the peripheral side. I'd want that the peripheral is scannable and connectable only by the central with address : FF-00-55-55-55-00 so I set the Filter Policy of the peripheral to Process requests only from devices in AL. Then I added the following code on SimplePeripheral_processGapMessage function inside the case GAP_DEVICE_INIT_DONE_EVENT:
I tested the code and now the central see the peripheral but is not able to connect as if the address is not correctly stored in the white list. I'm I added the white list code in the wrong position ? Any thoughts ?
Kind regards,
Riccardo