File tree 3 files changed +15
-2
lines changed
config/esp32/components/chip
3 files changed +15
-2
lines changed Original file line number Diff line number Diff line change @@ -185,6 +185,12 @@ if ((CONFIG_BT_ENABLED) AND (CONFIG_ENABLE_CHIPOBLE))
185
185
endif ()
186
186
endif ()
187
187
188
+ if (CONFIG_ENABLE_PERSIST_SUBSCRIPTIONS)
189
+ chip_gn_arg_append("chip_persist_subscriptions" "true" )
190
+ else ()
191
+ chip_gn_arg_append("chip_persist_subscriptions" "false" )
192
+ endif ()
193
+
188
194
if (CONFIG_ENABLE_ESP32_BLE_CONTROLLER)
189
195
chip_gn_arg_append("chip_enable_ble_controller" "true" )
190
196
endif ()
Original file line number Diff line number Diff line change @@ -114,6 +114,13 @@ menu "CHIP Core"
114
114
help
115
115
Some device types don't require the read client. Enabling this option may save some flash/ram.
116
116
117
+ config ENABLE_PERSIST_SUBSCRIPTIONS
118
+ bool "Enable persist subscriptions"
119
+ default y
120
+ help
121
+ Enable persist subscriptions to make the device resume the subscriptions from the persist
122
+ subscriptions information after reboot.
123
+
117
124
config BUILD_CHIP_TESTS
118
125
bool "Build CHIP tests"
119
126
default n
Original file line number Diff line number Diff line change @@ -103,8 +103,8 @@ declare_args() {
103
103
104
104
# Enable Subscription persistence / resumption for CI and supported platforms
105
105
if (chip_device_platform == " darwin" || chip_device_platform == " linux" ||
106
- chip_device_platform == " esp32 " || chip_device_platform == " fake " ||
107
- chip_device_platform == " efr32 " || chip_device_platform == " SiWx917" ) {
106
+ chip_device_platform == " fake " || chip_device_platform == " efr32 " ||
107
+ chip_device_platform == " SiWx917" ) {
108
108
chip_persist_subscriptions = true
109
109
} else {
110
110
chip_persist_subscriptions = false
You can’t perform that action at this time.
0 commit comments