NimBLE-Arduino icon indicating copy to clipboard operation
NimBLE-Arduino copied to clipboard

Peer removed pairing information

Open foofel opened this issue 3 years ago • 3 comments

I have a device with mostly public but some private data. If too many devices bond, it seems like the pairing information does not get stored any more (ios returns Peer removed pairing information). After some googling i found that it seems only 3 bounds can be stored by default, that is fine with me as normally never more than one device needs to be bonded at a time, but it looks like this is the overall limit. Would it be possible to implement some "rolling" bonding where a new bond kicks out the oldest one if the list is full?

foofel avatar Nov 30 '22 13:11 foofel

This is the behavior that should already be happening. When the bond limit is reached the oldest one gets deleted and the new bond is created. If this is not working then there could be a bug.

h2zero avatar Nov 30 '22 15:11 h2zero

Hmm, then it seems like its another problem, ill take a further look. What would be the best way to debug this? What debug messages should i look for?

foofel avatar Nov 30 '22 18:11 foofel

Oh, seems like we met the same problem: https://github.com/h2zero/NimBLE-Arduino/issues/522

CharlesXSong avatar Mar 31 '23 14:03 CharlesXSong

Closing as stale, please re-open if still an issue.

h2zero avatar Jun 04 '24 22:06 h2zero