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 }
}
请确认sampleLight.c中以下功能是否打开。
{
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
}
}