Skip to content

Commit

Permalink
samples: update ble configuration
Browse files Browse the repository at this point in the history
Symbsld changed in nrf upmerge
nrfconnect/sdk-nrf#19720

Signed-off-by: Krzysztof Taborowski <[email protected]>
  • Loading branch information
ktaborowski committed Jan 20, 2025
1 parent 9409bef commit 2f6e9d4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion subsys/sal/sid_pal/src/sid_ble_advert.c
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion utils/sidewalk_dfu/nordic_dfu.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 };
Expand Down

0 comments on commit 2f6e9d4

Please sign in to comment.