From 548588662db8977637c58646b011c084e94fd469 Mon Sep 17 00:00:00 2001 From: Boris Zbarsky Date: Thu, 4 Nov 2021 18:03:41 -0400 Subject: [PATCH] Update ZAP to fix attribute default endian-ness. (#11451) The default values were broken for little-endian. --- third_party/zap/repo | 2 +- .../all-clusters-app/zap-generated/endpoint_config.h | 4 ++-- zzz_generated/thermostat/zap-generated/endpoint_config.h | 2 +- zzz_generated/tv-app/zap-generated/endpoint_config.h | 2 +- zzz_generated/tv-casting-app/zap-generated/endpoint_config.h | 2 +- zzz_generated/window-app/zap-generated/endpoint_config.h | 4 ++-- 6 files changed, 8 insertions(+), 8 deletions(-) diff --git a/third_party/zap/repo b/third_party/zap/repo index a1450aaaba37be..98b43b32758cbf 160000 --- a/third_party/zap/repo +++ b/third_party/zap/repo @@ -1 +1 @@ -Subproject commit a1450aaaba37be97fc3b53b7ba387e34cb96d986 +Subproject commit 98b43b32758cbfd8f643ef0a365cab9e0d9dcfde diff --git a/zzz_generated/all-clusters-app/zap-generated/endpoint_config.h b/zzz_generated/all-clusters-app/zap-generated/endpoint_config.h index 5ec0328ffa99d3..fff1319ed8f4fd 100644 --- a/zzz_generated/all-clusters-app/zap-generated/endpoint_config.h +++ b/zzz_generated/all-clusters-app/zap-generated/endpoint_config.h @@ -1450,7 +1450,7 @@ /* Endpoint: 1, Cluster: Thermostat (server), little-endian */ \ \ /* 3557 - FeatureMap, */ \ - 0x00, 0x00, 0x00, 0x0B, \ + 0x0B, 0x00, 0x00, 0x00, \ \ /* Endpoint: 1, Cluster: Color Control (server), little-endian */ \ \ @@ -1528,7 +1528,7 @@ /* Endpoint: 1, Cluster: Media Playback (server), little-endian */ \ \ /* 4431 - start time, */ \ - 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFF, \ + 0xFF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ \ /* 4439 - duration, */ \ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ diff --git a/zzz_generated/thermostat/zap-generated/endpoint_config.h b/zzz_generated/thermostat/zap-generated/endpoint_config.h index da50ccafa3322f..e4c34443529e71 100644 --- a/zzz_generated/thermostat/zap-generated/endpoint_config.h +++ b/zzz_generated/thermostat/zap-generated/endpoint_config.h @@ -824,7 +824,7 @@ /* Endpoint: 1, Cluster: Thermostat (server), little-endian */ \ \ /* 2526 - FeatureMap, */ \ - 0x00, 0x00, 0x00, 0x0B, \ + 0x0B, 0x00, 0x00, 0x00, \ } #endif // BIGENDIAN_CPU diff --git a/zzz_generated/tv-app/zap-generated/endpoint_config.h b/zzz_generated/tv-app/zap-generated/endpoint_config.h index 6dabcea352081b..660417520396e9 100644 --- a/zzz_generated/tv-app/zap-generated/endpoint_config.h +++ b/zzz_generated/tv-app/zap-generated/endpoint_config.h @@ -1164,7 +1164,7 @@ /* Endpoint: 3, Cluster: Media Playback (server), little-endian */ \ \ /* 4167 - start time, */ \ - 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFF, \ + 0xFF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ \ /* 4175 - duration, */ \ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ diff --git a/zzz_generated/tv-casting-app/zap-generated/endpoint_config.h b/zzz_generated/tv-casting-app/zap-generated/endpoint_config.h index 6a8f6d3a8fa039..53be74d0454a54 100644 --- a/zzz_generated/tv-casting-app/zap-generated/endpoint_config.h +++ b/zzz_generated/tv-casting-app/zap-generated/endpoint_config.h @@ -1242,7 +1242,7 @@ /* Endpoint: 1, Cluster: Thermostat (server), little-endian */ \ \ /* 3406 - FeatureMap, */ \ - 0x00, 0x00, 0x00, 0x0B, \ + 0x0B, 0x00, 0x00, 0x00, \ \ /* Endpoint: 1, Cluster: Color Control (server), little-endian */ \ \ diff --git a/zzz_generated/window-app/zap-generated/endpoint_config.h b/zzz_generated/window-app/zap-generated/endpoint_config.h index 9afe49c8ecaf52..f1c01393f0180e 100644 --- a/zzz_generated/window-app/zap-generated/endpoint_config.h +++ b/zzz_generated/window-app/zap-generated/endpoint_config.h @@ -631,12 +631,12 @@ /* Endpoint: 1, Cluster: Window Covering (server), little-endian */ \ \ /* 1377 - FeatureMap, */ \ - 0x00, 0x00, 0x00, 0x01, \ + 0x01, 0x00, 0x00, 0x00, \ \ /* Endpoint: 2, Cluster: Window Covering (server), little-endian */ \ \ /* 1381 - FeatureMap, */ \ - 0x00, 0x00, 0x00, 0x01, \ + 0x01, 0x00, 0x00, 0x00, \ } #endif // BIGENDIAN_CPU