Skip to content

Commit

Permalink
enable peristent subs by default (#27222)
Browse files Browse the repository at this point in the history
  • Loading branch information
mkardous-silabs authored and pull[bot] committed Oct 10, 2023
1 parent f439e8d commit 1290757
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
3 changes: 0 additions & 3 deletions examples/platform/silabs/efr32/BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,6 @@ declare_args() {
chip_config_use_icd_subscription_callbacks = enable_sleepy_device
}

# Use persitent subscriptions for IC devices
chip_persist_subscriptions = enable_sleepy_device

silabs_common_plat_dir = "${chip_root}/examples/platform/silabs"

import("${silabs_common_plat_dir}/args.gni")
Expand Down
3 changes: 2 additions & 1 deletion src/platform/device.gni
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,8 @@ declare_args() {

# Enable Subscription persistence / resumption for CI and supported platforms
if (chip_device_platform == "darwin" || chip_device_platform == "linux" ||
chip_device_platform == "esp32" || chip_device_platform == "fake") {
chip_device_platform == "esp32" || chip_device_platform == "fake" ||
chip_device_platform == "efr32" || chip_device_platform == "SiWx917") {
chip_persist_subscriptions = true
} else {
chip_persist_subscriptions = false
Expand Down

0 comments on commit 1290757

Please sign in to comment.