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)

Parents
  • 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?
Reply
  • 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?
Children
No Data
Related