In QN908x how to reconfigure the whitelist once a specific bonded device removed from the list.

cancel
Showing results for 
Search instead for 
Did you mean: 

In QN908x how to reconfigure the whitelist once a specific bonded device removed from the list.

67 Views
Contributor II

once the bonded device count reaches the max possible bonded device count, then we would like to remove the first paired device from the NVM. In order to remove bonded device we call "Gap_RemoveBond(0)" and after this would like to know is there any update we need to make whitelist, if so please let me know the steps. Thanks in advance. 

@nxf63973 

0 Kudos
2 Replies

32 Views
Contributor II

Thanks Mario for the update. Correct me if am wrong, after deleting the bonded device using Gap_RemoveBond(index) API, we need to save the index value in the NVM so that the next time when the bonded count reaches max we can delete the bonded device present in the next index value.  

0 Kudos

48 Views
NXP TechSupport
NXP TechSupport

Hi @kishans,

At this point, the Bluetooth LE Stack will save the next device in index 0. You do not need to make any updates about this. but you have to be aware that the new device was saved in the 0 positions.

You could check using the Gap_ReadWhiteListSize API.

Regards,

Mario

0 Kudos