Hello!
I'm trying to implement a thermostat cluster handling. I've managed to implement read/write thermostat attributes handling using zigbee device callback. The problem is that I can't get thermostat cluster's Setpoint Raise/Lower to work.
I tried to debug the application and I can see in `gdb`'s backtrace that `zb_zcl_thermostat_invoke_user_app` fails:
0x000013fe in zb_nrf52840_abort () at /home/kacper/Workspace/nRF_SDK/ThreadZB/ThreadZB_v3_0_0/external/zboss/osif/zb_nrf52840_common.c:151151 zb_osif_serial_flush();>>> bt#0 0x000013fe in zb_nrf52840_abort () at /home/kacper/Workspace/nRF_SDK/ThreadZB/ThreadZB_v3_0_0/external/zboss/osif/zb_nrf52840_common.c:151#1 0x0001476e in zb_zcl_thermostat_invoke_user_app ()#2 0x00010912 in zb_sched_loop_iteration ()#3 0x000046f6 in main () at ./app_zb.c:111>>>
It is some ZBOSS internal error. I can't get device callback to be called, the application hangs in an endless loop."
EDIT:
When I don't register the device callback I can see that the application doesn't hang. It hangs on reception of Setpoint Raise/Lower command only when ZB_ZCL_REGISTER_DEVICE_CB is called.