Beware that this post is related to an SDK in maintenance mode
More Info: Consider nRF Connect SDK for new designs
This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

SDK15.0 LESC

Hi everybody!

I'm currently working on some firmware updates for a motion sensor. The code was originally developed with SDK15.0. The setup is as following:

  • NRF52840
  • Soft Device S140
  • SDK 15.0.0

My task is to secure the communication between the sensor (peripheral) and the central and I'd like to use LESC for doing that. However, my understanding from the release note is that LESC was still in experimental stage when 15.0 was released. My question is: From today's point of view, is it recommendable to use these libraries? Is there maybe a list of known bugs? Furthermore, are there more examples available on how to initiate the encryption as a peripheral?

We're trying to avoid upgrading to later SDK versions.

Thanks in advance and best regards

Luca

  • Hi,

    As far as I can see, the LESC support in Peer Manager have had major refactoring and modifications from SDK 15.0.0 to SDK 15.1.0. There are also some additions to the library between SDK 15.1.0 and SDK 15.3.0, but after this there seems to be no changes to the LESC module until current SDK version (17.0.2).

    Since this is within the same major version of the SDK, maybe you are able to do the migration? If the libraries were not in production at the time, there is no guarantee from our side that the libraries are thoroughly tested or verified, and we will not have tested older versions of the library when releasing new SDK versions. That said, it is always your responsibility as a product developer to verify that the libraries and modules provided in the SDK are functioning correctly in your application.

    I'm not aware of more examples showing encryption with LESC, but you can have a look at the message sequence charts in the softdevice documentation: Peripheral LESC Pairing.

    Best regards,
    Jørgen

Related