Hello,
I have an application where a BLE central connects to a BLE peripheral. Then the devices do the bonding procedure. After the devices are bonded the peripheral should only do directed advertising to that one central.
So far I can get the devices to bond but after they disconnect and the peripheral should start directed advertising my program fails at the sd_ble_gap_adv_set_configure call with an NRF_ERROR_INVALID_PARAM error. The parameters include a random static address as peer address and PHY coded. Whitelist is not used.
What could be the problem there?
- nRF5 SDK 17.0.2
- Softdevice 7.2.0
Thanks in advance!