Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions device/src/state_sync.c
Original file line number Diff line number Diff line change
Expand Up @@ -574,6 +574,11 @@ void StateSync_ReceiveStateUpdate(device_id_t src, const uint8_t *data, uint8_t
ATTR_UNUSED message_id_t messageId = *(data++);
ATTR_UNUSED state_sync_prop_id_t propId = *(data++);

if (propId >= StateSyncPropertyId_Count) {
LOG_WRN("Ignoring unknown state sync property id %d from %s", propId, Utils_DeviceIdToString(src));
return;
}

receiveProperty(src, propId, data, len - 2);
}

Expand Down
Loading