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
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,
How do I get the IASZone.h and zcl_option.h file?
ZCL API is under nRF5_SDK_for_Thread_and_Zigbee\external\zboss\include\zcl which includes ZCL IAS Zone cluster (zb_zcl_ias_zone.h)
Where do I include the structures, functions, etc. into?
Please see Including header files documentation.
-Amanda H.
Hi Amanda,
What about the zcl_option.h?
So, in order to implement the IAS Zone into the CLI agent example, I only need to add the relevant codes in the CLI agent example in "examples/zigbee/experimental/cli/cli_agent/main.c itself and include the relevant IASZone and zcl_option header files in the example am I right?
As for the function etc, I can just use the APIs in the nRF5 SDK for Thread and ZigBee?
After the required implementations, how do I update the hex file for the nRF52840DK?
Sorry I'm kinda lost as its my first time attempting to do implementation on a development board.
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.
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.