From 3699205cd395b9baab9bc7025c7bfcfec30d6bc9 Mon Sep 17 00:00:00 2001 From: lpbeliveau-silabs Date: Mon, 13 Feb 2023 10:23:33 -0500 Subject: [PATCH] Restyled .sh file --- scripts/examples/gn_efr32_example.sh | 2 +- src/lib/core/SceneId.h | 66 ---------------------------- 2 files changed, 1 insertion(+), 67 deletions(-) delete mode 100644 src/lib/core/SceneId.h diff --git a/scripts/examples/gn_efr32_example.sh b/scripts/examples/gn_efr32_example.sh index cf2da14bfa8f04..acaa9d94166ce7 100755 --- a/scripts/examples/gn_efr32_example.sh +++ b/scripts/examples/gn_efr32_example.sh @@ -158,7 +158,7 @@ else elif [ "$2" = "SiWx917" ]; then optArgs+="use_SiWx917=true " elif [ "$2" = "wf200" ]; then - optArgs+="use_wf200=true" + optArgs+="use_wf200=true " else echo "Wifi usage: --wifi rs9116|SiWx917|wf200" exit 1 diff --git a/src/lib/core/SceneId.h b/src/lib/core/SceneId.h deleted file mode 100644 index 235c5d961817c7..00000000000000 --- a/src/lib/core/SceneId.h +++ /dev/null @@ -1,66 +0,0 @@ -/* - * - * Copyright (c) 2022 Project CHIP Authors - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#pragma once - -#include -#include - -/** - * @brief Indicates the absence of a Scene table entry. - */ -#define SCENE_TABLE_NULL_INDEX 0xFF -/** - * @brief Value used when setting or getting the endpoint in a Scene table - * entry. It indicates that the entry is not in use. - */ -#define SCENE_TABLE_UNUSED_ENDPOINT_ID 0x00 -/** - * @brief Maximum length of Scene names, not including the length byte. - */ -#define ZCL_SCENES_CLUSTER_MAXIMUM_NAME_LENGTH 16 -/** - * @brief The group identifier for the global scene. - */ -#define ZCL_SCENES_GLOBAL_SCENE_GROUP_ID 0x0000 -/** - * @brief The scene identifier for the global scene. - */ -#define ZCL_SCENES_GLOBAL_SCENE_SCENE_ID 0x00 - -/** - * @brief The maximum number of scenes according to spec - */ -#define SCENE_MAX_NUMBER 16 - -/** - * @brief The maximum number of scenes allowed on a single fabric - */ -#define SCENE_MAX_PER_FABRIC (SCENE_MAX_NUMBER / 2) - -namespace chip { - -typedef GroupId SceneGroupID; -typedef uint8_t SceneId; -typedef uint16_t SceneTransitionTime; -typedef uint8_t TransitionTime100ms; - -constexpr SceneGroupID kGlobalGroupSceneId = ZCL_SCENES_GLOBAL_SCENE_GROUP_ID; -constexpr SceneId kUndefinedSceneId = SCENE_TABLE_NULL_INDEX; -constexpr SceneId kUnusedEndpointId = SCENE_TABLE_UNUSED_ENDPOINT_ID; - -} // namespace chip