Skip to content

Commit

Permalink
run zap regen script
Browse files Browse the repository at this point in the history
  • Loading branch information
lazarkov committed Feb 7, 2022
1 parent 5e1811d commit b9fc18b
Show file tree
Hide file tree
Showing 7 changed files with 469 additions and 8 deletions.
21 changes: 21 additions & 0 deletions src/controller/data_model/controller-clusters.matter
Original file line number Diff line number Diff line change
Expand Up @@ -176,12 +176,18 @@ client cluster ApplicationLauncher = 1292 {
kLineupInfo = 0x2;
}

struct ApplicationEP {
ApplicationLauncherApplication application = 0;
CHAR_STRING endpoint = 1;
}

struct ApplicationLauncherApplication {
INT16U catalogVendorId = 0;
CHAR_STRING applicationId = 1;
}

readonly attribute INT16U applicationLauncherList[] = 0;
attribute ApplicationEP applicationLauncherApp = 1;
readonly global attribute command_id serverGeneratedCommandList[] = 65528;
readonly global attribute command_id clientGeneratedCommandList[] = 65529;
readonly global attribute attrib_id attributeList[] = 65531;
Expand Down Expand Up @@ -567,7 +573,16 @@ client cluster Channel = 1284 {
CHAR_STRING<32> affiliateCallSign = 4;
}

struct LineupInfo {
CHAR_STRING operatorName = 0;
CHAR_STRING lineupName = 1;
CHAR_STRING postalCode = 2;
LineupInfoTypeEnum lineupInfoType = 3;
}

readonly attribute ChannelInfo channelList[] = 0;
attribute LineupInfo channelLineup = 1;
attribute ChannelInfo currentChannel = 2;
readonly global attribute command_id serverGeneratedCommandList[] = 65528;
readonly global attribute command_id clientGeneratedCommandList[] = 65529;
readonly global attribute attrib_id attributeList[] = 65531;
Expand Down Expand Up @@ -2291,9 +2306,15 @@ client cluster MediaPlayback = 1286 {
kSeekOutOfRange = 5;
}

struct PlaybackPosition {
INT64U updatedAt = 0;
INT64U position = 1;
}

readonly attribute PlaybackStateEnum playbackState = 0;
readonly attribute epoch_us startTime = 1;
readonly attribute int64u duration = 2;
attribute PlaybackPosition position = 3;
readonly attribute single playbackSpeed = 4;
readonly attribute int64u seekRangeEnd = 5;
readonly attribute int64u seekRangeStart = 6;
Expand Down
200 changes: 200 additions & 0 deletions src/controller/java/zap-generated/CHIPAttributeTLVValueDecoder.cpp

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 8 additions & 0 deletions src/controller/java/zap-generated/CHIPCallbackTypes.h

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

28 changes: 28 additions & 0 deletions src/controller/python/chip/clusters/CHIPClusters.py

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit b9fc18b

Please sign in to comment.