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.

How can i set the IAS_ZONE(ZED)into sleep Mode?

Hi everyone,

           There is a ZED which need to  achieve the following functions :

          1.  when it is detected by the something, it will sending MSG to CIE,and i simulate like a key interruption

          2. it was powered by battery , it will checking the battery everyday one time,it will sending the low power MSG,if battery is low

          

           and i want to make this ZED into sleep Mode in  when idle。

is that right  setting as below:

          1. add  POWER_SAVING  in compilers

          2. define RFD_RCVC_ALWAYS_ON=FALSE in f8wConfig.cfg file

         3. change some define in f8wConfig.cfg file

                -DPOLL_RATE=0

                -DQUEUED_POLL_RATE=0

                -DRESPONSE_POLL_RATE=0

 

 

  • 1&2. Yes.

    3. According to HA profile, it suggest to set polling rate to 60 seconds.

  • Hi Chen

    3. According to HA profile, it suggest to set polling rate to 60 seconds.

        all of those three define?

        do you have the meaning of those three define? where i can fine related datasheet?

  • My suggestion of  queued poll rate and response poll rate are 1 second.

                    -DQUEUED_POLL_RATE=1000

                    -DRESPONSE_POLL_RATE=1000

    You can find the followings in latest Zigbee HA spec

    .3.4 End Device Parameters
    IndirectPollRate
    Set by stack profile. This is how often a device will poll its parent for new data. It
    is recommended that an end device designed to receive data should poll its parent
    every 60 seconds.

  • hi chen

               there is the definition of those three poll rate in f8wconfig.cfg file

    -DPOLL_RATE=1000


    -DQUEUED_POLL_RATE=100


    -DRESPONSE_POLL_RATE=100

                if we want to change them,whether should we change the f8wconfig.cfg file directly or use the function in app.c 

             NLME_SetPollRate(60);

             NLME_SetQueuedPollRate(1);

            NLME_SetResponsePollRate(1);

     

  • I suggest you to change them n f8wconfig.cfg file.

  • Hi Chen,

               when ZED step into sleep,all the application will be close

              as I set a led to showing when the ZED was join Internet success, but when POWER SAVING enable,the LED will be change to flash (1s on ,1s  off)

             so if ZONE enable alarm, how can i make a led showing for several seconds  when POWER SAVING enable,

    Could it be said that it just only be achieved by hardware 

  • You can use API HalLedBlink(...).