Error Occurred During Step-by-Step Channel Sounding Distance Measurement

Hi Nordic,

I am currently writing about the process of performing channel sounding sequentially on three connected devices. However, after the first channel sounding is completed and the CS procedure is closed, when I attempt to start the second channel sounding (using bt_le_cs_procedure_enable), the following error occurs:

[00:00:28.513,899] <wrn> bt_hci_core: opcode 0x2094 status 0x07 
[00:00:28.513,910] <err> app_main: Failed to enable CS procedures (err -5)


According to the Bluetooth specification, this error corresponds to "Memory Capacity Exceeded". I would like to ask how to resolve this issue.

Thanks!

Parents
  • Hi

    bt_le_cs_procedure_enable() so I don't think you can have multiple procedures enabled at the same time. Error message -5 from this function points to an input output error which might indicate that it's already enabled for example, and thus returns this error you're seeing. Try calling a disable to disable the current connected ID before enabling it for a second connected device.
    It would also be helpful if you uploaded a code snippet showing how you're handling the connections and CS measurements on your end. And what SDK version you're using for development.
     
    Best regards,
    Simon
Reply
  • Hi

    bt_le_cs_procedure_enable() so I don't think you can have multiple procedures enabled at the same time. Error message -5 from this function points to an input output error which might indicate that it's already enabled for example, and thus returns this error you're seeing. Try calling a disable to disable the current connected ID before enabling it for a second connected device.
    It would also be helpful if you uploaded a code snippet showing how you're handling the connections and CS measurements on your end. And what SDK version you're using for development.
     
    Best regards,
    Simon
Children
No Data
Related