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

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

commit 92743bb80fdec355c18ae0e97354340bffaff676
Author: Szymon Janc <szymon.j...@codecoup.pl>
AuthorDate: Tue Sep 10 12:17:31 2019 +0200

    porting: Fix linux port example
    
    Linux port sample is using legacy advertising API which is disabled
    if Extended Advertising is enabled. For testing complete linux build we
    should have separate linux_dummy sample which doesn't call any APIs for
    simplicity.
---
 porting/examples/linux/include/syscfg/syscfg.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/porting/examples/linux/include/syscfg/syscfg.h 
b/porting/examples/linux/include/syscfg/syscfg.h
index 779093b..62ada47 100644
--- a/porting/examples/linux/include/syscfg/syscfg.h
+++ b/porting/examples/linux/include/syscfg/syscfg.h
@@ -236,7 +236,7 @@
 
 /*** net/nimble */
 #ifndef MYNEWT_VAL_BLE_EXT_ADV
-#define MYNEWT_VAL_BLE_EXT_ADV (1)
+#define MYNEWT_VAL_BLE_EXT_ADV (0)
 #endif
 
 #ifndef MYNEWT_VAL_BLE_EXT_ADV_MAX_SIZE
@@ -256,7 +256,7 @@
 #endif
 
 #ifndef MYNEWT_VAL_BLE_PERIODIC_ADV
-#define MYNEWT_VAL_BLE_PERIODIC_ADV (1)
+#define MYNEWT_VAL_BLE_PERIODIC_ADV (0)
 #endif
 
 #ifndef MYNEWT_VAL_BLE_ROLE_BROADCASTER

Reply via email to