Media1295 — Content Control

Matter Cluster 1295 — Content Control

Matter Cluster 1295 (0x050F) Content Control: attributes, commands, events, data types, shadow paths and bridge payload examples.

Matter Cluster 1295 — Content Control Cluster

Matter Cluster 1295, also written as 0x050F, is the Content Control Cluster. This cluster is used for managing the content control (including "parental control") settings on a media device such as a TV, or Set-top Box. This cluster allows to configure content control settings by clients with the Management privilege. It is responsibility of the end product to enforce appropriate right access (for example, to prevent a child from disabling this feature).

Cluster Identity

FieldValue
Cluster ID decimal1295
Cluster ID hex0x050F
Cluster nameContent Control
Cluster revision (Matter 1.6.1)1
Roleapplication
ScopeEndpoint
PICS codeCONCON
Typical endpoint1

Revision history

RevisionChange
1Initial revision

Shadow Path Format

Cluster 1295 values in the device shadow use this format:

endpoint_id / 1295 / attribute_id

Example:

{
  "1/1295/0": true
}
PartMeaning
1Endpoint ID
1295Content Control cluster
0Enabled attribute

Cluster 1295 Features

The FeatureMap attribute (1/1295/65532) is a bitmap. Each bit set means the device implements that feature and the attributes and commands that depend on it.

BitCodeFeatureConformanceMeaning
0STScreenTimeOSupports managing screen time limits
1PMPINManagementOSupports managing a PIN code which is used for restricting access to configuration of this feature
2BUBlockUnratedOSupports managing content controls for unrated content
3OCROnDemandContentRatingOSupports managing content controls based upon rating threshold for on demand content
4SCRScheduledContentRatingOSupports managing content controls based upon rating threshold for scheduled content
5BCBlockChannelsOSupports managing a set of channels that are prohibited
6BABlockApplicationsOSupports managing a set of applications that are prohibited
7BTWBlockContentTimeWindowOSupports managing content controls based upon setting time window in which all contents and applications SHALL be blocked

Example: FeatureMap = 0 means no optional feature is enabled; 255 means every feature listed above is enabled.


Data Types

StatusCodeEnum

ValueNameConformanceMeaning
2InvalidPINCodeMProvided PIN Code does not match the current PIN code
3InvalidRatingMProvided Rating is out of scope of the corresponding Rating list
4InvalidChannelMProvided Channel(s) is invalid
5ChannelAlreadyExistMProvided Channel(s) already exists
6ChannelNotExistMProvided Channel(s) doesn't exist in BlockChannelList attribute
7UnidentifiableApplicationMProvided Application(s) is not identified
8ApplicationAlreadyExistMProvided Application(s) already exists
9ApplicationNotExistMProvided Application(s) doesn't exist in BlockApplicationList attribute
10TimeWindowAlreadyExistMProvided time Window already exists in BlockContentTimeWindow attribute
11TimeWindowNotExistMProvided time window doesn't exist in BlockContentTimeWindow attribute

DayOfWeekBitmap (bitmap)

BitNameConformanceMeaning
0SundayMSunday
1MondayMMonday
2TuesdayMTuesday
3WednesdayMWednesday
4ThursdayMThursday
5FridayMFriday
6SaturdayMSaturday

AppInfoStruct (struct)

FieldNameTypeConformanceConstraintMeaning
0CatalogVendorIDuint16M——
1ApplicationIDstringM——

BlockChannelStruct (struct)

FieldNameTypeConformanceConstraintMeaning
0BlockChannelIndexuint16 (nullable)M—Indicates a unique index value for a blocked channel.
1MajorNumberuint16M—Indicates the channel major number value (for example, using ATSC format).
2MinorNumberuint16M—Indicates the channel minor number value (for example, using ATSC format).
3IdentifierstringO—Indicates the unique identifier for a specific channel.

RatingNameStruct (struct)

FieldNameTypeConformanceConstraintMeaning
0RatingNamestringMmax length 8Indicates the name of the rating level of the applied rating system.
1RatingNameDescstringOmax length 64This field specifies a human readable (displayable) description for RatingName.

