-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove door lock cluster from all-clusters-app (#29802)
* Remove door lock cluster from all-clusters-app Both QA and the CI are using the door-lock app for all testing of the door lock cluster. The all-clusters version is not well tested, and is missing some command handlers. Removing this in all-clusters in favour of the door lock app so we don't have to maintain it in two places and to save some space. * Fix esp32 build file * Remove door lock support for esp32 * Remove door lock support from telink * Remove door lock support for nrfconnect * Fix esp32 compilation * Restyle --------- Co-authored-by: Andrei Litvin <[email protected]>
- Loading branch information
1 parent
a010ae4
commit 57f0a73
Showing
12 changed files
with
56 additions
and
1,367 deletions.
There are no files selected for viewing
600 changes: 0 additions & 600 deletions
600
examples/all-clusters-app/all-clusters-common/all-clusters-app.matter
Large diffs are not rendered by default.
Oops, something went wrong.
682 changes: 0 additions & 682 deletions
682
examples/all-clusters-app/all-clusters-common/all-clusters-app.zap
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
/* | ||
* | ||
* Copyright (c) 2022 Project CHIP Authors | ||
* All rights reserved. | ||
* | ||
* 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 "esp_system.h" | ||
|
||
struct AppEvent; | ||
typedef void (*EventHandler)(AppEvent *); | ||
|
||
struct AppEvent | ||
{ | ||
enum AppEventTypes | ||
{ | ||
kEventType_Button = 0, | ||
kEventType_Timer, | ||
kEventType_Light, | ||
kEventType_Install, | ||
}; | ||
|
||
uint16_t mType; | ||
|
||
union | ||
{ | ||
struct | ||
{ | ||
uint8_t mPinNo; | ||
uint8_t mAction; | ||
} mButtonEvent; | ||
struct | ||
{ | ||
void * mContext; | ||
} mTimerEvent; | ||
}; | ||
|
||
EventHandler mHandler; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters