Re: Storing Bonding information in NVS memory

2019-02-13 Thread prasad
Hi Chris, Thank you for your response. As I build my understanding from your response, The `idx` field most probably is useful in searching the case where `key.sec.peer_addr = *BLE_ADDR_ANY`, which most probably is useful to search our security keys. Correct me if I am wrong. The reason

Re: Storing Bonding information in NVS memory

2019-02-13 Thread Christopher Collins
Hi Prasad, On Wed, Feb 13, 2019 at 03:13:26PM +0530, prasad wrote: > Hi all, > > As it happens, I fixed the bug in my code. It now correctly retrieves > LTKs and bond is maintained even after reboot. > > Apart from this I just wanted to understand reason behind including > 'idx' in structure

Re: Storing Bonding information in NVS memory

2019-02-13 Thread prasad
Hi all, As it happens, I fixed the bug in my code. It now correctly retrieves LTKs and bond is maintained even after reboot. Apart from this I just wanted to understand reason behind including 'idx' in structure 'ble_store_key_sec'. Could you please help me understand use-case behind