1 of 1 people found this helpful
So i'm pretty sure that there is no key retrieval since it just initialize the key_data :
So i added the key retrieval from the DCT (needed to change the function to take a pointer as arg) :
I checked that the key retrieved is the same as the one saved, which it is now that the wifi_introducer_read_link_keys function use a pointer to the key, but then, my phone still can't communicate with the BT chip
I works after the pairing but if i reboot the chip or restart the bt stack, i end up in this situation. Any help will be appreciated.
4 of 4 people found this helpful
So if anyone have the problem than me, i fixed it.
You change what's store in the DCT by the full keys and not only a few part of it :
Then modify all the function to store/read the bond info to get the full key and load it
And finally :
And that should be fully working.