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,
There is no zcl_option.h in the nRF5_SDK_for_Thread_and_Zigbee. Not sure what function you want, but all the ZCL functions are in ZCL API.
You would have to implement IAS Zone enrollment, which is an extra step in the commissioning process, in order to get it to work. In order to do this, you should read up on the IAS Zone cluster in the ZCL specification (chapter 8.2), specifically the implementation guidelines, which can be found in chapter 8.2.2.2.3 as well as our documentation for the IAS Zone cluster API and try to implement it using that.
TerenceC said:After the required implementations, how do I update the hex file for the nRF52840DK?
See the Programming the firmware documentation and tutorial video.
-Amanda H.
Hi Amanda,
Great to know that the ZCL APIs are provided for use. I guess I only can rely on the Macros, etc. in the ZCL APIs then. And yeah, thanks for the final two links, even though I found out after sending the previous reply.
Thanks.
Regards,
Terence
Hi Amanda,
Great to know that the ZCL APIs are provided for use. I guess I only can rely on the Macros, etc. in the ZCL APIs then. And yeah, thanks for the final two links, even though I found out after sending the previous reply.
Thanks.
Regards,
Terence