This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Implementing IAS Zone

Hello,

I am trying to implement the IAS Zone on a nRF52840DK, with reference to the CLI agent example.

How do I get the IASZone.h and zcl_option.h file?

Where do I include the structures, functions, etc. into?

Thank you.

Regards,

Terence

  • Hi Terence, 

    Not sure I understand the question. If your Zigbee application can work correctly, you should able to use nRF-Sniffer-for-802154 for the 802.15.4 protocols, like Thread and Zigbee to get the sniffed packets. 

    -Amanda H.

  • Hi Amanda,

    What I meant was, I've already sniffed and gotten a .pcap file of both a normal communication between a hub and an end device, and another .pcap file of the nrf52840dk running on cli with the same end device. I only need to implement the commands present in the normal ZigBee .pcap which are missing in the .pcap of the cli example, am I right?

    Regards,

    Terence

  • Hi Terence, 

    If you implement IAS Zone in the CLI agent example correctly, the sniffer is able to trace the package. 

    -Amanda H.

  • Hi Amanda,

    I am also trying to implement IAS Zone enrollment in the Zigbee CLI agent example, but could not find sufficient amount of documentation and/or samples to figure out correct way of implementing enrollment algorithm using ZBOSS API.

    I have read §8.2 in ZigBee Cluster Library Specs and ZBOSS IAS Zone clusters API specs, which were very useful, but still incomplete. At the end of the block with IAS Zone server example I found following reference: "The complete set of IAS Zone samples can be found in /application/ias_zone_sensor", so I was hoping to find missing bits of implementation sequence there, but could not locate that folder neither in the nRF SDK (4.1.0), nor in in the ZBOSS 1.0 SDK. Could you please help me to find those samples?

    - Nikita

    P.S.> Aside from that, where can I find definition of the macro ZB_GET_BUF_PARAM() which is used sometimes inside callback functions, like zcl_specific_cluster_cmd_handler() given in the above mentioned IAS Zone command handler sample. I assume this is an obsolete cast, which disappeared in SDK v4.x, but it is still unclear what to do to it, when it is found in samples.

  • Hi Nikita, 

    There are no IAS Zone examples in the SDK unfortunately. That's a mistake in the documentation. Now users will have to implement it themselves. I would suggest you create a new support case to get some help implementing it.

    -Amanda H.

Related