How to check CS procudure used by controller in BLE Channel sounding security

Hi, I am using an external host with  NRF54l!5 dk to test the channel sounding feature. 

Can you tell me how the NRF controller supports this Cs procedure and whether the controller sends any event to the host so that security levels can be checked? Also, i want to set this security level. I tried searching in the NRF code, but can you help me locate how sample examples have set the security level. And how can we check that the particular security level is using the required cs procedure

Parents Reply Children
  • Hi again,

    If we consult the specification again, linked here, we can see some more verbose descriptions of the security levels:

    A device that operates in security level 1 shall use CS tone or CS RTT within a CS procedure.

    A device that operates in security level 2 shall use 150 ns or better CS RTT accuracy and CS tones within a CS procedure.

    A device that operates in security level 3 shall use 10 ns or better CS RTT accuracy and CS tones within a CS procedure.

    A device that operates in security level 4 shall meet the requirements of security level 3 and shall also require that the CS procedure uses either CS RTT with sounding sequence or CS RTT with random sequence, and that the device shall also support the Normalized Attack Detector Metric requirements as described in [Vol 6] Part H, Section 3.5.1.

    This is different to your suggestion in two ways.

    1. For security level 2 we need RTT and tones

    2. We do not need the RTT to be the main-mode to still meet security level 2 requirements

    This is a lot of specification work for an answer, but since this is a complex feature I find that becoming comfortable with the Bluetooth specification helps with understanding.

    tl;dr: CS Security levels in the SDC are:

    1. If
      1. Main-mode is 2 with no sub-mode
      2. Main-mode is 1 with no sub-mode
    2. If
      1. Main-mode is 2 with sub-mode 1
      2. Main-mode is 2 with sub-mode 3
      3. Main-mode is 3 regardless of selected sub-mode

    Note that for security level 2 you also need to run enough RTT steps (mode-3 or mode-1) to satisfy the RTT N value in both devices capabilities This value is described here in spec and may depend on what RTT mode is selected. 

Related