You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Send AddScene command to DUT with invalid ExtensionField (Invalid attribute ID for given cluster).
Here AttributeID 0x4011 is Invalid ID from Color Control Cluster
As per the specification, In Add Scene Command If the ExtensionFieldSetStructs list is formatted invalid according to the ExtensionFieldSetStruct structure definition, then the status SHALL be INVALID_COMMAND in the AddSceneResponse,
But in current SDK the Status Response is "SUCCESS"
Feature Area
Area:Scenes
Test Case
TC-S-2.2
Reproduction steps
./chip-all-clusters-app
/chip-tool pairing onnetwork 1 20202021
Precondition Steps for adding a Group:
./chip-tool groupkeymanagement key-set-write '{"groupKeySetID": "0x01a1","groupKeySecurityPolicy": 0, "epochKey0":"a0a1a2a3a4a5a6a7a8a9aaabacadaeaf","epochStartTime0": 1110000,"epochKey1":"b0b1b2b3b4b5b6b7b8b9babbbcbdbebf", "epochStartTime1": 1110001,"epochKey2":"c0c1c2c3c4c5c6c7c8c9cacbcccdcecf", "epochStartTime2": 1110002 }' 1 0
./chip-tool groupkeymanagement write group-key-map '[{"groupId": "0x0001", "groupKeySetID": "0x01a1", "fabricIndex": 1}]' 1 0
./chip-tool groups add-group 0x0001 Gp1 1 1
Send AddScene command to DUT with invalid ExtensionField (Invalid attribute ID for given cluster).
Here AttributeID 0x4011 is Invalid ID from Color Control Cluster
Actual Outcome:
./chip-tool scenesmanagement add-scene 0x0001 0x01 1000 "scene name" '[{"clusterID": "0x0300", "attributeValueList":[{"attributeID": "0x4011", "attributeValue": "0x01"}]}]' 1 1
Expected Outcome:
./chip-tool scenesmanagement add-scene 0x0001 0x01 1000 "scene name" '[{"clusterID": "0x0300", "attributeValueList":[{"attributeID": "0x4011", "attributeValue": "0x01"}]}]' 1 1
Bug prevalence
Whenever I do
GitHub hash of the SDK that was being used
c158260
Platform
raspi
Anything else?
As per the specification, In Add Scene Command If the ExtensionFieldSetStructs list is formatted invalid according to the ExtensionFieldSetStruct structure definition, then the status SHALL be INVALID_COMMAND in the AddSceneResponse,
But in current SDK the Status Response is "SUCCESS"
Step that require review:
Test step 8f
Reference log:
TC-S-2.2(DUT).txt
TC-S-2.2(CNTRL).txt
Spec References:
Test Plan References:
The text was updated successfully, but these errors were encountered: