341f81bd81
This refactor the way stored keys are handled to avoid overwriting existing keys with new keys in case of pairing failed. Main goal is to delay update of keys (including type and encryption size) until link is succesfully encrypted with new key (legacy STK or LE SC LTK). To fix this properly, TK is used to store STK or LE SC LTK and updates of keys properties are done only on successfull encryption. This makes code less error prone since update is done only in one place in code. Also quering SMP code for current key makes sure that correct keys is used in case of re-pairing. Change-Id: I6b9e3d8229de522143e0d1fbfe0bd8223dad2a56 Signed-off-by: Szymon Janc <ext.szymon.janc@tieto.com> |
||
---|---|---|
.. | ||
src | ||
Makefile | ||
README | ||
prj.mdef | ||
prj_arm.conf | ||
prj_x86.conf | ||
testcase.ini |
README
First serial line is multiplexed with qemu monitor and bluetooth shell (btshell) is running there. Use help to check list of commands.