Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
It looks like ZBOSS's macro fiesta introduced a new argument in `ZB_ZCL_SET_ATTR_DESC_*` --  see [git blame](https://github.com/nrfconnect/sdk-nrfxlib/blame/11a7add841663509a20b51c0e208ad8091fe1132/zboss/production/include/zcl/zb_zcl_illuminance_measurement.h#L129)
  • Loading branch information
rbaron committed Oct 15, 2024
1 parent 3db3f90 commit 89f7d72
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions code/nrf-connect/samples/zigbee/src/prst_zb_soil_moisture_defs.h
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,11 @@ void prst_zcl_soil_moisture_init_client(void);

#define ZB_SET_ATTR_DESCR_WITH_PRST_ZB_ZCL_ATTR_SOIL_MOISTURE_VALUE_ID(data_ptr) \
{ \
PRST_ZB_ZCL_ATTR_SOIL_MOISTURE_VALUE_ID, \
ZB_ZCL_ATTR_TYPE_U16, \
ZB_ZCL_ATTR_ACCESS_READ_ONLY | ZB_ZCL_ATTR_ACCESS_REPORTING, \
(void*)data_ptr \
}
PRST_ZB_ZCL_ATTR_SOIL_MOISTURE_VALUE_ID, \
ZB_ZCL_ATTR_TYPE_U16, \
ZB_ZCL_ATTR_ACCESS_READ_ONLY | ZB_ZCL_ATTR_ACCESS_REPORTING, \
(ZB_ZCL_NON_MANUFACTURER_SPECIFIC), \
(void*)data_ptr}

#define PRST_ZB_ZCL_DECLARE_SOIL_MOISTURE_ATTRIB_LIST(attr_list, value) \
ZB_ZCL_START_DECLARE_ATTRIB_LIST_CLUSTER_REVISION(attr_list, PRST_ZB_ZCL_SOIL_MOISTURE) \
Expand Down

0 comments on commit 89f7d72

Please sign in to comment.