Skip to content

Commit 68fd3c4

Browse files
committed
SQUASHME: Since the sync flag has been set to true for all device properties to let OTA work we need to add the onSync rule also to thing_id property.
1 parent 566accb commit 68fd3c4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ArduinoIoTCloudTCP.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -261,7 +261,7 @@ int ArduinoIoTCloudTCP::begin(bool const enable_watchdog, String brokerAddress,
261261

262262
addPropertyReal(_tz_offset, _thing_property_container, "tz_offset", Permission::ReadWrite).onSync(CLOUD_WINS).onUpdate(updateTimezoneInfo);
263263
addPropertyReal(_tz_dst_until, _thing_property_container, "tz_dst_until", Permission::ReadWrite).onSync(CLOUD_WINS).onUpdate(updateTimezoneInfo);
264-
addPropertyReal(_thing_id, _device_property_container, "thing_id", Permission::ReadWrite).onUpdate(setThingIdOutdated);
264+
addPropertyReal(_thing_id, _device_property_container, "thing_id", Permission::ReadWrite).onSync(CLOUD_WINS).onUpdate(setThingIdOutdated);
265265

266266
#if OTA_STORAGE_PORTENTA_QSPI
267267
#define BOOTLOADER_ADDR (0x8000000)

0 commit comments

Comments
 (0)