Hi,
I've been looking at the below code and I wanted to know how long (in seconds, minutes, etc.) EZMode is on for according to the value of SAMPLELIGHT_EZMODE_TIMEOUT_EVT which is 0x0004.
if ( events & SAMPLELIGHT_EZMODE_TIMEOUT_EVT )
{
zcl_EZModeAction ( EZMODE_ACTION_TIMED_OUT, NULL ); // EZ-Mode timed out
return ( events ^ SAMPLELIGHT_EZMODE_TIMEOUT_EVT );
}