How can i change mode and level with nrf54l15

Hi,

I tried to change security level, but it's not changing.

When i set CONFIG_BT_SMP_SC_ONLY=y, it's working well with security level 4,

but i want to change mode1, level3.

how can i change it?

Tool : VS code

SDK : nRF Connect SDK v2.8.0

Board : AN54L15Q-DB(nRF54L15)

thanks for helping

Parents Reply Children
  • I already shared how: It is done automatically. If you want to support old phones, you want your device to support both Level 3 and 4, not just Level 3.

    What you want to get out of Emil's reply is: Make sure CONFIG_BT_SMP_SC_ONLY is disabled.

    It is disabled by default. If you want to be extra sure, you can do so by setting CONFIG_BT_SMP_SC_ONLY=n, and also check the compiled .config file in <build directory>/<application name>/zephyr/.config.

    As for Level 3 support, I do want to give it a test to see for myself that it works, but I struggle to find a central device without LE Secure Connection (LESC). 
    No SDK publicly available right now let me build without LESC... I don't have any phone that old either.

    It's exactly what Emil said, LESC is so old that supporting Level 3 makes little sense. If a phone didn't support LESC, it would be so old that it would be barely useable and would be riddled with various security vulnerabilities.

    Also, the reason that no-LESC isn't an option is most likely because there is no motivation to only support Level 3. It is weaker, and more vulnerable. Maybe there is a cause for testing too, as I just realized.

  • I understand and solved it.

    I just need to change security level3 and use passkey without setting SC_ONLY.

    then it's working with security level3.

    Thanks.

  • It's good to know that we are on the same page now. Then please feel free to close this case at your convenience.

Related