Topic

FAQ
Login Register
tlsr8258 的demo SDK ,level control 配置  startUpCurrentLevel = 0xff,不起作用
Apr 09, 2021 09:50

/

A

/A


我调试ZigBee协议栈,
在Level control cluster中,这个变量设置0xff应该是要让重启后保持上一个level值。
我这边试验发现,把level调低之后重启,level又变到最大值了




1 replies
Bin Jun 28, 2021 22:56
0
/A

请确认sampleLight.c中以下功能是否打开。

void app_task(void)
{
    app_key_handler();
    localPermitJoinState();
    if(BDB_STATE_GET() == BDB_STATE_IDLE){
        //factroyRst_handler();
        report_handler();
#if 0/* NOTE: If set to '1', the latest status of lighting will be stored. */
        sampleLightAttrsChk();
#endif
    }
}