I'm testing the how does pair/bond works. SDK17
I find that if only LESC enabled, AUTH_STATUS tells not in sm1 lv4,but lesc bit is 1.
Is this a bug?


I'm testing the how does pair/bond works. SDK17
I find that if only LESC enabled, AUTH_STATUS tells not in sm1 lv4,but lesc bit is 1.
Is this a bug?


Hi,
sm1 lv4 requires MITM protected link. As you didn't configure MITM, the link is considered sm1 lv2.
My problem is when lv4 is 0, lesc bit shouldn't be 1 in AUTH_STATUS.
Maybe it's a bit confusing but LESC ans security level 4 are different things. LESC bit just means that EDCH key exchange is done. LESC pairing supports "just works" mode, but this mode cannot be qualified as "level 4" because level 4 requires an authenticated link, and "just works" link is not authenticated, no matter whether you're using ECDH or not ( see an explanation by Peter).
That's it. Thanks.
That's it. Thanks.