You are using the correct API (CyBle_GapRemoveDeviceFromWhiteList()).Please have a look at the example project "Day014_Whitelist" for the proper usage of this API. (Link:https://github.com/cypresssemiconductorco/PSoC-4-BLE/tree/master/100_Projects_in_100_Days/Day014_Whitelist)
1 of 1 people found this helpful
Thanks for your reply.
I just solved this problem by calling the CyBle_GapRemoveDeviceFromWhiteList inside the CYBLE_EVT_GAP_DEVICE_DISCONNECTED state of the Stack Event Handler. Now I´m allowed to clean the list of bonded devices. Thanks again.