TimePeriodStruct (struct)

FieldNameTypeConformanceConstraintMeaning
0StartHouruint8M0 to 23Indicates the starting hour.
1StartMinuteuint8M0 to 59Indicates the starting minute.
2EndHouruint8M0 to 23Indicates the ending hour.
3EndMinuteuint8M0 to 59Indicates the ending minute.

TimeWindowStruct (struct)

FieldNameTypeConformanceConstraintMeaning
0TimeWindowIndexuint16 (nullable)M—Indicates a unique index of a specific time window.
1DayOfWeekDayOfWeekBitmapMdescIndicates a day of week.
2TimePeriodlist of TimePeriodStructMdescIndicates one or more discrete time periods.

Cluster 1295 Attributes

Cluster 1295 defines 11 attributes plus the global attributes. Conformance: M mandatory, O optional, a feature code means "mandatory when that feature is present", square brackets mean "optional when …".

IDHexAttributeTypeConformanceAccessQualitiesDefault
00x0000EnabledboolMR (read: view)——
10x0001OnDemandRatingslist of RatingNameStructOCRR (read: view)——
20x0002OnDemandRatingThresholdstringOCRR (read: view)——
30x0003ScheduledContentRatingslist of RatingNameStructSCRR (read: view)——
40x0004ScheduledContentRatingThresholdstringSCRR (read: view)——
50x0005ScreenDailyTimeelapsed-sSTR (read: view)——
60x0006RemainingScreenTimeelapsed-sSTR (read: view)——
70x0007BlockUnratedboolBUR (read: view)——
80x0008BlockChannelListlist of BlockChannelStructBCR (read: view)——
90x0009BlockApplicationListlist of AppInfoStructBAR (read: view)——
100x000ABlockContentTimeWindowlist of TimeWindowStructBTWR (read: view)——

Global attributes

IDHexAttributeMeaning
655280xFFF8GeneratedCommandListResponse command IDs this server generates.
655290xFFF9AcceptedCommandListCommand IDs this server accepts.
655310xFFFBAttributeListAttribute IDs implemented.
655320xFFFCFeatureMapImplemented optional features (see above).
655330xFFFDClusterRevisionCluster revision implemented; 1 for a Matter 1.6.1 device.

Attribute Details

Attribute 0 / 0x0000 — Enabled

Path example:

1/1295/0

Indicates whether the Content Control feature implemented on a media device is turned off (FALSE) or turned on (TRUE).

PropertyValue
Typebool
ConformanceM
AccessR (read: view)

Example:

{
  "1/1295/0": true
}

Attribute 1 / 0x0001 — OnDemandRatings

Path example:

1/1295/1

This attribute provides the collection of ratings that are currently valid for this media device. The items should honor the metadata of the on-demand content (e.g. Movie) rating system for one country or region where the media device has been provisioned. For example, for the MPAA system, RatingName may be one value out of "G", "PG", "PG-13", "R", "NC-17".

PropertyValue
Typelist of RatingNameStruct
ConformanceOCR
AccessR (read: view)

Each entry is a RatingNameStruct (see Data Types).

Example:

{
  "1/1295/1": []
}

Attribute 2 / 0x0002 — OnDemandRatingThreshold

Path example:

1/1295/2

Indicates a threshold rating as a content filter which is compared with the rating for on-demand content. For example, if the on-demand content rating is greater than or equal to OnDemandRatingThreshold, for a rating system that is ordered from lower viewer age to higher viewer age, then on-demand content is not appropriate for the User and the Node must prevent the playback of content. This attribute is set to one of the values present in the OnDemandRatings attribute. When this attribute changes, the device should make the user aware of any limits of this feature.

PropertyValue
Typestring
ConformanceOCR
AccessR (read: view)
Constraintmax length 8

Example:

{
  "1/1295/2": "example"
}

Attribute 3 / 0x0003 — ScheduledContentRatings

Path example:

1/1295/3

