AnsweredAssumed Answered

JN5179 write attrib 0x10 to IASZone with 0xF0 data type fail

Question asked by Benjamin Chang on Jun 14, 2017
Latest reply on Dec 19, 2017 by vivek vaghela

With JN5179, we hope to perform enrolment to IASZone device. We take Device (JN-AN-1218-Zigbee-3-0-Light-Bulb-v1002,DimmableLight), and added IASzone cluster. Try on Coordinator (JN-AN-1216-Zigbee-3-0-IoT-ControlBridge) with ZGWUI tool, but failed.

We followed "Section 36 of JN-UG-3115", and try to accomplish "36.3.2  Auto-Enroll-Response". The 2nd item is "Write Attribute command" with IEEE address (8-byte). But "data" field of ZGWUI can accept single hex data only. Below are the logs. Please check and comment. Is there a way that we can accomplish the enrollment task using ZGWUI?

Raw Data/Received Message

<1>[Read Attrib] with (E_CLD_IASZONE_ATTR_ID_IAS_CIE_ADDRESS=0x0010)

09:28:16.189 -> 01 02 11 02 10 02 10 02 1E E6 02 12 6A 81 02 11 02 11 02 15 02 10 02 10 02 10 13 02 17 02 11 02 10 10 03

09:28:16.301 <- 01 80 00 00 04 83 00 06 01 00 03

09:28:16.371 <- 01 81 00 00 14 94 06 6A 81 01 05 00 00 10 00 F0 00 08 00 00 00 00 00 00 00 00 03

Type: 0x8000 (Status)

  Length: 4

  Status: 0x00 (Success)

  SQN: 0x06

  Message: _

Type: 0x8100 (Read Attrib Response)

  SQN: 0x06

  Src Addr: 0x6A81

  EndPoint: 0x01

  Status: 0x00

  Cluster ID: 0x0500 (Security & Safety: IAS Zone)

  Attribute ID: 0x0010

  Attribute Size: 0x0008

  Attribute Type: 0xF0 (IEEE Address)

  Attribute Data: 00:00:00:00:00:00:00:00 //(IEEE address after reset)

<2>[Write Attrib] with (Type:E_ZCL_IEEE_ADDR = 0xf0, Data=0x38 //1-byte, ZGWUI required(or err)

>Got: (Write Attrib Response) with error!

09:28:33.165 -> 01 02 11 10 02 10 10 20 02 12 6A 81 02 11 02 11 02 15 02 10 02 10 02 10 13 02 17 02 11 02 10 10 F0 38 03

09:28:33.309 <- 01 80 00 00 04 92 00 07 01 10 03

09:28:33.401 <- 01 81 10 00 0C 12 07 6A 81 01 05 00 7F 38 20 00 00 00 03

Type: 0x8000 (Status)

  Length: 4

  Status: 0x00 (Success)

  SQN: 0x07

  Message: __

Type: 0x8110 (Write Attrib Response)

  SQN: 0x07

  Src Addr: 0x6A81

  Src Ep: 0x01

  Cluster ID: 0x0500 (Security & Safety: IAS Zone)

  Attribute ID: 0x7F38                           // error why?

  Attribute Size: 0x0000                        // ??

  Attribute Type: 0x00 (Unknown)        // ??

  Status: 0x20                                        // ??

<3>[Read Attrib] with (E_CLD_IASZONE_ATTR_ID_IAS_CIE_ADDRESS=0x0010)

>got: Attribute Data: 38:38:38:38:38:38:38:38  // seems the 1st byte has been changed

09:28:40.796 -> 01 02 11 02 10 02 10 02 1E E6 02 12 6A 81 02 11 02 11 02 15 02 10 02 10 02 10 13 02 17 02 11 02 10 10 03

09:28:40.933 <- 01 80 00 00 04 8D 00 08 01 00 03

09:28:42.551 <- 01 81 00 00 14 9A 08 6A 81 01 05 00 00 10 00 F0 00 08 38 38 38 38 38 38 38 38 03

Type: 0x8000 (Status)

  Length: 4

  Status: 0x00 (Success)

  SQN: 0x08

  Message: _

Type: 0x8100 (Read Attrib Response)

  SQN: 0x08

  Src Addr: 0x6A81

  EndPoint: 0x01

  Status: 0x00

  Cluster ID: 0x0500 (Security & Safety: IAS Zone)

  Attribute ID: 0x0010

  Attribute Size: 0x0008

  Attribute Type: 0xF0 (IEEE Address)

  Attribute Data: 38:38:38:38:38:38:38:38      // seems the 1st byte has been changed

<4.TBD>[Write Attrib] with Data=00:15:8D :00:00:E0:7A:3E //8-byte,ZGWUI is to be revised

 Regards,

Benjamin

 

Outcomes