DTM functionality over HCI without the DTM sample code

Hi,

We need to integrate a testing mode within our firmware that uses Nordic controller to do BLE functionality as we want to achieve single image solution for production and testing. Is there a way to use HCI commands with nordic controller to achieve the dtm testing after disable the app functionality (if needed)

  • Got it. Actually I worked with Softdevice for 10 years and it is one of the best BLE controllers I used.

    Is there a plan to integrate the DTM functionality in the softdevice controller like zypher? I saw many requests/questions about the same functionality. 

  • Hi,

    You are right we have had some requests for this, but DTM support is currently not plannet for the SoftDevice controller.

    I am glad to hear you are happy with the SoftDevice and SoftDevice controller in other regards, though Slight smile

  • Hi Einar,


    I'm trying to use the Zephyr controller with the (CONFIG_BT_LL_SW_SPLIT=y) and (CONFIG_BT_CTLR_DTM_HCI=y), as you mentioned, to execute the DTM test. I changed the hci_rpmsg child image config file with these two flags. The code built successfully and I believe the code uses Zephyr controller now. 

    The next step is to use the below HCI commands to execute the DTM testing:

    BT_HCI_OP_LE_ISO_TRANSMIT_TEST
    BT_HCI_OP_LE_ISO_RECEIVE_TEST
    BT_HCI_OP_LE_ISO_READ_TEST_COUNTERS
    BT_HCI_OP_LE_ISO_TEST_END
    - Are the above BT_HCI_OP.... flags related to DTM testing? or Am I missing something?
    If yes, when I call the above HCI commands, I get errors. When I checked the implementation of the hci_rpmsg code, I found that these HCI commands require different configurations than CONFIG_BT_CTLR_DTM_HCI and CONFIG_BT_LL_SW_SPLIT. The below screenshot is from hci.c file.
     
    At this point, I entered a continuous loop of configuration errors.
    is there an example of how to configure the hci_rpmsg correctly to support the Zephyr controller with these DTM HCI commands? also, is there an example of how to use them?
  • Hi,

    These tests are not DTM related (this is for etsting LE isocnronous channels, while DTM is for PHY level testing).

    Regardign configurations, CONFIG_BT_CTLR_ADV_ISO or CONFIG_BT_CTLR_CONN_ISO is requiered in order to include most of this (you can see that in the code). I do not have any example of how to intergrade this in the hci_rpmsg.

Related