This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Linux/CC2530: Linux Gateway can not receive IAS ZONE packet (IAS ZONE status change nofitication)

Part Number: CC2530
Other Parts Discussed in Thread: Z-STACK,

Tool/software: Linux

Hi, 

My CC2530 run ZNP firmware with Z-stack linux gateway.

I face some problem with IAS ZONE devices, when the sensor device join success and enrolled finish, but the linux gateway can receive the IAS Zone status change nofitication.

When sniffer the air packet, the IAS ZONE sensor device does send the notification packet, but the gateway can't received, only received the battery info(read attribute rsp).

Does anyone can give me some advice?

The attached file is the sniffer packet.

Thanks

20180321gas sensor(join net and alarm).zip

  • Sorry to fix the typo about the description
    linux gateway can not receive the IAS Zone status change notification.
  • Hi Endace,

    What Zigbee stack version are you using for your CC2530 ZNP? Z-STACK-HOME 1.2.2a has several bugs (including memory leaks), the fixes for which are documented on the following Wiki page: processors.wiki.ti.com/.../Zigbee_Known_Issues_and_Proposed_Fixes

    On the other hand, Z-Stack 3.0.1 ZNP has fixes for many bugs but is not compatible with the Z-Stack HA 1.2 Linux Gateway out-of-the-box due to changes in the Zigbee specifications between these two versions. There is however an updated Zigbee 3.0 Linux Gateway package planned for release which is compatible. If using 3.0 then heap memory size is also a concern and should be increased from 2170 to 2800 (also covered in the aforementioned Wiki).

    There are a few IAS Zone sample applications available for both Home 1.2.2a and 3.0.x, please refer to the following: processors.wiki.ti.com/.../Fire_Alarm_System

    Edit: By looking through the Fire Alarm System Wiki page you will see that the CIE (coordinator) writes the CIE IEEE Address attribute before the Fire Detector (router) sends an IAS Zone Enroll Request.  Your system is immediately sending the Zone Enroll Request after joining (without the IEEE Address attribute) which could be causing your issue.  Please try re-organizing your network setup and see if this fixes the issue.

    Regards,
    Ryan

  • Hi Ryan,

    My cc2530 ZNP using z-stack is Z-Stack Home 1.2.2a.44539

    But according to the sniffer packet, we have seen the read attribute (zone state) fail, end write enroll rsp from device fail.

    Are there step fail result chip can not received the IAS Zone state change notification packet?

    Or is the incorrect enroll steps result?

    Thanks

    Endace

  • If I remember correctly, Z-Stack Linux Home Gateway reference design doesn't include IAS Zone device support. I think you have to revise it to support IAS Zone by yourself.
  • Hi YiKai,

    We have already implement for IAS Zone device, and we get the zigbee certification for zigbee pro.

    We have meet IoT issue with IAS Zone TI solution sensor, but there no problem with ember chip solution.

    The problem as before I mention, when device join the network, our coordinatior(CC2530 ZNP) can not receive the zone status change notification.

    Sniffer the packet, TI Zone device has send the notification packet, but the gateway does not see any packet incoming.

    Does any problem in enroll steps result?

    Thanks
    Endace
  • As I had replied, TI Z-Stack reference design doesn't support IAS zone cluster and that's why device device sends IAS zone notification but GW cannot received it.
  • As YK stated, TI's ZNP and gateway resources do not automatically support IAS Zone devices. This is something you will have to include using the ZCL v6 specifications and Fire Alarm examples as a guide. Please refer to the Z-Stack Linux Gateway API as well.

    Regards,
    Ryan
  • OK, I know.
    I will try to implement it.
    Thank you for the recommend.