cancel
Showing results for 
Search instead for 
Did you mean: 

STM32WB55: IasZone Server did not generate correct notification

DL_Weng
Associate II

Hi,

I am using Zigbee_OnOff_Router_NVM to test the opening and closing function of IasZone Server. I found that by default, the notification generated by modifying the status value is 'Report Attributes'. But according to document 'Zigbee Cluster Library', a 'Zone Status Change Notification Command' should be generated.

I also found that if the following code is commented on, it can generate the 'Zone Status Change Notification Command' notification correctly, but the status value will lose persistence.

 

  /* Allocate the attributes */
//  if (ZbZclAttrAppendList(zigbee_app_info.iaszone_server_1, zcl_iaszone_server_attr_list, ZCL_ATTR_LIST_LEN(zcl_iaszone_server_attr_list))) 
//  {
//        ZbZclClusterFree(zigbee_app_info.iaszone_server_1);
//        return ;
//  }

 

 

I want to know how to generate 'Zone Status Change Notification Command' notifications while enabling data persistence.

I provided the source code I used.

 

Thanks

DL_Weng

0 REPLIES 0