* Test environment :
- SDK : JN-SW-4170， Build Number 1840
- device :
Coordinator, base on JN-AN-1216-Zigbee-3-0-IoT-ControlBridge
end device，base on JN-AN-1220-Zigbee-3-0-Sensors
I use LED to determine if the device is sleeping.
Most of the time the end device is running normally.
When end device not to enter sleep，the device still can report attribute.
I think is this condition false,but i don't know why.
Can you give me some help or tips?
Did you change the reporting time?
The LED that you are working on. The LED is off when you are in sleep mode?
Are you working on the Light Sensor?
Thank you for your reply。
1.Yes, I change the reporting time.
Actually, I use the button to control attribute report.
My report function:
2.LED light up on the wakeup，off on the sleep
3.I am working on the Temperature and humidity sensor.
As my understanding, if you press the button you will send the attribute report.
Did you try to send this data with a timer?
Is the device entering into sleep mode without the led toggle?
Yes, press the button will send the attribute report.
Normally, a attribute report will be sent every two hours.
I always turn off led before going to sleep.
Could you please print out the return value of the u8NumberOfNonSleepPreventingTimers?
The TRACE_REPORT will print out the messages in the SED, this will provide a better debugging of the application.