Indicates a collection of ratings which ScheduledContentRatingThreshold can be set to. The items should honor metadata of the scheduled content rating system for the country or region where the media device has been provisioned. The media device has a way to determine which scheduled content rating system applies and then populate this attribute. For example, this can be done by examining the Location attribute in Basic Information cluster, and then determining which rating system applies.

PropertyValue
Typelist of RatingNameStruct
ConformanceSCR
AccessR (read: view)

Each entry is a RatingNameStruct (see Data Types).

Example:

{
  "1/1295/3": []
}

Attribute 4 / 0x0004 — ScheduledContentRatingThreshold

Path example:

1/1295/4

Indicates a threshold rating as a content filter which is used to compare with the rating for scheduled content. For example, if the scheduled content rating is greater than or equal to ScheduledContentRatingThreshold for a rating system that is ordered from lower viewer age to higher viewer age, then the scheduled content is not appropriate for the User and is blocked. This attribute is set to one of the values present in the ScheduledContentRatings attribute. When this attribute changes, the device should make the user aware of any limits of this feature.

PropertyValue
Typestring
ConformanceSCR
AccessR (read: view)
Constraintmax length 8

Example:

{
  "1/1295/4": "example"
}

Attribute 5 / 0x0005 — ScreenDailyTime

Path example:

1/1295/5

Indicates the amount of time (in seconds) which the User is allowed to spend watching TV within one day when the Content Control feature is activated.

PropertyValue
Typeelapsed-s
ConformanceST
AccessR (read: view)
Constraintmax 86400

Example:

{
  "1/1295/5": 0
}

Attribute 6 / 0x0006 — RemainingScreenTime

Path example:

1/1295/6

Indicates the remaining screen time (in seconds) which the User is allowed to spend watching TV for the current day when the Content Control feature is activated. When this value equals 0, the media device must terminate the playback of content. This attribute is updated when the AddBonusTime command is received and processed successfully (with the correct PIN).

PropertyValue
Typeelapsed-s
ConformanceST
AccessR (read: view)
Constraintmax 86400

Example:

{
  "1/1295/6": 0
}

Attribute 7 / 0x0007 — BlockUnrated

Path example:

1/1295/7

Indicates whether the playback of unrated content is allowed when the Content Control feature is activated. If this attribute equals FALSE, then playback of unrated content is permitted. Otherwise, the media device must prevent the playback of unrated content. When this attribute changes, the device should make the user aware of any limits of this feature.

PropertyValue
Typebool
ConformanceBU
AccessR (read: view)

Example:

{
  "1/1295/7": true
}

Attribute 8 / 0x0008 — BlockChannelList

Path example:

1/1295/8

Indicates a set of channels that is blocked when the Content Control feature is activated.

PropertyValue
Typelist of BlockChannelStruct
ConformanceBC
AccessR (read: view)

Each entry is a BlockChannelStruct (see Data Types).

Example:

{
  "1/1295/8": []
}

Attribute 9 / 0x0009 — BlockApplicationList

Path example:

1/1295/9

Indicates a set of applications that is blocked when the Content Control feature is activated.

PropertyValue
Typelist of AppInfoStruct
ConformanceBA
AccessR (read: view)

Each entry is a AppInfoStruct (see Data Types).

Example:

{
  "1/1295/9": []
}

Attribute 10 / 0x000A — BlockContentTimeWindow

Path example:

1/1295/10

Indicates a set of periods during which the playback of content on media device is blocked when the Content Control feature is activated. The media device must reject any request to play content during one period of this attribute. If it is entering any one period of this attribute, the media device must block content which is playing and generate an event EnteringBlockContentTimeWindow. There must NOT be multiple entries in this attribute list for the same day of week.

PropertyValue
Typelist of TimeWindowStruct
ConformanceBTW
AccessR (read: view)
Constraintmax 7 entries

Each entry is a TimeWindowStruct (see Data Types).

Example:

{
  "1/1295/10": []
}

Cluster 1295 Commands

Cluster 1295 has 16 client-to-server commands and 1 response.

