Zigbee device callback buffer/memory management

The zigbee device callback installed via ZB_ZCL_REGISTER_DEVICE_CB takes a buffer id or param struct as the first argument and none of the examples I can find, ever frees that buffer/param. Does zboss free that internally after the device callback is done, and if so, does that depend on the status value that the device callback sets in the zb_zcl_device_callback_param_t? E.g. does it only free it if the status is RET_ERROR but not for RET_OK?

Parents Reply Children
No Data
Related