Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

UNSUPPORTED_CLUSTER during ./chip-tool testing (CON-1114) #894

Closed
anuarrozman opened this issue Apr 4, 2024 · 4 comments
Closed

UNSUPPORTED_CLUSTER during ./chip-tool testing (CON-1114) #894

anuarrozman opened this issue Apr 4, 2024 · 4 comments

Comments

@anuarrozman
Copy link

Hi, so ive been testing my Matter device with temperature measurement cluster. But keep getting unsupported cluster error during ./chip-tool testing.

Here's the command

./chip-tool temperaturemeasurement read cluster-revision 1 1

Here's the output of chip-tool

:523367] CHIP:DMG: ReportDataMessage =
[1712219652.186473][523365:523367] CHIP:DMG: {
[1712219652.186475][523365:523367] CHIP:DMG:    AttributeReportIBs =
[1712219652.186480][523365:523367] CHIP:DMG:    [
[1712219652.186483][523365:523367] CHIP:DMG:            AttributeReportIB =
[1712219652.186488][523365:523367] CHIP:DMG:            {
[1712219652.186491][523365:523367] CHIP:DMG:                    AttributeStatusIB =
[1712219652.186494][523365:523367] CHIP:DMG:                    {
[1712219652.186497][523365:523367] CHIP:DMG:                            AttributePathIB =
[1712219652.186501][523365:523367] CHIP:DMG:                            {
[1712219652.186504][523365:523367] CHIP:DMG:                                    Endpoint = 0x1,
[1712219652.186508][523365:523367] CHIP:DMG:                                    Cluster = 0x402,
[1712219652.186511][523365:523367] CHIP:DMG:                                    Attribute = 0x0000_FFFD,
[1712219652.186514][523365:523367] CHIP:DMG:                            }
[1712219652.186518][523365:523367] CHIP:DMG:
[1712219652.186521][523365:523367] CHIP:DMG:                            StatusIB =
[1712219652.186525][523365:523367] CHIP:DMG:                            {
[1712219652.186528][523365:523367] CHIP:DMG:                                    status = 0xc3 (UNSUPPORTED_CLUSTER),
[1712219652.186531][523365:523367] CHIP:DMG:                            },
[1712219652.186534][523365:523367] CHIP:DMG:
[1712219652.186536][523365:523367] CHIP:DMG:                    },
[1712219652.186540][523365:523367] CHIP:DMG:
[1712219652.186542][523365:523367] CHIP:DMG:            },
[1712219652.186547][523365:523367] CHIP:DMG:
[1712219652.186549][523365:523367] CHIP:DMG:    ],
[1712219652.186553][523365:523367] CHIP:DMG:
[1712219652.186555][523365:523367] CHIP:DMG:    SuppressResponse = true,
[1712219652.186558][523365:523367] CHIP:DMG:    InteractionModelRevision = 11
[1712219652.186560][523365:523367] CHIP:DMG: }
@github-actions github-actions bot changed the title UNSUPPORTED_CLUSTER during ./chip-tool testing UNSUPPORTED_CLUSTER during ./chip-tool testing (CON-1114) Apr 4, 2024
@dhrishi
Copy link
Collaborator

dhrishi commented Apr 4, 2024

@anuarrozman Are you sure that the temperaturemeasurement cluster is indeed present on endpoint 1? Can you read the server-list attribute on the descriptor cluster on endpoint 1? Also, which device type is present on your device type?

@anuarrozman
Copy link
Author

Hi @dhrishi . Thank you. Ive check again using this command

Command:

./chip-tool temperaturemeasurement read cluster-revision 1 3

Output:

[1712221217.663774][552238:552240] CHIP:DMG: ReportDataMessage =
[1712221217.663776][552238:552240] CHIP:DMG: {
[1712221217.663777][552238:552240] CHIP:DMG:    AttributeReportIBs =
[1712221217.663780][552238:552240] CHIP:DMG:    [
[1712221217.663782][552238:552240] CHIP:DMG:            AttributeReportIB =
[1712221217.663784][552238:552240] CHIP:DMG:            {
[1712221217.663786][552238:552240] CHIP:DMG:                    AttributeDataIB =
[1712221217.663788][552238:552240] CHIP:DMG:                    {
[1712221217.663790][552238:552240] CHIP:DMG:                            DataVersion = 0xf2d2d49e,
[1712221217.663792][552238:552240] CHIP:DMG:                            AttributePathIB =
[1712221217.663794][552238:552240] CHIP:DMG:                            {
[1712221217.663796][552238:552240] CHIP:DMG:                                    Endpoint = 0x3,
[1712221217.663798][552238:552240] CHIP:DMG:                                    Cluster = 0x402,
[1712221217.663800][552238:552240] CHIP:DMG:                                    Attribute = 0x0000_FFFD,
[1712221217.663801][552238:552240] CHIP:DMG:                            }
[1712221217.663803][552238:552240] CHIP:DMG:
[1712221217.663806][552238:552240] CHIP:DMG:                            Data = 4,
[1712221217.663807][552238:552240] CHIP:DMG:                    },
[1712221217.663810][552238:552240] CHIP:DMG:
[1712221217.663812][552238:552240] CHIP:DMG:            },
[1712221217.663814][552238:552240] CHIP:DMG:
[1712221217.663815][552238:552240] CHIP:DMG:    ],
[1712221217.663818][552238:552240] CHIP:DMG:
[1712221217.663820][552238:552240] CHIP:DMG:    SuppressResponse = true,
[1712221217.663821][552238:552240] CHIP:DMG:    InteractionModelRevision = 11
[1712221217.663822][552238:552240] CHIP:DMG: }

now it didnt show any error, but during TH Matter test, I get this error.

Executing Test Step: Step 2: TH reads ClusterRevision attribute from the DUT
Test Failure: The test expects no error but the "UNSUPPORTED_CLUSTER" error occured.
Test Failure: The test expects a value but it does not exists in the response."
Test Step Completed [FAILED]: Step 2: TH reads ClusterRevision attribute from the DUT

@dhrishi
Copy link
Collaborator

dhrishi commented Apr 4, 2024

now it didnt show any error, but during TH Matter test, I get this error.

Which endpoint is the TH reading on? Looks like it is reading the one that does not have the cluster

@anuarrozman
Copy link
Author

I'm sorry , it's my mistake. I didnt specify the endpoint before starting the TH. Thank you for your time. I'll close this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants