I am attempting to use an nRF52840 with softdevice 7.2.0 to validate some scenarios and am seeing a difference in operation between legacy pairing and LESC pairings. I have tested against an nRF52840, iPhone (with LESC) and Android phone (without LESC). I set the key distribution to have id = 1 and all other fields = 0 on the device. In legacy mode, I get the authentication complete process and am getting the same values back in the params.auth_status.kdist_own and params.auth_status.kdist_peer parameters in the BLE_GAP_EVT_AUTH_STATUS event, however if the remote device supports LESC then I get id = 1 and enc = 1 in the params.auth_status.kdist_own field in this callback, even though I specified not to exchange the enc key by setting s_sec_params.kdist_own.enc = 0, I am still getting id = 1 and all other fields = 0 for the params.auth_status.kdist_peer parameter.
Is this expected or is something amiss in this?