IDHexCommandDirectionConformanceResponseDescription
00x00UpdatePINclient → serverPMstatus—
10x01ResetPINclient → serverPMResetPINResponse—
20x02ResetPINResponseserver → clientPM——
30x03Enableclient → serverMstatusThe purpose of this command is to turn on the Content Control feature on a media device.
40x04Disableclient → serverMstatusThe purpose of this command is to turn off the Content Control feature on a media device.
50x05AddBonusTimeclient → serverSTstatusThe purpose of this command is to add the extra screen time for the user.
60x06SetScreenDailyTimeclient → serverSTstatusThe purpose of this command is to set the ScreenDailyTime attribute.
70x07BlockUnratedContentclient → serverBUstatusThe purpose of this command is to specify whether programs with no Content rating must be blocked by this media device.
80x08UnblockUnratedContentclient → serverBUstatusThe purpose of this command is to specify whether programs with no Content rating must be blocked by this media device.
90x09SetOnDemandRatingThresholdclient → serverOCRstatusThe purpose of this command is to set the OnDemandRatingThreshold attribute.
100x0ASetScheduledContentRatingThresholdclient → serverSCRstatusThe purpose of this command is to set ScheduledContentRatingThreshold attribute.
110x0BAddBlockChannelsclient → serverBCstatusThe purpose of this command is to set BlockChannelList attribute.
120x0CRemoveBlockChannelsclient → serverBCstatusThe purpose of this command is to remove channels from the BlockChannelList attribute.
130x0DAddBlockApplicationsclient → serverBAstatusThe purpose of this command is to set applications to the BlockApplicationList attribute.
140x0ERemoveBlockApplicationsclient → serverBAstatusThe purpose of this command is to remove applications from the BlockApplicationList attribute.
150x0FSetBlockContentTimeWindowclient → serverBTWstatusThe purpose of this command is to set the BlockContentTimeWindow attribute.
160x10RemoveBlockContentTimeWindowclient → serverBTWstatusThe purpose of this command is to remove the selected time windows from the BlockContentTimeWindow attribute.

AcceptedCommandList

The AcceptedCommandList attribute lists the command IDs the endpoint actually implements:

endpoint_id / 1295 / 65529
{
  "1/1295/65529": [
    0,
    1,
    3,
    4,
    5,
    6,
    7,
    8,
    9,
    10,
    11,
    12,
    13,
    14,
    15,
    16
  ]
}

Before sending a Cluster 1295 command, check that the command ID exists in endpoint/1295/65529. Optional commands are only present when the matching feature is set in FeatureMap.


Bridge Command Payload Format

The bridge accepts Matter commands in this structure:

{
  "message_id": "1",
  "command": "device_command",
  "args": {
    "endpoint_id": 1,
    "cluster_id": 1295,
    "command_name": "UpdatePIN",
    "payload": {},
    "timed_request_timeout_ms": 1000
  }
}

For Cluster 1295, always use "cluster_id": 1295. Payload keys are the command field names in lowerCamelCase. Octet-string fields are base64-encoded. timed_request_timeout_ms is required for timed commands and ignored otherwise.


Command: UpdatePIN

Purpose

UpdatePIN is a client-to-server command of the Content Control cluster.

Command Identity

FieldValue
Command ID0
Command hex0x00
Command nameUpdatePIN
Directionclient → server
ConformancePM
Responsestatus
Access(invoke: manage, timed)

Payload Fields

IDFieldPayload keyTypeConformanceConstraintMeaning
0OldPINoldPINstringMmax length 6—
1NewPINnewPINstringMmax length 6—

Bridge Command Example

{
  "message_id": "1",
  "command": "device_command",
  "args": {
    "endpoint_id": 1,
    "cluster_id": 1295,
    "command_name": "UpdatePIN",
    "payload": {
      "oldPIN": "example",
      "newPIN": "example"
    },
    "timed_request_timeout_ms": 1000
  }
}

This is a timed command: the bridge must send it inside a timed interaction, so timed_request_timeout_ms is required.


Command: ResetPIN

