I am making a Switch with 4 endpoints. I am going to apply Scene cluster for this device but when I enable Scene cluster by adding the following define in zcl_option.h :
The project build failed: undefined reference to `vSaveScenesNVM'
Then I search on the internet and copy file: app_scenes.h/c from here into my project. It seems to be good when building. But when I flash program (file Bin) to chip JN5169, The program did not run, nothing happens.
Then I change some defines in zcl_option.h:
#define CLD_SCENES_MAX_NUMBER_OF_SCENES (10)
#define CLD_SCENES_MAX_SCENE_STORAGE_BYTES (16)
The program run but Stack dump when Initialize.
Can you help me to troubleshoot this problem, Help me how to use Scene Cluster?
Thanks and Best regards,