From b137f3feb4c435eb9a0021abb2e589049a2d47d4 Mon Sep 17 00:00:00 2001 From: Philippe Coval Date: Thu, 9 Nov 2023 11:09:02 +0100 Subject: [PATCH 1/2] GH-14: Enable testing by default More to be tested Bug-SiliconLabs: UIC-3082 Bug-GitHub: https://github.com/rzr/UnifySDK/issues/3 Origin: https://github.com/rzr/UnifySDK/tree/GH-14/UIC-3082/phcoval/main Forwarded: https://github.com/SiliconLabs/UnifySDK/pull/26 Signed-off-by: Philippe Coval --- helper.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/helper.mk b/helper.mk index 6487374ba0..2c930c08c7 100755 --- a/helper.mk +++ b/helper.mk @@ -156,7 +156,7 @@ zpc/build: zpc/configure build zpc/test: ${build_dir}/applications/zpc/components/zwave_command_classes/test/ ctest --test-dir ${<} -zpc/default: zpc/configure zpc/build +zpc/default: zpc/configure zpc/build zpc/test @date -u ### @rootfs is faster than docker for env check From 14d11c09406723b4bcd5f2154463706ee1f362e1 Mon Sep 17 00:00:00 2001 From: Nenad Kljajic Date: Tue, 28 Nov 2023 08:40:35 +0100 Subject: [PATCH 2/2] GH-21: Fix COMMAND_CLASS_VERSION value for Rust components Fix a mismatch between value in Rust and value defined in C header: zpc_attribute_store/include/attribute_store_defined_attribute_types.h Signed-off-by: Nenad Kljajic --- .../firmware_update_definitions.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/applications/zpc/components/zpc_rust/src/rust_command_handlers/zwave_command_classes/zwave_command_class_firmware_update/firmware_update_definitions.rs b/applications/zpc/components/zpc_rust/src/rust_command_handlers/zwave_command_classes/zwave_command_class_firmware_update/firmware_update_definitions.rs index f6f9b2084f..4b8fca2cab 100644 --- a/applications/zpc/components/zpc_rust/src/rust_command_handlers/zwave_command_classes/zwave_command_class_firmware_update/firmware_update_definitions.rs +++ b/applications/zpc/components/zpc_rust/src/rust_command_handlers/zwave_command_classes/zwave_command_class_firmware_update/firmware_update_definitions.rs @@ -674,7 +674,7 @@ DEFINE_ATTRIBUTE!( ); DEFINE_ATTRIBUTE!( ATTRIBUTE_CC_VERSION_HARDWARE_VERSION, - ((COMMAND_CLASS_VERSION << 8) | 0x0E) + ((COMMAND_CLASS_VERSION << 8) | 0x0F) ); DEFINE_ATTRIBUTE!(