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 18, 2024
1 parent a603b57 commit 587967d
Show file tree
Hide file tree
Showing 59 changed files with 2,556 additions and 2,133 deletions.
161 changes: 87 additions & 74 deletions src/controller/data_model/controller-clusters.matter
Original file line number Diff line number Diff line change
Expand Up @@ -10044,123 +10044,136 @@ cluster WebRTCTransportRequestor = 1364 {
cluster PushAvStreamTransport = 1365 {
revision 1;

enum PushAVStreamTransportContainerFormatEnum : enum8 {
enum ContainerFormatEnum : enum8 {
kCMAF = 0;
}

enum PushAVStreamTransportIngestMethodEnum : enum8 {
enum IngestMethodsEnum : enum8 {
kCMAFIngest = 0;
}

enum PushAVStreamTransportStatusEnum : enum8 {
kActive = 0;
kInactive = 1;
enum StatusCodeEnum : enum8 {
kAllocationNotPermitted = 2;
kInvalidTlsEndpoint = 3;
kInvalidStream = 4;
kInvalidURL = 5;
kInvalidZone = 6;
kUnsupportedContainerFormat = 7;
kUnsupportedIngestMethod = 8;
kInvalidTriggerType = 9;
kInvalidTransportStatus = 16;
}

enum StreamMultiplexingEnum : enum8 {
kInterleaved = 0;
}

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

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

enum PushAVStreamTransportTriggerTypeEnum : enum8 {
enum TransportTriggerTypeEnum : 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 TriggerActivationReasonEnum : enum8 {
kUserInitiated = 0;
kAutomation = 1;
kEmergency = 2;
}

enum StreamTypeEnum : enum8 {
kInternal = 0;
kRecording = 1;
kAnalysis = 2;
kLiveView = 3;
bitmap Feature : bitmap32 {
kPerZoneSensitivity = 0x1;
}

bitmap PushAVStreamTransportSupportedContainerFormatsBitmap : bitmap8 {
bitmap SupportedContainerFormatsBitmap : bitmap8 {
kCMAF = 0x1;
}

bitmap PushAVStreamTransportSupportedIngestMethodsBitmap : bitmap8 {
bitmap SupportedIngestMethodsBitmap : bitmap8 {
kCMAFIngest = 0x1;
}

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

struct PushAVStreamTransportMetadataOptionsStruct {
PushAVStreamTransportStreamMultiplexingEnum multiplexing = 0;
struct TransportZoneOptionsStruct {
nullable int16u zone = 1;
optional int8u sensitivity = 2;
}

struct MetadataOptionsStruct {
StreamMultiplexingEnum multiplexing = 0;
boolean includeMotionZones = 1;
boolean enableMetadataPrivacySensitive = 2;
}

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

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

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

struct PushAVStreamTransportOptionsStruct {
struct TransportOptionsStruct {
StreamTypeEnum streamType = 0;
optional nullable int16u videoStreamID = 1;
optional nullable int16u audioStreamID = 2;
int16u TLSEndpointID = 3;
optional int16u videoStreamID = 1;
optional int16u audioStreamID = 2;
int16u endpointID = 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;
TransportTriggerOptionsStruct triggerOptions = 5;
IngestMethodsEnum ingestMethod = 6;
ContainerFormatEnum containerFormat = 7;
ContainerOptionsStruct containerOptions = 8;
optional nullable MetadataOptionsStruct metadataOptions = 9;
optional nullable epoch_s expiryTime = 10;
}

struct PushAVStreamConfigurationStruct {
struct TransportConfigurationStruct {
int16u connectionID = 0;
PushAVStreamTransportStatusEnum streamTransportStatus = 1;
PushAVStreamTransportOptionsStruct streamTransportOptions = 2;
TransportStatusEnum transportStatus = 1;
TransportOptionsStruct transportOptions = 2;
}

info event PushTransportBegin = 0 {
int16u connectionID = 0;
TransportTriggerTypeEnum triggerType = 1;
optional TriggerActivationReasonEnum activationReason = 2;
}

info event PushTransportEnd = 1 {
int16u connectionID = 0;
PushAVStreamTransportTriggerOptionsStruct triggerDetails = 1;
TransportTriggerTypeEnum triggerType = 1;
optional TriggerActivationReasonEnum activationReason = 2;
}

readonly attribute PushAVStreamTransportSupportedContainerFormatsBitmap supportedContainerFormats = 0;
readonly attribute PushAVStreamTransportSupportedIngestMethodsBitmap supportedIngestMethods = 1;
readonly attribute SupportedContainerFormatsBitmap supportedContainerFormats = 0;
readonly attribute SupportedIngestMethodsBitmap supportedIngestMethods = 1;
readonly attribute int16u currentConnections[] = 2;
readonly attribute command_id generatedCommandList[] = 65528;
readonly attribute command_id acceptedCommandList[] = 65529;
Expand All @@ -10170,13 +10183,13 @@ cluster PushAvStreamTransport = 1365 {
readonly attribute int16u clusterRevision = 65533;

request struct AllocatePushTransportRequest {
PushAVStreamTransportOptionsStruct streamTransportOptions = 0;
TransportOptionsStruct transportOptions = 0;
}

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

request struct DeallocatePushTransportRequest {
Expand All @@ -10185,40 +10198,40 @@ cluster PushAvStreamTransport = 1365 {

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

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

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

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

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

/** This command SHALL allocate a transport and return a PushTransportConnectionID. */
command access(invoke: administer) AllocatePushTransport(AllocatePushTransportRequest): AllocatePushTransportResponse = 0;
command access(invoke: manage) 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;
command access(invoke: manage) 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;
command access(invoke: manage) 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;
command access(invoke: manage) 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;
command 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;
command FindTransport(FindTransportRequest): FindTransportResponse = 6;
}

/** This cluster provides facilities to configure and play Chime sounds, such as those used in a doorbell. */
Expand Down
Loading

0 comments on commit 587967d

Please sign in to comment.