@@ -16,22 +16,25 @@ types in the SDK.
16
16
- XML
17
17
- Describes the structures, enums, attributes, commands, events etc.
18
18
- Direct translation of the spec into code
19
- - src/app/zap-templates/zcl/data-model/chip/
19
+ - [ src/app/zap-templates/zcl/data-model/chip/] ( https://github.com/project-chip/connectedhomeip/tree/master/src/app/zap-templates/zcl/data-model/chip )
20
20
- Cluster Implementation
21
21
22
22
- Client side - codegen, you write the glue
23
23
- Server side - cpp implementation through Ember and / or
24
- AttributeAccessInterface & CommandHandlerInterface
24
+ [ AttributeAccessInterface] ( https://github.com/project-chip/connectedhomeip/blob/master/src/app/AttributeAccessInterface.h )
25
+ and
26
+ [ CommandHandlerInterface] ( https://github.com/project-chip/connectedhomeip/blob/master/src/app/CommandHandlerInterface.h )
25
27
- src/app/clusters/<your_cluster_name>
26
- - build file: src/app/chip_data_model.gni
28
+ - build file:
29
+ [ src/app/chip_data_model.gni] ( https://github.com/project-chip/connectedhomeip/blob/master/src/app/chip_data_model.gni )
27
30
- build file uses data from the codegen to auto-populate the cluster
28
31
list.
29
32
- Follow examples in there to get your code building into the image
30
33
when selected in zap
31
34
32
35
- Device Type Definitions
33
36
- XML defines conformance
34
- - src/app/zap-templates/zcl/data-model/chip/matter-devices.xml
37
+ - [ src/app/zap-templates/zcl/data-model/chip/matter-devices.xml] ( https://github.com/project-chip/connectedhomeip/blob/master/src/app/zap-templates/zcl/data-model/chip/matter-devices.xml )
35
38
36
39
The following wiki page has a detailed description of how and where to add
37
40
cluster and device type definitions so they are picked up properly by ZAP/ember
@@ -208,7 +211,7 @@ be used across examples
208
211
209
212
##### Command Handler Code
210
213
211
- - CommandHandlerInterface
214
+ - [ CommandHandlerInterface] ( https://github.com/project-chip/connectedhomeip/blob/master/src/app/CommandHandlerInterface.h )
212
215
- Can use HandleCommand function for convenience (sets handled)
213
216
- If not, need to set whether the command was handled
214
217
- if no, falls through to ember by default
0 commit comments