Purpose

ResetPIN is a client-to-server command of the Content Control cluster.

Command Identity

FieldValue
Command ID1
Command hex0x01
Command nameResetPIN
Directionclient → server
ConformancePM
ResponseResetPINResponse
Access(invoke: admin, timed)

Payload Fields

This command has no payload fields.

Bridge Command Example

{
  "message_id": "1",
  "command": "device_command",
  "args": {
    "endpoint_id": 1,
    "cluster_id": 1295,
    "command_name": "ResetPIN",
    "payload": {},
    "timed_request_timeout_ms": 1000
  }
}

This is a timed command: the bridge must send it inside a timed interaction, so timed_request_timeout_ms is required.

The device answers with ResetPINResponse (see below).


Command: ResetPINResponse

Purpose

ResetPINResponse is a server response of the Content Control cluster.

Command Identity

FieldValue
Command ID2
Command hex0x02
Command nameResetPINResponse
Directionserver → client (response)
ConformancePM

Response Fields

IDFieldPayload keyTypeConformanceConstraintMeaning
0PINCodepinCodestringMmax length 6—

Command: Enable

Purpose

The purpose of this command is to turn on the Content Control feature on a media device. Upon receipt of the Enable command, the media device must set the Enabled attribute to TRUE.

Command Identity

FieldValue
Command ID3
Command hex0x03
Command nameEnable
Directionclient → server
ConformanceM
Responsestatus
Access(invoke: manage, timed)

Payload Fields

This command has no payload fields.

Bridge Command Example

{
  "message_id": "1",
  "command": "device_command",
  "args": {
    "endpoint_id": 1,
    "cluster_id": 1295,
    "command_name": "Enable",
    "payload": {},
    "timed_request_timeout_ms": 1000
  }
}

This is a timed command: the bridge must send it inside a timed interaction, so timed_request_timeout_ms is required.


Command: Disable

Purpose

The purpose of this command is to turn off the Content Control feature on a media device. On receipt of the Disable command, the media device must set the Enabled attribute to FALSE.

Command Identity

FieldValue
Command ID4
Command hex0x04
Command nameDisable
Directionclient → server
ConformanceM
Responsestatus
Access(invoke: manage, timed)

Payload Fields

This command has no payload fields.

Bridge Command Example

{
  "message_id": "1",
  "command": "device_command",
  "args": {
    "endpoint_id": 1,
    "cluster_id": 1295,
    "command_name": "Disable",
    "payload": {},
    "timed_request_timeout_ms": 1000
  }
}

This is a timed command: the bridge must send it inside a timed interaction, so timed_request_timeout_ms is required.


Command: AddBonusTime

Purpose

The purpose of this command is to add the extra screen time for the user. If a client with Operate privilege invokes this command, the media device must check whether the PINCode passed in the command matches the current PINCode value. If these match, then the RemainingScreenTime attribute is increased by the specified BonusTime value. If the PINs do not match, then a response with InvalidPINCode error status is returned, and no changes is made to RemainingScreenTime.

Command Identity

FieldValue
Command ID5
Command hex0x05
Command nameAddBonusTime
Directionclient → server
ConformanceST
Responsestatus
Access(invoke: operate)

Payload Fields

IDFieldPayload keyTypeConformanceConstraintMeaning
0PINCodepinCodestringOmax length 6—
1BonusTimebonusTimeelapsed-sMdescIndicates the amount of extra time (in seconds) to increase RemainingScreenTime. This field must NOT exceed the remaining time of this day.

Bridge Command Example

{
  "message_id": "1",
  "command": "device_command",
  "args": {
    "endpoint_id": 1,
    "cluster_id": 1295,
    "command_name": "AddBonusTime",
    "payload": {
      "bonusTime": 0
    }
  }
}

Command: SetScreenDailyTime

Purpose

The purpose of this command is to set the ScreenDailyTime attribute. Upon receipt of the SetScreenDailyTime command, the media device must set the ScreenDailyTime attribute to the ScreenTime value.

Command Identity

