This is an automated email from the ASF dual-hosted git repository.

andk pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/mynewt-nimble.git


The following commit(s) were added to refs/heads/master by this push:
     new b2c720e79 apps/dtm: Fix compilation error
b2c720e79 is described below

commit b2c720e79a0e70d29162a91b87e38c6cb31d1de2
Author: Mariusz Skamra <[email protected]>
AuthorDate: Wed Aug 20 12:21:29 2025 +0200

    apps/dtm: Fix compilation error
    
    Fixes error:
    main.c:169:10: error: implicit declaration of function
            'ble_hs_hci_send_vs_cmd' [-Wimplicit-function-declaration]
      169 |     rc = ble_hs_hci_send_vs_cmd(BLE_HCI_OCF_VS_SET_TX_PWR,
          |          ^~~~~~~~~~~~~~~~~~~~~~
---
 apps/dtm/src/main.c | 1 +
 apps/dtm/syscfg.yml | 2 ++
 2 files changed, 3 insertions(+)

diff --git a/apps/dtm/src/main.c b/apps/dtm/src/main.c
index f3e218bc8..1f8fc1131 100644
--- a/apps/dtm/src/main.c
+++ b/apps/dtm/src/main.c
@@ -24,6 +24,7 @@
 #include "nimble/ble.h"
 #include "nimble/nimble_opt.h"
 #include "host/ble_hs.h"
+#include "host/ble_hs_hci.h"
 #include "host/ble_dtm.h"
 #include <img_mgmt/img_mgmt.h>
 #include <bootutil/image.h>
diff --git a/apps/dtm/syscfg.yml b/apps/dtm/syscfg.yml
index 7e00a4736..82517013e 100644
--- a/apps/dtm/syscfg.yml
+++ b/apps/dtm/syscfg.yml
@@ -27,3 +27,5 @@ syscfg.vals:
 
     BLE_LL_DTM: 1
     BLE_LL_DTM_EXTENSIONS: 1
+
+    BLE_HCI_VS: 1

Reply via email to