Skip to content

Commit c452731

Browse files
committed
Update TV & TV Casting App ZAPs
1 parent 2823126 commit c452731

File tree

2 files changed

+251
-12
lines changed

2 files changed

+251
-12
lines changed

examples/tv-app/tv-common/tv-app.zap

+185-6
Original file line numberDiff line numberDiff line change
@@ -17,19 +17,19 @@
1717
}
1818
],
1919
"package": [
20+
{
21+
"pathRelativity": "relativeToZap",
22+
"path": "../../../src/app/zap-templates/app-templates.json",
23+
"type": "gen-templates-json",
24+
"version": "chip-v1"
25+
},
2026
{
2127
"pathRelativity": "relativeToZap",
2228
"path": "../../../src/app/zap-templates/zcl/zcl.json",
2329
"type": "zcl-properties",
2430
"category": "matter",
2531
"version": 1,
2632
"description": "Matter SDK ZCL data"
27-
},
28-
{
29-
"pathRelativity": "relativeToZap",
30-
"path": "../../../src/app/zap-templates/app-templates.json",
31-
"type": "gen-templates-json",
32-
"version": "chip-v1"
3333
}
3434
],
3535
"endpointTypes": [
@@ -4691,6 +4691,185 @@
46914691
}
46924692
]
46934693
},
4694+
{
4695+
"name": "Messages",
4696+
"code": 151,
4697+
"mfgCode": null,
4698+
"define": "MESSAGES_CLUSTER",
4699+
"side": "server",
4700+
"enabled": 1,
4701+
"commands": [
4702+
{
4703+
"name": "PresentMessagesRequest",
4704+
"code": 0,
4705+
"mfgCode": null,
4706+
"source": "client",
4707+
"isIncoming": 1,
4708+
"isEnabled": 1
4709+
},
4710+
{
4711+
"name": "CancelMessagesRequest",
4712+
"code": 1,
4713+
"mfgCode": null,
4714+
"source": "client",
4715+
"isIncoming": 1,
4716+
"isEnabled": 1
4717+
}
4718+
],
4719+
"attributes": [
4720+
{
4721+
"name": "Messages",
4722+
"code": 0,
4723+
"mfgCode": null,
4724+
"side": "server",
4725+
"type": "array",
4726+
"included": 1,
4727+
"storageOption": "External",
4728+
"singleton": 0,
4729+
"bounded": 0,
4730+
"defaultValue": "",
4731+
"reportable": 1,
4732+
"minInterval": 1,
4733+
"maxInterval": 65534,
4734+
"reportableChange": 0
4735+
},
4736+
{
4737+
"name": "ActiveMessageIDs",
4738+
"code": 1,
4739+
"mfgCode": null,
4740+
"side": "server",
4741+
"type": "array",
4742+
"included": 1,
4743+
"storageOption": "External",
4744+
"singleton": 0,
4745+
"bounded": 0,
4746+
"defaultValue": "",
4747+
"reportable": 1,
4748+
"minInterval": 1,
4749+
"maxInterval": 65534,
4750+
"reportableChange": 0
4751+
},
4752+
{
4753+
"name": "GeneratedCommandList",
4754+
"code": 65528,
4755+
"mfgCode": null,
4756+
"side": "server",
4757+
"type": "array",
4758+
"included": 1,
4759+
"storageOption": "External",
4760+
"singleton": 0,
4761+
"bounded": 0,
4762+
"defaultValue": "",
4763+
"reportable": 1,
4764+
"minInterval": 1,
4765+
"maxInterval": 65534,
4766+
"reportableChange": 0
4767+
},
4768+
{
4769+
"name": "AcceptedCommandList",
4770+
"code": 65529,
4771+
"mfgCode": null,
4772+
"side": "server",
4773+
"type": "array",
4774+
"included": 1,
4775+
"storageOption": "External",
4776+
"singleton": 0,
4777+
"bounded": 0,
4778+
"defaultValue": "",
4779+
"reportable": 1,
4780+
"minInterval": 1,
4781+
"maxInterval": 65534,
4782+
"reportableChange": 0
4783+
},
4784+
{
4785+
"name": "EventList",
4786+
"code": 65530,
4787+
"mfgCode": null,
4788+
"side": "server",
4789+
"type": "array",
4790+
"included": 1,
4791+
"storageOption": "External",
4792+
"singleton": 0,
4793+
"bounded": 0,
4794+
"defaultValue": "",
4795+
"reportable": 1,
4796+
"minInterval": 1,
4797+
"maxInterval": 65534,
4798+
"reportableChange": 0
4799+
},
4800+
{
4801+
"name": "AttributeList",
4802+
"code": 65531,
4803+
"mfgCode": null,
4804+
"side": "server",
4805+
"type": "array",
4806+
"included": 1,
4807+
"storageOption": "External",
4808+
"singleton": 0,
4809+
"bounded": 0,
4810+
"defaultValue": "",
4811+
"reportable": 1,
4812+
"minInterval": 1,
4813+
"maxInterval": 65534,
4814+
"reportableChange": 0
4815+
},
4816+
{
4817+
"name": "FeatureMap",
4818+
"code": 65532,
4819+
"mfgCode": null,
4820+
"side": "server",
4821+
"type": "bitmap32",
4822+
"included": 1,
4823+
"storageOption": "RAM",
4824+
"singleton": 0,
4825+
"bounded": 0,
4826+
"defaultValue": "0",
4827+
"reportable": 1,
4828+
"minInterval": 1,
4829+
"maxInterval": 65534,
4830+
"reportableChange": 0
4831+
},
4832+
{
4833+
"name": "ClusterRevision",
4834+
"code": 65533,
4835+
"mfgCode": null,
4836+
"side": "server",
4837+
"type": "int16u",
4838+
"included": 1,
4839+
"storageOption": "RAM",
4840+
"singleton": 0,
4841+
"bounded": 0,
4842+
"defaultValue": "3",
4843+
"reportable": 1,
4844+
"minInterval": 1,
4845+
"maxInterval": 65534,
4846+
"reportableChange": 0
4847+
}
4848+
],
4849+
"events": [
4850+
{
4851+
"name": "MessageQueued",
4852+
"code": 0,
4853+
"mfgCode": null,
4854+
"side": "server",
4855+
"included": 1
4856+
},
4857+
{
4858+
"name": "MessagePresented",
4859+
"code": 1,
4860+
"mfgCode": null,
4861+
"side": "server",
4862+
"included": 1
4863+
},
4864+
{
4865+
"name": "MessageComplete",
4866+
"code": 2,
4867+
"mfgCode": null,
4868+
"side": "server",
4869+
"included": 1
4870+
}
4871+
]
4872+
},
46944873
{
46954874
"name": "Wake on LAN",
46964875
"code": 1283,

examples/tv-casting-app/tv-casting-common/tv-casting-app.zap

+66-6
Original file line numberDiff line numberDiff line change
@@ -17,19 +17,19 @@
1717
}
1818
],
1919
"package": [
20+
{
21+
"pathRelativity": "relativeToZap",
22+
"path": "../../../src/app/zap-templates/app-templates.json",
23+
"type": "gen-templates-json",
24+
"version": "chip-v1"
25+
},
2026
{
2127
"pathRelativity": "relativeToZap",
2228
"path": "../../../src/app/zap-templates/zcl/zcl.json",
2329
"type": "zcl-properties",
2430
"category": "matter",
2531
"version": 1,
2632
"description": "Matter SDK ZCL data"
27-
},
28-
{
29-
"pathRelativity": "relativeToZap",
30-
"path": "../../../src/app/zap-templates/app-templates.json",
31-
"type": "gen-templates-json",
32-
"version": "chip-v1"
3333
}
3434
],
3535
"endpointTypes": [
@@ -3585,6 +3585,66 @@
35853585
}
35863586
]
35873587
},
3588+
{
3589+
"name": "Messages",
3590+
"code": 151,
3591+
"mfgCode": null,
3592+
"define": "MESSAGES_CLUSTER",
3593+
"side": "client",
3594+
"enabled": 1,
3595+
"commands": [
3596+
{
3597+
"name": "PresentMessagesRequest",
3598+
"code": 0,
3599+
"mfgCode": null,
3600+
"source": "client",
3601+
"isIncoming": 0,
3602+
"isEnabled": 1
3603+
},
3604+
{
3605+
"name": "CancelMessagesRequest",
3606+
"code": 1,
3607+
"mfgCode": null,
3608+
"source": "client",
3609+
"isIncoming": 0,
3610+
"isEnabled": 1
3611+
}
3612+
],
3613+
"attributes": [
3614+
{
3615+
"name": "FeatureMap",
3616+
"code": 65532,
3617+
"mfgCode": null,
3618+
"side": "client",
3619+
"type": "bitmap32",
3620+
"included": 1,
3621+
"storageOption": "RAM",
3622+
"singleton": 0,
3623+
"bounded": 0,
3624+
"defaultValue": "0",
3625+
"reportable": 1,
3626+
"minInterval": 1,
3627+
"maxInterval": 65534,
3628+
"reportableChange": 0
3629+
},
3630+
{
3631+
"name": "ClusterRevision",
3632+
"code": 65533,
3633+
"mfgCode": null,
3634+
"side": "client",
3635+
"type": "int16u",
3636+
"included": 1,
3637+
"storageOption": "RAM",
3638+
"singleton": 0,
3639+
"bounded": 0,
3640+
"defaultValue": "3",
3641+
"reportable": 1,
3642+
"minInterval": 1,
3643+
"maxInterval": 65534,
3644+
"reportableChange": 0
3645+
}
3646+
]
3647+
},
35883648
{
35893649
"name": "Wake on LAN",
35903650
"code": 1283,

0 commit comments

Comments
 (0)