From 92743bb80fdec355c18ae0e97354340bffaff676 Mon Sep 17 00:00:00 2001 From: Szymon Janc Date: Tue, 10 Sep 2019 12:17:31 +0200 Subject: [PATCH] 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 779093b92..62ada4702 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