FieldValue
Command ID6
Command hex0x06
Command nameSetScreenDailyTime
Directionclient → server
ConformanceST
Responsestatus
Access(invoke: manage)

Payload Fields

IDFieldPayload keyTypeConformanceConstraintMeaning
0ScreenTimescreenTimeelapsed-sMmax 86400Indicates the time (in seconds) which the User is allowed to spend watching TV on this media device within one day.

Bridge Command Example

{
  "message_id": "1",
  "command": "device_command",
  "args": {
    "endpoint_id": 1,
    "cluster_id": 1295,
    "command_name": "SetScreenDailyTime",
    "payload": {
      "screenTime": 0
    }
  }
}

Command: BlockUnratedContent

Purpose

The purpose of this command is to specify whether programs with no Content rating must be blocked by this media device. Upon receipt of the BlockUnratedContent command, the media device must set the BlockUnrated attribute to TRUE.

Command Identity

FieldValue
Command ID7
Command hex0x07
Command nameBlockUnratedContent
Directionclient → server
ConformanceBU
Responsestatus
Access(invoke: manage)

Payload Fields

This command has no payload fields.

Bridge Command Example

{
  "message_id": "1",
  "command": "device_command",
  "args": {
    "endpoint_id": 1,
    "cluster_id": 1295,
    "command_name": "BlockUnratedContent",
    "payload": {}
  }
}

Command: UnblockUnratedContent

Purpose

The purpose of this command is to specify whether programs with no Content rating must be blocked by this media device. Upon receipt of the UnblockUnratedContent command, the media device must set the BlockUnrated attribute to FALSE.

Command Identity

FieldValue
Command ID8
Command hex0x08
Command nameUnblockUnratedContent
Directionclient → server
ConformanceBU
Responsestatus
Access(invoke: manage)

Payload Fields

This command has no payload fields.

Bridge Command Example

{
  "message_id": "1",
  "command": "device_command",
  "args": {
    "endpoint_id": 1,
    "cluster_id": 1295,
    "command_name": "UnblockUnratedContent",
    "payload": {}
  }
}

Command: SetOnDemandRatingThreshold

Purpose

The purpose of this command is to set the OnDemandRatingThreshold attribute. Upon receipt of the SetOnDemandRatingThreshold command, the media device must check if the Rating field is one of values present in the OnDemandRatings attribute. If not, then a response with InvalidRating error status is returned.

Command Identity

FieldValue
Command ID9
Command hex0x09
Command nameSetOnDemandRatingThreshold
Directionclient → server
ConformanceOCR
Responsestatus
Access(invoke: manage)

Payload Fields

IDFieldPayload keyTypeConformanceConstraintMeaning
0RatingratingstringMmax length 8This field indicates a threshold rating for filtering on-demand content. This field is set to one of the values present in the OnDemandRatings attribute

Bridge Command Example

{
  "message_id": "1",
  "command": "device_command",
  "args": {
    "endpoint_id": 1,
    "cluster_id": 1295,
    "command_name": "SetOnDemandRatingThreshold",
    "payload": {
      "rating": "example"
    }
  }
}

Command: SetScheduledContentRatingThreshold

Purpose

The purpose of this command is to set ScheduledContentRatingThreshold attribute. Upon receipt of the SetScheduledContentRatingThreshold command, the media device must check if the Rating field is one of values present in the ScheduledContentRatings attribute. If not, then a response with InvalidRating error status is returned.

Command Identity

FieldValue
Command ID10
Command hex0x0A
Command nameSetScheduledContentRatingThreshold
Directionclient → server
ConformanceSCR
Responsestatus
Access(invoke: manage)

Payload Fields

IDFieldPayload keyTypeConformanceConstraintMeaning
0RatingratingstringMmax length 8This field indicates a threshold rating for filtering scheduled content. This field is set to one of the values present in the ScheduledContentRatings attribute.

Bridge Command Example

{
  "message_id": "1",
  "command": "device_command",
  "args": {
    "endpoint_id": 1,
    "cluster_id": 1295,
    "command_name": "SetScheduledContentRatingThreshold",
    "payload": {
      "rating": "example"
    }
  }
}

