Skip to content

Commit

Permalink
Generated with ./scripts/tools/zap_regen_all.py
Browse files Browse the repository at this point in the history
  • Loading branch information
gmarcosb committed Dec 17, 2024
1 parent dcf273a commit 3445e84
Show file tree
Hide file tree
Showing 69 changed files with 14,573 additions and 324 deletions.
1 change: 1 addition & 0 deletions docs/ids_and_codes/zap_clusters.md
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,7 @@ Generally regenerate using one of:
| 1361 | 0x551 | CameraAvStreamManagement |
| 1363 | 0x553 | WebRTCTransportProvider |
| 1364 | 0x554 | WebRTCTransportRequestor |
| 1365 | 0x555 | PushAvStreamTransport |
| 1366 | 0x556 | Chime |
| 1872 | 0x750 | EcosystemInformation |
| 1873 | 0x751 | CommissionerControl |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9047,7 +9047,7 @@ endpoint 1 {
ram attribute occupancySensorTypeBitmap default = 1;
callback attribute holdTime;
callback attribute holdTimeLimits;
callback attribute PIROccupiedToUnoccupiedDelay;
ram attribute PIROccupiedToUnoccupiedDelay default = 10;
callback attribute featureMap;
ram attribute clusterRevision default = 5;
}
Expand Down Expand Up @@ -9505,7 +9505,7 @@ endpoint 2 {
ram attribute occupancySensorTypeBitmap default = 1;
callback attribute holdTime;
callback attribute holdTimeLimits;
callback attribute PIROccupiedToUnoccupiedDelay;
ram attribute PIROccupiedToUnoccupiedDelay default = 10;
callback attribute featureMap;
ram attribute clusterRevision default = 5;
}
Expand Down
2 changes: 1 addition & 1 deletion examples/chef/devices/rootnode_heatpump_87ivjRAECh.matter
Original file line number Diff line number Diff line change
Expand Up @@ -1269,7 +1269,7 @@ cluster GeneralDiagnostics = 51 {
/** Take a snapshot of system time and epoch time. */
command TimeSnapshot(): TimeSnapshotResponse = 1;
/** Request a variable length payload response. */
command PayloadTestRequest(PayloadTestRequestRequest): PayloadTestResponse = 3;
command access(invoke: manage) PayloadTestRequest(PayloadTestRequestRequest): PayloadTestResponse = 3;
}

