Hi Team,
In zed battey powered device, we set poll rate to zero.
We need a way to poll network for specific time only (say, 3 secs) then go back to sleep again.
Regards,
Walter
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Hi Team,
In zed battey powered device, we set poll rate to zero.
We need a way to poll network for specific time only (say, 3 secs) then go back to sleep again.
Regards,
Walter
My poll rate already set to =0, because sensor only. I cannot set poll rate to 3 sec because this one always wake up.
I need one time only, I want to activate RX for 3secs then go back to deep sleep(poll rate zero behaviour).
When a button pressed, I will send report to coordinator.
Then, RX for 3secs.Then, go back to sleep mode.
zstack_sysConfigWriteReq_t writeReq = { 0 }; // Set the new poll rates writeReq.has_pollRate = true; writeReq.pollRate = POLL_RATE; writeReq.pollRateType = POLL_RATE_TYPE_DEFAULT; Zstackapi_sysConfigWriteReq(appServiceTaskId, &writeReq); // disable response and queued poll rates writeReq.pollRate = 0xFFFFFFFF; writeReq.pollRateType = POLL_RATE_TYPE_QUEUED; Zstackapi_sysConfigWriteReq(appServiceTaskId, &writeReq); writeReq.pollRateType = POLL_RATE_TYPE_RESPONSE; Zstackapi_sysConfigWriteReq(appServiceTaskId, &writeReq);I wasd thinking of putting poll rate = X secs to activate recieve for specified time. Then, after that we can set back to 0. Would it work?
Regards,
Walter