Command: AddBlockChannels

Purpose

The purpose of this command is to set BlockChannelList attribute. Upon receipt of the AddBlockChannels command, the media device must check if the channels passed in this command are valid. If the channel is invalid, then a response with InvalidChannel error Status is returned. If there is at least one channel in Channels field which is not in the BlockChannelList attribute, the media device must process the request by adding these new channels into the BlockChannelList attribute and return a successful Status Response.

Command Identity

FieldValue
Command ID11
Command hex0x0B
Command nameAddBlockChannels
Directionclient → server
ConformanceBC
Responsestatus
Access(invoke: manage)

Payload Fields

IDFieldPayload keyTypeConformanceConstraintMeaning
0Channelschannelslist of BlockChannelStructM—This field indicates a set of channels that is blocked when the Content Control feature is activated. This field is set to values present in ChannelList attribute in the Channel cluster.

Bridge Command Example

{
  "message_id": "1",
  "command": "device_command",
  "args": {
    "endpoint_id": 1,
    "cluster_id": 1295,
    "command_name": "AddBlockChannels",
    "payload": {
      "channels": []
    }
  }
}

Command: RemoveBlockChannels

Purpose

The purpose of this command is to remove channels from the BlockChannelList attribute. Upon receipt of the RemoveBlockChannels command, the media device must check if the channels indicated by ChannelIndexes passed in this command are present in BlockChannelList attribute. If one or more channels indicated by ChannelIndexes passed in this command field are not present in the BlockChannelList attribute, then a response with ChannelNotExist error Status is returned.

Command Identity

FieldValue
Command ID12
Command hex0x0C
Command nameRemoveBlockChannels
Directionclient → server
ConformanceBC
Responsestatus
Access(invoke: manage)

Payload Fields

IDFieldPayload keyTypeConformanceConstraintMeaning
0ChannelIndexeschannelIndexeslist of uint16M—This field specifies a set of indexes indicating Which channels is removed from the BlockChannelList attribute.

Bridge Command Example

{
  "message_id": "1",
  "command": "device_command",
  "args": {
    "endpoint_id": 1,
    "cluster_id": 1295,
    "command_name": "RemoveBlockChannels",
    "payload": {
      "channelIndexes": []
    }
  }
}

Command: AddBlockApplications

Purpose

The purpose of this command is to set applications to the BlockApplicationList attribute. Upon receipt of the AddBlockApplications command, the media device must check if the Applications passed in this command are installed. If there is an application in Applications field which is not identified by media device, then a response with UnidentifiableApplication error Status may be returned. If there is one or more applications which are not present in BlockApplicationList attribute, the media device must process the request by adding the new application to the BlockApplicationList attribute and return a successful Status Response.

Command Identity

FieldValue
Command ID13
Command hex0x0D
Command nameAddBlockApplications
Directionclient → server
ConformanceBA
Responsestatus
Access(invoke: manage)

Payload Fields

IDFieldPayload keyTypeConformanceConstraintMeaning
0Applicationsapplicationslist of AppInfoStructM—This field indicates a set of applications that is blocked when the Content Control feature is activated.

Bridge Command Example

{
  "message_id": "1",
  "command": "device_command",
  "args": {
    "endpoint_id": 1,
    "cluster_id": 1295,
    "command_name": "AddBlockApplications",
    "payload": {
      "applications": []
    }
  }
}

Command: RemoveBlockApplications

Purpose

The purpose of this command is to remove applications from the BlockApplicationList attribute. Upon receipt of the RemoveBlockApplications command, the media device must check if the applications passed in this command present in the BlockApplicationList attribute. If one or more applications in Applications field which are not present in the BlockApplicationList attribute, then a response with ApplicationNotExist error Status is returned.

Command Identity

FieldValue
Command ID14
Command hex0x0E
Command nameRemoveBlockApplications
Directionclient → server
ConformanceBA
Responsestatus
Access(invoke: manage)

