diff --git a/applications/zpc/components/zcl_cluster_servers/src/zcl_OTA_cluster_server.cpp b/applications/zpc/components/zcl_cluster_servers/src/zcl_OTA_cluster_server.cpp index fe277e8dbd..45464f51d4 100644 --- a/applications/zpc/components/zcl_cluster_servers/src/zcl_OTA_cluster_server.cpp +++ b/applications/zpc/components/zcl_cluster_servers/src/zcl_OTA_cluster_server.cpp @@ -120,9 +120,9 @@ static sl_status_t get_target_info(attribute fw_target, = zw_node.child_by_type_and_value(ATTRIBUTE_ENDPOINT_ID, 0); attribute manufacturer_id = ep0_node.child_by_type(ATTRIBUTE_MANUFACTURER_SPECIFIC_MANUFACTURER_ID); - attribute product_id - = ep0_node.child_by_type(ATTRIBUTE_MANUFACTURER_SPECIFIC_PRODUCT_TYPE_ID); attribute product_type_id + = ep0_node.child_by_type(ATTRIBUTE_MANUFACTURER_SPECIFIC_PRODUCT_TYPE_ID); + attribute product_id = ep0_node.child_by_type(ATTRIBUTE_MANUFACTURER_SPECIFIC_PRODUCT_ID); attribute version_report_node = ep0_node.child_by_type(ATTRIBUTE_CC_VERSION_VERSION_REPORT_DATA); diff --git a/applications/zpc/components/zcl_cluster_servers/test/zcl_OTA_cluster_server_test.cpp b/applications/zpc/components/zcl_cluster_servers/test/zcl_OTA_cluster_server_test.cpp index 75fb197257..252c5732f7 100644 --- a/applications/zpc/components/zcl_cluster_servers/test/zcl_OTA_cluster_server_test.cpp +++ b/applications/zpc/components/zcl_cluster_servers/test/zcl_OTA_cluster_server_test.cpp @@ -68,8 +68,8 @@ void suiteSetUp() n5ep0.emplace_node(ATTRIBUTE_MANUFACTURER_SPECIFIC_MANUFACTURER_ID, 0); n5ep0.emplace_node(ATTRIBUTE_MANUFACTURER_SPECIFIC_PRODUCT_TYPE_ID, - 42); - n5ep0.emplace_node(ATTRIBUTE_MANUFACTURER_SPECIFIC_PRODUCT_ID, 1); + 1); + n5ep0.emplace_node(ATTRIBUTE_MANUFACTURER_SPECIFIC_PRODUCT_ID, 42); n5ep0.emplace_node(ATTRIBUTE_CC_VERSION_VERSION_REPORT_DATA, 1) .emplace_node(ATTRIBUTE_CC_VERSION_FIRMWARE, 0x1)