-
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.
* Add ids/Events.h * Update generated code
- Loading branch information
1 parent
4650701
commit 2781021
Showing
6 changed files
with
473 additions
and
173 deletions.
There are no files selected for viewing
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,32 @@ | ||
{{> header}} | ||
|
||
#pragma once | ||
|
||
#include <app/util/basic-types.h> | ||
|
||
namespace chip { | ||
namespace app { | ||
namespace Clusters { | ||
|
||
{{#zcl_clusters}} | ||
{{#zcl_events}} | ||
{{#first}} | ||
namespace {{asUpperCamelCase parent.label}} { | ||
namespace Events { | ||
|
||
{{/first}} | ||
namespace {{asUpperCamelCase name}} { | ||
static constexpr EventId Id = {{asMEI manufacturerCode code}}; | ||
} // namespace {{asUpperCamelCase name}} | ||
|
||
{{#last}} | ||
} // namespace Events | ||
} // namespace {{asUpperCamelCase parent.label}} | ||
|
||
{{/last}} | ||
{{/zcl_events}} | ||
{{/zcl_clusters}} | ||
|
||
} // namespace Clusters | ||
} // namespace app | ||
} // namespace chip |
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
Oops, something went wrong.