Hi guys,
I have a question about migration guide from the old 4.1.0 thread and zigbee sdk to 4.2.0.
The story is that I have this project running 4.1.0 on my custom board with some bugs that seems to be fixed in 4.2.0 due to the release note. When I tried to update the SDK by pasting the new SDK in and then change SDK config as well as the makefile. For some more relevant context, the code I used as reference is the zigbee example light bulb to modify the project but after I successfully compile and flash the device, in zigbee_default_signal_handler I receive signal ID 22 which is the device can sleep signal but in the init system I have put it as router role. I also update the zigbee_helpers.c with
ZB_ERROR_CHECK(zb_zcl_set_backward_comp_mode(ZB_ZCL_AUTO_MODE));
ZB_ERROR_CHECK(zb_zcl_set_backward_compatible_statuses_mode(ZB_ZCL_STATUSES_ZCL8_MODE));
And as far as I know the this signal is only trigger when calling zb_sleep_now in the old SDK. So my question is that in the new SDK is there any part to be consider when init the system to not accidently trigger this behavior.
Thank you for any helps,
Best regards,
Tu