Skip to content

Commit 536f907

Browse files
committed
Docs: Add some links to cluster dev docs
1 parent 13622a3 commit 536f907

File tree

1 file changed

+8
-5
lines changed

1 file changed

+8
-5
lines changed

docs/cluster_and_device_type_dev/cluster_and_device_type_dev.md

+8-5
Original file line numberDiff line numberDiff line change
@@ -16,22 +16,25 @@ types in the SDK.
1616
- XML
1717
- Describes the structures, enums, attributes, commands, events etc.
1818
- 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)
2020
- Cluster Implementation
2121

2222
- Client side - codegen, you write the glue
2323
- 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)
2527
- 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)
2730
- build file uses data from the codegen to auto-populate the cluster
2831
list.
2932
- Follow examples in there to get your code building into the image
3033
when selected in zap
3134

3235
- Device Type Definitions
3336
- 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)
3538

3639
The following wiki page has a detailed description of how and where to add
3740
cluster and device type definitions so they are picked up properly by ZAP/ember
@@ -208,7 +211,7 @@ be used across examples
208211

209212
##### Command Handler Code
210213

211-
- CommandHandlerInterface
214+
- [CommandHandlerInterface](https://github.com/project-chip/connectedhomeip/blob/master/src/app/CommandHandlerInterface.h)
212215
- Can use HandleCommand function for convenience (sets handled)
213216
- If not, need to set whether the command was handled
214217
- if no, falls through to ember by default

0 commit comments

Comments
 (0)