|
11 | 11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
12 | 12 | # See the License for the specific language governing permissions and
|
13 | 13 | # limitations under the License.
|
14 |
| -# Auto-generated scripts for harness use only, please review before automation. The endpoints and cluster names are currently set to default |
15 | 14 |
|
16 | 15 | name: 11.2.1. [TC-BINFO-2.1] Attributes [DUT-Server]
|
17 | 16 |
|
@@ -720,3 +719,87 @@ tests:
|
720 | 719 | attribute: "ProductAppearance"
|
721 | 720 | response:
|
722 | 721 | value: ProductAppearancevalue
|
| 722 | + |
| 723 | + - label: "Step 62: TH reads SpecificationVersion from the DUT." |
| 724 | + PICS: BINFO.S.A0015 |
| 725 | + command: "readAttribute" |
| 726 | + attribute: "SpecificationVersion" |
| 727 | + response: |
| 728 | + saveAs: SpecificationVersionValue |
| 729 | + |
| 730 | + - label: |
| 731 | + "Step 62: If the SpecificationVersion value is absent or zero this |
| 732 | + step cannot be verified, move on to the next step" |
| 733 | + PICS: BINFO.S.A0015 |
| 734 | + cluster: "EqualityCommands" |
| 735 | + command: "UnsignedNumberEquals" |
| 736 | + arguments: |
| 737 | + values: |
| 738 | + - name: "Value1" |
| 739 | + value: SpecificationVersionValue |
| 740 | + - name: "Value2" |
| 741 | + value: null |
| 742 | + response: |
| 743 | + - values: |
| 744 | + - name: "Equals" |
| 745 | + saveAs: IsExpectedValue |
| 746 | + |
| 747 | + - label: |
| 748 | + "Step 62: SpecificationVersion value should in the inclusive range of |
| 749 | + (0 to 4294967295) and the initial 7 bits are set to zero." |
| 750 | + runIf: "!IsExpectedValue" |
| 751 | + PICS: BINFO.S.A0015 |
| 752 | + command: "readAttribute" |
| 753 | + attribute: "SpecificationVersion" |
| 754 | + response: |
| 755 | + value: SpecificationVersionValue |
| 756 | + constraints: |
| 757 | + minValue: 0 |
| 758 | + maxValue: 4294967295 |
| 759 | + hasMasksClear: [0x1, 0x2, 0x4, 0x8, 0x10, 0x20, 0x40] |
| 760 | + |
| 761 | + - label: |
| 762 | + "Step 63: TH sends Write request message to DUT to change the value of |
| 763 | + SpecificationVersion to '0x0103AAF1'." |
| 764 | + PICS: BINFO.S.A0015 |
| 765 | + command: "writeAttribute" |
| 766 | + attribute: "SpecificationVersion" |
| 767 | + arguments: |
| 768 | + value: "0x0103AAF1" |
| 769 | + response: |
| 770 | + error: UNSUPPORTED_WRITE |
| 771 | + |
| 772 | + - label: "Step 64: TH reads SpecificationVersion attribute from DUT" |
| 773 | + PICS: BINFO.S.A0015 |
| 774 | + command: "readAttribute" |
| 775 | + attribute: "SpecificationVersion" |
| 776 | + response: |
| 777 | + value: SpecificationVersionValue |
| 778 | + |
| 779 | + - label: "Step 65: TH reads MaxPathsPerInvoke from the DUT." |
| 780 | + PICS: BINFO.S.A0016 |
| 781 | + command: "readAttribute" |
| 782 | + attribute: "MaxPathsPerInvoke" |
| 783 | + response: |
| 784 | + saveAs: MaxPathsPerInvokeValue |
| 785 | + constraints: |
| 786 | + minValue: 1 |
| 787 | + maxValue: 65535 |
| 788 | + |
| 789 | + - label: |
| 790 | + "Step 66: TH sends Write request message to DUT to change |
| 791 | + MaxPathsPerInvoke to a different value." |
| 792 | + PICS: BINFO.S.A0016 |
| 793 | + command: "writeAttribute" |
| 794 | + attribute: "MaxPathsPerInvoke" |
| 795 | + arguments: |
| 796 | + value: 12345 |
| 797 | + response: |
| 798 | + error: UNSUPPORTED_WRITE |
| 799 | + |
| 800 | + - label: "Step 67: TH reads MaxPathsPerInvoke attribute from DUT" |
| 801 | + PICS: BINFO.S.A0016 |
| 802 | + command: "readAttribute" |
| 803 | + attribute: "MaxPathsPerInvoke" |
| 804 | + response: |
| 805 | + value: MaxPathsPerInvokeValue |
0 commit comments