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 @@ -130,6 +130,13 @@ menu "CHIP Core"
130
130
help
131
131
Some device types don't require the read client. Enabling this option may save some flash/ram.
132
132
133
+ config ENABLE_PERSIST_SUBSCRIPTIONS
134
+ bool "Enable persist subscriptions"
135
+ default y
136
+ help
137
+ Enable persist subscriptions to make the device resume the subscriptions from the persist
138
+ subscriptions information after reboot.
139
+
133
140
config BUILD_CHIP_TESTS
134
141
bool "Build CHIP tests"
135
142
default n
Original file line number Diff line number Diff line change @@ -108,8 +108,8 @@ declare_args() {
108
108
109
109
# Enable Subscription persistence / resumption for CI and supported platforms
110
110
if (chip_device_platform == " darwin" || chip_device_platform == " linux" ||
111
- chip_device_platform == " esp32 " || chip_device_platform == " fake " ||
112
- chip_device_platform == " efr32 " || chip_device_platform == " SiWx917" ) {
111
+ chip_device_platform == " fake " || chip_device_platform == " efr32 " ||
112
+ chip_device_platform == " SiWx917" ) {
113
113
chip_persist_subscriptions = true
114
114
} else {
115
115
chip_persist_subscriptions = false
You can’t perform that action at this time.
0 commit comments