Skip to content

Commit b5b0b78

Browse files
Adam-Maciuganordicjm
authored andcommitted
samples: matter: manuanufacturer_specific: enable descriptor on endpoint 1
enabled descriptor cluster on endpoint 1 Signed-off-by: Adam Maciuga <adam.maciuga@nordicsemi.no>
1 parent 9d983ae commit b5b0b78

4 files changed

Lines changed: 459 additions & 287 deletions

File tree

samples/matter/manufacturer_specific/src/default_zap/manufacturer_specific.matter

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1688,6 +1688,19 @@ endpoint 1 {
16881688
device type nordic_dev_kit = 4293984257, version 1;
16891689

16901690

1691+
server cluster Descriptor {
1692+
callback attribute deviceTypeList;
1693+
callback attribute serverList;
1694+
callback attribute clientList;
1695+
callback attribute partsList;
1696+
callback attribute endpointUniqueID;
1697+
callback attribute generatedCommandList;
1698+
callback attribute acceptedCommandList;
1699+
callback attribute attributeList;
1700+
callback attribute featureMap;
1701+
callback attribute clusterRevision;
1702+
}
1703+
16911704
server cluster NordicDevKit {
16921705
emits event UserButtonChanged;
16931706
callback attribute generatedCommandList;

samples/matter/manufacturer_specific/src/default_zap/manufacturer_specific.zap

Lines changed: 170 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2534,6 +2534,176 @@
25342534
"deviceTypeCode": 4293984257,
25352535
"deviceTypeProfileId": 66562,
25362536
"clusters": [
2537+
{
2538+
"name": "Descriptor",
2539+
"code": 29,
2540+
"mfgCode": null,
2541+
"define": "DESCRIPTOR_CLUSTER",
2542+
"side": "server",
2543+
"enabled": 1,
2544+
"attributes": [
2545+
{
2546+
"name": "DeviceTypeList",
2547+
"code": 0,
2548+
"mfgCode": null,
2549+
"side": "server",
2550+
"type": "array",
2551+
"included": 1,
2552+
"storageOption": "External",
2553+
"singleton": 0,
2554+
"bounded": 0,
2555+
"defaultValue": "",
2556+
"reportable": 1,
2557+
"minInterval": 1,
2558+
"maxInterval": 65534,
2559+
"reportableChange": 0
2560+
},
2561+
{
2562+
"name": "ServerList",
2563+
"code": 1,
2564+
"mfgCode": null,
2565+
"side": "server",
2566+
"type": "array",
2567+
"included": 1,
2568+
"storageOption": "External",
2569+
"singleton": 0,
2570+
"bounded": 0,
2571+
"defaultValue": "",
2572+
"reportable": 1,
2573+
"minInterval": 1,
2574+
"maxInterval": 65534,
2575+
"reportableChange": 0
2576+
},
2577+
{
2578+
"name": "ClientList",
2579+
"code": 2,
2580+
"mfgCode": null,
2581+
"side": "server",
2582+
"type": "array",
2583+
"included": 1,
2584+
"storageOption": "External",
2585+
"singleton": 0,
2586+
"bounded": 0,
2587+
"defaultValue": "",
2588+
"reportable": 1,
2589+
"minInterval": 1,
2590+
"maxInterval": 65534,
2591+
"reportableChange": 0
2592+
},
2593+
{
2594+
"name": "PartsList",
2595+
"code": 3,
2596+
"mfgCode": null,
2597+
"side": "server",
2598+
"type": "array",
2599+
"included": 1,
2600+
"storageOption": "External",
2601+
"singleton": 0,
2602+
"bounded": 0,
2603+
"defaultValue": "",
2604+
"reportable": 1,
2605+
"minInterval": 1,
2606+
"maxInterval": 65534,
2607+
"reportableChange": 0
2608+
},
2609+
{
2610+
"name": "EndpointUniqueID",
2611+
"code": 5,
2612+
"mfgCode": null,
2613+
"side": "server",
2614+
"type": "char_string",
2615+
"included": 1,
2616+
"storageOption": "External",
2617+
"singleton": 0,
2618+
"bounded": 0,
2619+
"defaultValue": "",
2620+
"reportable": 1,
2621+
"minInterval": 1,
2622+
"maxInterval": 65534,
2623+
"reportableChange": 0
2624+
},
2625+
{
2626+
"name": "GeneratedCommandList",
2627+
"code": 65528,
2628+
"mfgCode": null,
2629+
"side": "server",
2630+
"type": "array",
2631+
"included": 1,
2632+
"storageOption": "External",
2633+
"singleton": 0,
2634+
"bounded": 0,
2635+
"defaultValue": "",
2636+
"reportable": 1,
2637+
"minInterval": 1,
2638+
"maxInterval": 65534,
2639+
"reportableChange": 0
2640+
},
2641+
{
2642+
"name": "AcceptedCommandList",
2643+
"code": 65529,
2644+
"mfgCode": null,
2645+
"side": "server",
2646+
"type": "array",
2647+
"included": 1,
2648+
"storageOption": "External",
2649+
"singleton": 0,
2650+
"bounded": 0,
2651+
"defaultValue": "",
2652+
"reportable": 1,
2653+
"minInterval": 1,
2654+
"maxInterval": 65534,
2655+
"reportableChange": 0
2656+
},
2657+
{
2658+
"name": "AttributeList",
2659+
"code": 65531,
2660+
"mfgCode": null,
2661+
"side": "server",
2662+
"type": "array",
2663+
"included": 1,
2664+
"storageOption": "External",
2665+
"singleton": 0,
2666+
"bounded": 0,
2667+
"defaultValue": "",
2668+
"reportable": 1,
2669+
"minInterval": 1,
2670+
"maxInterval": 65534,
2671+
"reportableChange": 0
2672+
},
2673+
{
2674+
"name": "FeatureMap",
2675+
"code": 65532,
2676+
"mfgCode": null,
2677+
"side": "server",
2678+
"type": "bitmap32",
2679+
"included": 1,
2680+
"storageOption": "External",
2681+
"singleton": 0,
2682+
"bounded": 0,
2683+
"defaultValue": "",
2684+
"reportable": 1,
2685+
"minInterval": 1,
2686+
"maxInterval": 65534,
2687+
"reportableChange": 0
2688+
},
2689+
{
2690+
"name": "ClusterRevision",
2691+
"code": 65533,
2692+
"mfgCode": null,
2693+
"side": "server",
2694+
"type": "int16u",
2695+
"included": 1,
2696+
"storageOption": "External",
2697+
"singleton": 0,
2698+
"bounded": 0,
2699+
"defaultValue": "",
2700+
"reportable": 1,
2701+
"minInterval": 1,
2702+
"maxInterval": 65534,
2703+
"reportableChange": 0
2704+
}
2705+
]
2706+
},
25372707
{
25382708
"name": "NordicDevKit",
25392709
"code": 4294048769,

0 commit comments

Comments
 (0)