Skip to content

Commit

Permalink
Enalbe AudioOutput::CurrentOutput as a required attribute in the chef…
Browse files Browse the repository at this point in the history
… basicvideoplayer example
  • Loading branch information
andreilitvin committed Oct 24, 2023
1 parent d6ae6f7 commit 7bd7bc3
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1424,6 +1424,7 @@ server cluster AudioOutput = 1291 {
}

readonly attribute OutputInfoStruct outputList[] = 0;
readonly attribute int8u currentOutput = 1;
readonly attribute command_id generatedCommandList[] = 65528;
readonly attribute command_id acceptedCommandList[] = 65529;
readonly attribute event_id eventList[] = 65530;
Expand Down Expand Up @@ -1779,6 +1780,7 @@ endpoint 1 {

server cluster AudioOutput {
callback attribute outputList;
ram attribute currentOutput default = 0x00;
callback attribute generatedCommandList;
callback attribute acceptedCommandList;
callback attribute eventList;
Expand Down
19 changes: 18 additions & 1 deletion examples/chef/devices/rootnode_basicvideoplayer_0ff86e943b.zap
Original file line number Diff line number Diff line change
Expand Up @@ -3790,6 +3790,22 @@
"maxInterval": 65534,
"reportableChange": 0
},
{
"name": "CurrentOutput",
"code": 1,
"mfgCode": null,
"side": "server",
"type": "int8u",
"included": 1,
"storageOption": "RAM",
"singleton": 0,
"bounded": 0,
"defaultValue": "0x00",
"reportable": 1,
"minInterval": 1,
"maxInterval": 65534,
"reportableChange": 0
},
{
"name": "GeneratedCommandList",
"code": 65528,
Expand Down Expand Up @@ -3906,5 +3922,6 @@
"endpointId": 1,
"networkId": 0
}
]
],
"log": []
}

0 comments on commit 7bd7bc3

Please sign in to comment.