Page 2 of 2

Re: bonding with devices which use random BLE addresses

Posted: Sat May 02, 2020 9:40 pm
by rosenrot
I'm playing with the same example. However, the example's information tells storing bonding information to be present after a reboot is not possible for now.

https://github.com/espressif/esp-idf/tr ... le/bleprph

I get the following error after bonding, so bonding is not stored:

Code: Select all

<27>[0;31mE (6913) NIMBLE_NVS: NVS write operation failed !!<27>[0m
My NVS partition is 9kb in size. Could that be a reason for the error? Does anyone else face the same issue?

Re: bonding with devices which use random BLE addresses

Posted: Sun May 03, 2020 1:49 am
by anthony
Hi @rosenrot ,

I haven't had that problem myself. You could try using a nvs size that is a multiple of 4k to see if the problem goes away. I think the recommended minimum is 12k.