Quantcast
Channel: Wireless Connectivity
Viewing all articles
Browse latest Browse all 116964

Forum Post: RE: Z-Stack Lighting release 1.0.0 Typo Error

$
0
0

Dear TopCat,

  Yes, it bit difficult to trace this bug.

 Precondition : we need to test the scenario with 2 server and 1 client.If you test with 1 server and 1 client.you wont see any issue.  Since we are using 2 profiles in ZLL . One during commissioning process Light Link Profile(0xC05E) and another one is Home automation profile(0x0104).  So issue will happen during the HA ZCL Message transfer.

Please follow the ZLL Test Specific "TP-CST-TC-03: Group addressed commands with server as DUT"

Abbrevations:

TH-->Test harness/Golden Unit ( You can use normal client).

DUT -->Device Under Test.

Test Preparation:

1.Power on TH CLIENT and DUT SERVER1.   

      After:TH CLIENT and DUT SERVER1 are powered on.

2.With TH CLIENT held close to DUT SERVER1, TH CLIENT touchlinks with DUT SERVER1.Touchlink should succeed.

 After: Observe touchlinking command frames between TH CLIENT and DUT SERVER1.

3.TH CLIENT sends a remove all groups command to DUT SERVER1.

After:TH CLIENT unicasts a ZCL remove all groups command frame to DUT SERVER1.

4.TH CLIENT sends an add group command to add DUT SERVER1 to group 1.

After:TH CLIENT unicasts a ZCL add group command frame to DUT SERVER1, with the group ID field set to 0x0001. DUT SERVER1 unicasts a ZCL add group response command frame to TH CLIENT.

 5.Power on DUT SERVER2.

After:DUT SERVER2 is powered on.

6. Conditional on step 5 being invoked:With TH CLIENT held close to DUT SERVER2, TH CLIENT touchlinks with DUT SERVER2.Touchlink should succeed.

After:Observe touchlinking command frames between TH CLIENT and DUT SERVER2.

 7.Conditional on step P5 being invoked:TH CLIENT sends a remove all groups command to DUT SERVER2.

 After:TH CLIENT unicasts a ZCL remove all groups command frame to DUT SERVER2.

8.Conditional on step P5 being invoked:TH CLIENT sends an add group command to add DUT SERVER2 to group 1.

After:TH CLIENT unicasts a ZCL add group command frame to DUT SERVER2, with the group ID field set to 0x0001.DUT SERVER2 unicasts a ZCL add group response command frame to TH CLIENT.

Test Procedure:

1.TH CLIENT sends an on command to group 1.

 Verification:TH CLIENT broadcasts a ZCL on command frame to group ID 0x0001.DUT SERVER1 should turn on. Conditional on step 5 being invoked: DUT SERVER2 should turn on.

2.TH CLIENT sends an off command to group 1.

Verification:TH CLIENT broadcasts a ZCL off command frame to group ID 0x0001. DUT SERVER1 should turn off.Conditional on step 5 being invoked: DUT SERVER2 should turn off.

3.TH CLIENT sends a toggle command to group 1.

Verification:TH CLIENT broadcasts a ZCL toggle command frame to group ID 0x0001. DUT SERVER1 should turn on.Conditional on step P5 being invoked: DUT SERVER2 should turn on.

4.TH CLIENT sends a read attributes command to DUT SERVER1 to read the OnOff attribute.

Verification:TH CLIENT unicasts a ZCL read attributes command frame for the OnOff attribute to DUT SERVER1. DUT SERVER1 unicasts a ZCL read attributes response command frame to TH CLIENT. OnOff attribute has the value 0x01.

5.Conditional on step 5 being invoked:TH CLIENT sends a read attributes command to DUT SERVER2 to read the OnOff attribute.

Verification:TH CLIENT unicasts a ZCL read attributes command frame for the OnOff attribute to DUT SERVER2. DUT SERVER2 unicasts a ZCL read attributes response command frame to TH CLIENT.OnOff attribute has the value 0x01.

6.TH CLIENT sends a toggle command to group 1.

Verification:TH CLIENT broadcasts a ZCL toggle command frame to group ID 0x0001.DUT SERVER1 should turn off. Conditional on step 5 being invoked: DUT SERVER2 should turn off.

7.TH CLIENT sends a read attributes command to DUT SERVER1 to read the OnOff attribute.

Verification:TH CLIENT unicasts a ZCL read attributes command frame for the OnOff attribute to DUT SERVER1. DUT SERVER1 unicasts a ZCL read attributes response command frame to TH CLIENT.OnOff attribute has the value 0x00.

8.Conditional on step 5 being invoked:TH CLIENT sends a read attributes command to DUT SERVER2 to read the OnOff attribute.

Verification:TH CLIENT unicasts a ZCL read attributes command frame for the OnOff attribute to DUT SERVER2. DUT SERVER2 unicasts a ZCL read attributes response command frame to TH CLIENT. OnOff attribute has the value 0x00.

Step 7 in Test procedure:we wont get the Read Attribute Response.

Message transfer before fixing the Typo Error.  

Client  -----Read(ON/OFF)Attribute ---------> Server1  

Client  <----- MAC Ack ---------------------  Server1    

Correct message transfer  after fixing the Typo error.  

Client  -----Read(ON/OFF)Attribute ---------> Server1  

Client  <----- MAC Ack ---------------------  Server1  

Client  ---- Data Req ----------------------> Server1  

Client  <------Ack -------------------------  Server1  

Client  <----Read Response(ON/OFF)Attribute-- Server1  

Client  ------ MAC Ack ---------------------> Server1

 Hope it helps. if you need further packet trace. feel free. I will capture and send it to you.

Thanks and Regards

Lakshman,PMP,PMI-RMP

 


Viewing all articles
Browse latest Browse all 116964

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>