Announcements

Help us improve the Power & Sensing Selection Guide. Share feedback

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
DeCo_1926091
Level 4
Level 4
First like received

I'm using CyBle_GapRemoveBondedDevice(clearAllDevices), where clearAllDevices

= {{0,0,0,0,0,0},0};   Problem is that I am always getting an apiresult = 2 (CYBLE_ERROR_INVALID_OPERATION).  According to the documentation, this can result from either a pending flash write or whitelist already in use.  I've eliminated the first so it seems that it's telling me that the whitelist is already in use.  How can I get it to NOT already be  in use?

One post said to call api, RemoveDeviceFromWhitelist first.  However, information from Cypress engineering says not to use this (soon to be obsolete) api since CyBle_GapRemoveBondedDevice clears both the bonded devices list and the whitelist.

Thanks for any advice you can offer,

Dennis

Message was edited by: Dennis Coburn to clarify the question.

0 Likes
0 Replies