/** Commands to trigger a Node to allow a new Administrator to commission it. */
Expand Down
6 changes: 3 additions & 3 deletions examples/placeholder/linux/apps/app1/config.matter
Original file line number Diff line number Diff line change
Expand Up @@ -9645,13 +9645,13 @@ endpoint 1 {
ram attribute occupancy;
ram attribute occupancySensorType;
ram attribute occupancySensorTypeBitmap;
callback attribute PIROccupiedToUnoccupiedDelay;
ram attribute PIROccupiedToUnoccupiedDelay default = 0x00;
ram attribute PIRUnoccupiedToOccupiedDelay default = 0x00;
ram attribute PIRUnoccupiedToOccupiedThreshold default = 1;
callback attribute ultrasonicOccupiedToUnoccupiedDelay;
ram attribute ultrasonicOccupiedToUnoccupiedDelay default = 0x00;
ram attribute ultrasonicUnoccupiedToOccupiedDelay default = 0x00;
ram attribute ultrasonicUnoccupiedToOccupiedThreshold default = 1;
callback attribute physicalContactOccupiedToUnoccupiedDelay;
ram attribute physicalContactOccupiedToUnoccupiedDelay default = 0x00;
ram attribute physicalContactUnoccupiedToOccupiedDelay default = 0x00;
ram attribute physicalContactUnoccupiedToOccupiedThreshold default = 1;
callback attribute featureMap;
Expand Down
6 changes: 3 additions & 3 deletions examples/placeholder/linux/apps/app2/config.matter
Original file line number Diff line number Diff line change
Expand Up @@ -9540,13 +9540,13 @@ endpoint 1 {
ram attribute occupancy;
ram attribute occupancySensorType;
ram attribute occupancySensorTypeBitmap;
callback attribute PIROccupiedToUnoccupiedDelay;
ram attribute PIROccupiedToUnoccupiedDelay default = 0x00;
ram attribute PIRUnoccupiedToOccupiedDelay default = 0x00;
ram attribute PIRUnoccupiedToOccupiedThreshold default = 1;
callback attribute ultrasonicOccupiedToUnoccupiedDelay;
ram attribute ultrasonicOccupiedToUnoccupiedDelay default = 0x00;
ram attribute ultrasonicUnoccupiedToOccupiedDelay default = 0x00;
ram attribute ultrasonicUnoccupiedToOccupiedThreshold default = 1;
callback attribute physicalContactOccupiedToUnoccupiedDelay;
ram attribute physicalContactOccupiedToUnoccupiedDelay default = 0x00;
ram attribute physicalContactUnoccupiedToOccupiedDelay default = 0x00;
ram attribute physicalContactUnoccupiedToOccupiedThreshold default = 1;
callback attribute featureMap;
Expand Down
181 changes: 181 additions & 0 deletions src/controller/data_model/controller-clusters.matter
Original file line number Diff line number Diff line change
Expand Up @@ -10040,6 +10040,187 @@ cluster WebRTCTransportRequestor = 1364 {
command End(EndRequest): DefaultSuccess = 4;
}

/** This cluster implements the upload of Audio and Video streams from the Camera AV Stream Management Cluster using suitable push-based transports. */
cluster PushAvStreamTransport = 1365 {
revision 1;

enum PushAVStreamTransportContainerFormatEnum : enum8 {
kCMAF = 0;
}

enum PushAVStreamTransportIngestMethodEnum : enum8 {
kCMAFIngest = 0;
}

enum PushAVStreamTransportStatusEnum : enum8 {
kActive = 0;
kInactive = 1;
}

enum PushAVStreamTransportStreamMultiplexingEnum : enum8 {
kInterleaved = 0;
}

enum PushAVStreamTransportTriggerActivationReasonEnum : enum8 {
kUserInitiated = 0;
kAutomation = 1;
kEmergency = 2;
}

enum PushAVStreamTransportTriggerTypeEnum : enum8 {
kCommand = 0;
kMotion = 1;
kContinuous = 2;
}

enum StatusCodeEnum : enum8 {
kALLOCATIONNOTPERMITTED = 2;
kINVALIDPARAMETERS = 3;
kINVALIDURL = 4;
kINVALIDTRIGGEROPTIONS = 5;
kUNSUPPORTEDCONTAINERFORMAT = 6;
kUNSUPPORTEDINGESTMETHOD = 7;
kPAVSTNOTINUSE = 8;
kINVALIDTRIGGERFORMAT = 9;
kINVALIDTRANSPORTSTATUS = 16;
}

enum StreamTypeEnum : enum8 {
kInternal = 0;
kRecording = 1;
kAnalysis = 2;
kLiveView = 3;
}

bitmap PushAVStreamTransportSupportedContainerFormatsBitmap : bitmap8 {
kCMAF = 0x1;
}

bitmap PushAVStreamTransportSupportedIngestMethodsBitmap : bitmap8 {
kCMAFIngest = 0x1;
}

struct PushAVStreamTransportMotionTriggerTimeControlStruct {
int16u initialDuration = 0;
int16u augmentationDuration = 1;
int32u maxDuration = 2;
int16u blindDuration = 3;
}

struct PushAVStreamTransportMetadataOptionsStruct {
PushAVStreamTransportStreamMultiplexingEnum multiplexing = 0;
boolean includeMotionZones = 1;
boolean enableMetadataPrivacySensitive = 2;
}

struct PushAVStreamTransportTriggerOptionsStruct {
PushAVStreamTransportTriggerTypeEnum triggerType = 0;
optional nullable int16u motionZones[] = 1;
optional nullable int8u motionSensitivity = 2;
optional nullable PushAVStreamTransportMotionTriggerTimeControlStruct motionTimeControl = 3;
optional nullable PushAVStreamTransportTriggerActivationReasonEnum activationReason = 4;
}

struct PushAVStreamTransportCMAFContainerOptionsStruct {
int16u chunkDuration = 0;
optional nullable octet_string CENCKey = 1;
}

struct PushAVStreamTransportContainerOptionsStruct {
PushAVStreamTransportContainerFormatEnum containerType = 0;
optional nullable PushAVStreamTransportCMAFContainerOptionsStruct CMAFContainerOptions = 1;
}

struct PushAVStreamTransportOptionsStruct {
StreamTypeEnum streamType = 0;
optional nullable int16u videoStreamID = 1;
optional nullable int16u audioStreamID = 2;
int16u TLSEndpointID = 3;
long_char_string<256> url = 4;
PushAVStreamTransportTriggerOptionsStruct triggerOptions = 5;
PushAVStreamTransportContainerFormatEnum containerFormat = 6;
PushAVStreamTransportIngestMethodEnum ingestMethod = 7;
PushAVStreamTransportContainerOptionsStruct containerOptions = 8;
optional nullable PushAVStreamTransportMetadataOptionsStruct metadataOptions = 9;
optional nullable int32u expiryTime = 10;
}

struct PushAVStreamConfigurationStruct {
int16u connectionID = 0;
PushAVStreamTransportStatusEnum streamTransportStatus = 1;
PushAVStreamTransportOptionsStruct streamTransportOptions = 2;
}

info event PushTransportBegin = 0 {
}

info event PushTransportEnd = 1 {
int16u connectionID = 0;
PushAVStreamTransportTriggerOptionsStruct triggerDetails = 1;
}

readonly attribute PushAVStreamTransportSupportedContainerFormatsBitmap supportedContainerFormats = 0;
readonly attribute PushAVStreamTransportSupportedIngestMethodsBitmap supportedIngestMethods = 1;
readonly attribute int16u currentConnections[] = 2;
readonly attribute command_id generatedCommandList[] = 65528;
readonly attribute command_id acceptedCommandList[] = 65529;
readonly attribute event_id eventList[] = 65530;
readonly attribute attrib_id attributeList[] = 65531;
readonly attribute bitmap32 featureMap = 65532;
readonly attribute int16u clusterRevision = 65533;

request struct AllocatePushTransportRequest {
PushAVStreamTransportOptionsStruct streamTransportOptions = 0;
}

response struct AllocatePushTransportResponse = 1 {
int16u connectionID = 0;
PushAVStreamTransportOptionsStruct streamTransportOptions = 1;
PushAVStreamTransportStatusEnum transportStatus = 2;
}

request struct DeallocatePushTransportRequest {
int16u connectionID = 0;
}

request struct ModifyPushTransportRequest {
int16u connectionID = 0;
PushAVStreamTransportOptionsStruct streamTransportOptions = 1;
}

request struct SetTransportStatusRequest {
nullable int16u connectionID = 0;
PushAVStreamTransportStatusEnum streamTransportStatus = 1;
}

request struct ManuallyTriggerTransportRequest {
int16u connectionID = 0;
nullable PushAVStreamTransportTriggerActivationReasonEnum activationReason = 1;
optional nullable PushAVStreamTransportMotionTriggerTimeControlStruct timeControl = 2;
}

request struct FindStreamConfigurationRequest {
optional nullable int16u connectionID = 0;
}

response struct FindStreamConfigurationResponse = 7 {
PushAVStreamConfigurationStruct streamConfigurations[] = 0;
}

/** This command SHALL allocate a transport and return a PushTransportConnectionID. */
command access(invoke: administer) AllocatePushTransport(AllocatePushTransportRequest): AllocatePushTransportResponse = 0;
/** This command SHALL be generated to request the Node deallocates the specified transport. */
command access(invoke: administer) DeallocatePushTransport(DeallocatePushTransportRequest): DefaultSuccess = 2;
/** This command is used to request the Node modifies the configuration of the specified push transport. */
command access(invoke: administer) ModifyPushTransport(ModifyPushTransportRequest): DefaultSuccess = 3;
/** This command SHALL be generated to request the Node modifies the Transport Status of the transport. */
command access(invoke: administer) SetTransportStatus(SetTransportStatusRequest): DefaultSuccess = 4;
/** This command SHALL be generated to request the Node to manually start the specified push transport. */
command access(invoke: administer) ManuallyTriggerTransport(ManuallyTriggerTransportRequest): DefaultSuccess = 5;
/** This command SHALL return the Stream Options Configuration for the specified push transport. */
command access(invoke: administer) FindStreamConfiguration(FindStreamConfigurationRequest): FindStreamConfigurationResponse = 6;
}

/** This cluster provides facilities to configure and play Chime sounds, such as those used in a doorbell. */
provisional cluster Chime = 1366 {
revision 1;
Expand Down
Loading

0 comments on commit 3445e84

Please sign in to comment.