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

zigbee power config cluster

Hi,

  1. ZigBee Cluster Library Specification(Rev 6) -> 3.3.2.2.3  Battery Information Attribute Set  -> Table 3-18. Attributes of the Battery Information Attribute Set  tell me the BatteryVoltage attribute access is "Read only",  and the BatteryPercentageRemaining attribute access is "Read Only" & "Reportable".

But there is a define "ZB_SET_ATTR_DESCR_WITH_ZB_ZCL_ATTR_POWER_CONFIG_BATTERY_VOLTAGE_ID" on zb_zcl_power_config.h indicate that the BatteryVoltage attribute access support "Reportable". 

The define  "ZB_SET_ATTR_DESCR_WITH_ZB_ZCL_ATTR_POWER_CONFIG_BATTERY_REMAINING_ID" indicate that the BatteryPercentageRemaining  attribute access not support "Reportable".

2. Is zigbee sdk3.1 support any power config cluster attributes reporting ? I add power config cluster and then I can read BatteryVoltage and BatteryPercentageRemaining  attributes, but can not let them to do reporting.

Best Regards

Song

Parents
  • Because base on door lock example, not just edit the power config cluster header, I have to modify "zb_ha_door_lock.h".

    I must edit the "ZB_HA_DECLARE_DOOR_LOCK_CLUSTER_LIST" macro and "C750_ZB_ZCL_DECLARE_DOOR_LOCK_SIMPLE_DESC" macro to add power config cluster.

    The most important is the define value of "ZB_HA_DOOR_LOCK_REPORT_ATTR_COUNT".

    Best Regards

    Song

Reply
  • Because base on door lock example, not just edit the power config cluster header, I have to modify "zb_ha_door_lock.h".

    I must edit the "ZB_HA_DECLARE_DOOR_LOCK_CLUSTER_LIST" macro and "C750_ZB_ZCL_DECLARE_DOOR_LOCK_SIMPLE_DESC" macro to add power config cluster.

    The most important is the define value of "ZB_HA_DOOR_LOCK_REPORT_ATTR_COUNT".

    Best Regards

    Song

Children
No Data
Related