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

Setting attribute not working

Hello everyone.

I am trying to set the attributes' value of a custom cluster I have defined.

I have defined 2 attributes:

I have followed the same procedure as in the Multisensor example included in SDK for Thread and Zigbee v4.1.0 to set the new value for one of the attributes, in this case, the first one.

But when I use the API function "zb_zcl_set_attr_val()", the status retuned is always "ZB_ZCL_STATUS_INVALID_VALUE". I have tried several possible solutions, but neither of them worked.

Could anyone give me some tips or guidance on what I am doing wrong please?

Thanks, regards.

Parents Reply Children
  • Hi,

    Sorry for not getting back to you earlier. Are you still facing this issue, or did you manage to resolve it?

    Did you look at the implementation of the pressure measurement cluster, in zb_zcl_pressure_measurement, when creating the custom cluster and declaring the attributes? This cluster is implemented in the application to use as a reference for implementing your own clusters and attributes.

    Best regards,

    Marte

Related