Payload Fields

IDFieldPayload keyTypeConformanceConstraintMeaning
0Applicationsapplicationslist of AppInfoStructM—This field indicates a set of applications which is removed from BlockApplicationList attribute.

Bridge Command Example

{
  "message_id": "1",
  "command": "device_command",
  "args": {
    "endpoint_id": 1,
    "cluster_id": 1295,
    "command_name": "RemoveBlockApplications",
    "payload": {
      "applications": []
    }
  }
}

Command: SetBlockContentTimeWindow

Purpose

The purpose of this command is to set the BlockContentTimeWindow attribute. Upon receipt of the SetBlockContentTimeWindow command, the media device must check if the TimeWindowIndex field passed in this command is null. If the TimeWindowIndex field is null, the media device must check if there is an entry in the BlockContentTimeWindow attribute which matches with the TimePeriod and DayOfWeek fields passed in this command. If Yes, then a response with TimeWindowAlreadyExist error status is returned.

Command Identity

FieldValue
Command ID15
Command hex0x0F
Command nameSetBlockContentTimeWindow
Directionclient → server
ConformanceBTW
Responsestatus
Access(invoke: manage)

Payload Fields

IDFieldPayload keyTypeConformanceConstraintMeaning
0TimeWindowtimeWindowTimeWindowStructM—Indicates a time window requested to set to the BlockContentTimeWindow attribute.

Bridge Command Example

{
  "message_id": "1",
  "command": "device_command",
  "args": {
    "endpoint_id": 1,
    "cluster_id": 1295,
    "command_name": "SetBlockContentTimeWindow",
    "payload": {
      "timeWindow": {
        "timeWindowIndex": 0,
        "dayOfWeek": 0,
        "timePeriod": []
      }
    }
  }
}

Command: RemoveBlockContentTimeWindow

Purpose

The purpose of this command is to remove the selected time windows from the BlockContentTimeWindow attribute. Upon receipt of the RemoveBlockContentTimeWindow command, the media device must check if the time window index passed in this command presents in the BlockContentTimeWindow attribute. If one or more time window indexes passed in this command are not present in BlockContentTimeWindow attribute, then a response with TimeWindowNotExist error status is returned.

Command Identity

FieldValue
Command ID16
Command hex0x10
Command nameRemoveBlockContentTimeWindow
Directionclient → server
ConformanceBTW
Responsestatus
Access(invoke: manage)

Payload Fields

IDFieldPayload keyTypeConformanceConstraintMeaning
0TimeWindowIndexestimeWindowIndexeslist of uint16M—This field specifies a set of time window indexes indicating which time windows will be removed from the BlockContentTimeWindow attribute.

Bridge Command Example

{
  "message_id": "1",
  "command": "device_command",
  "args": {
    "endpoint_id": 1,
    "cluster_id": 1295,
    "command_name": "RemoveBlockContentTimeWindow",
    "payload": {
      "timeWindowIndexes": []
    }
  }
}

Cluster 1295 Events

IDHexEventPriorityConformanceDescription
00x00RemainingScreenTimeExpiredinfoSTThis event is generated when the RemainingScreenTime equals 0.
10x01EnteringBlockContentTimeWindowinfoBTWThis event is generated when entering a period of blocked content as configured in the BlockContentTimeWindow attribute.

Event 0 — RemainingScreenTimeExpired

This event is generated when the RemainingScreenTime equals 0.

This event has no fields.

Event 1 — EnteringBlockContentTimeWindow

This event is generated when entering a period of blocked content as configured in the BlockContentTimeWindow attribute.

This event has no fields.


SmartphoneKey Notes

  • Cluster 1295 is not currently exposed by SmartphoneKey devices. This page documents the Matter 1.6.1 specification so that future devices can be interpreted without changes to the backend.
  • Shadow paths follow endpoint/1295/attribute; attribute values that the device reports as unreadable are written as n/a.
  • Attribute IDs, command IDs and enum values on this page come from the CSA Matter 1.6.1 data model; descriptions are condensed from the specification text.