Channel Souding subevent

I am trying to use the HCI UART application with channel sounding enabled and communicating with an external host. I was able to perform all CS procedures, and when it was time to receive the CS subevent result, I only received it once, followed by a CS subevent continue. Below is prj.conf Please help, just like the nrf example  channel_sounding_ras_initiator or reflector, where continuous data is received

CONFIG_CONSOLE=n
CONFIG_STDOUT_CONSOLE=n
CONFIG_UART_CONSOLE=n
CONFIG_GPIO=y
CONFIG_SERIAL=y
CONFIG_UART_INTERRUPT_DRIVEN=y
CONFIG_BT=y
CONFIG_BT_HCI_RAW=y
CONFIG_BT_HCI_RAW_H4=y
CONFIG_BT_HCI_RAW_H4_ENABLE=y
CONFIG_BT_BUF_ACL_RX_SIZE=255
CONFIG_BT_BUF_CMD_TX_SIZE=255
CONFIG_BT_BUF_EVT_DISCARDABLE_SIZE=255
CONFIG_BT_CTLR_ASSERT_HANDLER=y
CONFIG_BT_MAX_CONN=16
CONFIG_BT_CTLR_DTM_HCI=y
CONFIG_BT_CTLR_ADV_EXT=y
CONFIG_BT_CTLR_CHANNEL_SOUNDING=y
CONFIG_SYSTEM_WORKQUEUE_STACK_SIZE=512
CONFIG_BT_L2CAP_TX_MTU=498
CONFIG_BT_BUF_ACL_TX_SIZE=502
CONFIG_BT_BUF_ACL_RX_SIZE=502
CONFIG_BT_ATT_PREPARE_COUNT=3
CONFIG_BT_CTLR_DATA_LENGTH_MAX=251

# This reduces RAM usage. Additional RAM is needed to support optional
# features such as mode 3 or multiantenna. Change or remove these if
# using those features
CONFIG_BT_RAS_MODE_3_SUPPORTED=n
CONFIG_BT_RAS_MAX_ANTENNA_PATHS=1
CONFIG_BT_CTLR_SDC_CS_MAX_ANTENNA_PATHS=1
CONFIG_BT_CTLR_SDC_CS_NUM_ANTENNAS=1
CONFIG_BT_CTLR_SDC_CS_STEP_MODE3=n

# This size assumes the largest step size is mode 2 with one antenna path:
# 12 bytes * 160 steps in a subevent. Change or remove this if using mode 3
# or multiantenna.
CONFIG_BT_CHANNEL_SOUNDING_REASSEMBLY_BUFFER_SIZE=1920
CONFIG_BT_L2CAP_TX_MTU=498
CONFIG_BT_BUF_ACL_TX_SIZE=502
CONFIG_BT_BUF_ACL_RX_SIZE=502
CONFIG_BT_ATT_PREPARE_COUNT=3
CONFIG_BT_CTLR_DATA_LENGTH_MAX=251
# Workaround: Unable to allocate command buffer when using K_NO_WAIT since
# Host number of completed commands does not follow normal flow control.
CONFIG_BT_BUF_CMD_TX_COUNT=10
CONFIG_BT_TRANSMIT_POWER_CONTROL=y

CONFIG_BT_CS_DE=y
CONFIG_BT_CS_DE_512_NFFT=y
Parents
  • nordic demo is enable procedure one by  one , so the code set the procedure count to 1. For you using cs in hci uart, you need to change the procedure count to zero or other value bigger than 1. If you already do these above, than check subevent  procedure status to check whether abort happened, it may caused by too small  procedure interval.

Reply
  • nordic demo is enable procedure one by  one , so the code set the procedure count to 1. For you using cs in hci uart, you need to change the procedure count to zero or other value bigger than 1. If you already do these above, than check subevent  procedure status to check whether abort happened, it may caused by too small  procedure interval.

Children
Related