bonding with devices which use random BLE addresses

rosenrot
Posts: 25
Joined: Wed Jan 01, 2020 9:28 pm

Re: bonding with devices which use random BLE addresses

Postby rosenrot » Sat May 02, 2020 9:40 pm

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?

anthony
Posts: 8
Joined: Tue Mar 31, 2020 6:37 pm

Re: bonding with devices which use random BLE addresses

Postby anthony » Sun May 03, 2020 1:49 am

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.

Who is online

Users browsing this forum: Bing [Bot] and 93 guests