Channel Sounding RAS RREQ and RRSP at the same time

Testing with NCS 3.0.1 and nRF54L15-DK. I would like my devices to be able to work as channel sounding initiator as well as reflector role. In my own code I have integrated the code from samples channel_sounding_ras_initiator and channel_sounding_ras_reflector, and that works so far. However, when I enable CONFIG_BT_RAS_RREQ=y and CONFIG_BT_RAS_RRSP=y at the same time, even with CONFIG_BT_RAS_RRSP_AUTO_ALLOC_INSTANCE=n then I fail to get results on the initiator side (the reflector side works fine). I always get the error "Tried to parse empty step data".

You can easily reproduce this by adding 

CONFIG_BT_RAS_RRSP=y
CONFIG_BT_RAS_RRSP_AUTO_ALLOC_INSTANCE=n

to channel_sounding_ras_initiator.

Parents
  • Hi

    Can you try increasing the CONFIG_MAIN_STACK_SIZE to make more room for the buffers, as the error seems to be due to the buffer not being large enough for the ranging operation to take place here. Also, do you not make any changes to the main file here, only add those two configs to reproduce the issue?

    Best regards,

    Simon

Reply
  • Hi

    Can you try increasing the CONFIG_MAIN_STACK_SIZE to make more room for the buffers, as the error seems to be due to the buffer not being large enough for the ranging operation to take place here. Also, do you not make any changes to the main file here, only add those two configs to reproduce the issue?

    Best regards,

    Simon

Children
No Data
Related