From 2f6e9d40eaf14d1306c28b2e014f43e7f8c600cb Mon Sep 17 00:00:00 2001 From: Krzysztof Taborowski Date: Mon, 20 Jan 2025 10:34:23 +0100 Subject: [PATCH] samples: update ble configuration Symbsld changed in nrf upmerge https://github.com/nrfconnect/sdk-nrf/pull/19720 Signed-off-by: Krzysztof Taborowski --- subsys/sal/sid_pal/src/sid_ble_advert.c | 2 +- utils/sidewalk_dfu/nordic_dfu.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/subsys/sal/sid_pal/src/sid_ble_advert.c b/subsys/sal/sid_pal/src/sid_ble_advert.c index 4f86c180f..2caa74491 100644 --- a/subsys/sal/sid_pal/src/sid_ble_advert.c +++ b/subsys/sal/sid_pal/src/sid_ble_advert.c @@ -22,7 +22,7 @@ LOG_MODULE_REGISTER(sid_ble_advert, CONFIG_SIDEWALK_BLE_ADAPTER_LOG_LEVEL); #define MS_TO_INTERVAL_VAL(ms) (uint16_t)((ms) / 0.625f) -#define AMA_ADV_OPTIONS (BT_LE_ADV_OPT_CONNECTABLE | BT_LE_ADV_OPT_ONE_TIME) +#define AMA_ADV_OPTIONS (BT_LE_ADV_OPT_CONN) #if 10240 < (CONFIG_SIDEWALK_BLE_ADV_INT_FAST + CONFIG_SIDEWALK_BLE_ADV_INT_PRECISION) #error "Invalid value for CONFIG_SIDEWALK_BLE_ADV_INT_FAST or CONFIG_SIDEWALK_BLE_ADV_INT_PRECISION, sum of those values have to be smaller than 10240" diff --git a/utils/sidewalk_dfu/nordic_dfu.c b/utils/sidewalk_dfu/nordic_dfu.c index f64bff7dc..0743e5c77 100644 --- a/utils/sidewalk_dfu/nordic_dfu.c +++ b/utils/sidewalk_dfu/nordic_dfu.c @@ -34,7 +34,7 @@ static struct k_work exit_dfu = Z_WORK_INITIALIZER(deinit_nordic_dfu); static struct bt_le_adv_param adv_params = { .id = BT_ID_DEFAULT, .sid = 0, .secondary_max_skip = 0, - .options = BT_LE_ADV_OPT_CONNECTABLE, + .options = BT_LE_ADV_OPT_CONN, .interval_min = BT_GAP_ADV_SLOW_INT_MIN, .interval_max = BT_GAP_ADV_SLOW_INT_MAX, .peer = NULL };