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.

ZigBee processing one message per wake cycle

What follows is the output from the OTA Daintree packet sniffer.  What we did here is to push a button twice in rapid succession that sends a command from one ZigBee device to another.  The receiving device sleeps for 10 secs (on a timer), wakes up, and determines if there is anything to do.  As can be seen from this sequence, it appears that the device is getting several ACK and "default response" messages of one sort or another, and, after the first flurry, sleeping without getting the others until it goes through more sleep/wake cycles.  The result of all this is that when these buttons are pressed in rapid succession, it may be thirty or more seconds before the user sees the results of the second button press.  These results and this packet sequence lead to two questions:

 

1.   Why are all these multiple ACKs and "default responses" being sent out after processing one command?

2.  Is there anyway to tell the sleeping device to process all the messages before it sleeps for 10 secs?

 

TIA,

anw

 

Seq No      Channel      Time           Time Delta      MAC Src      MAC Dest      NWK Src      NWK Dest      Protocol        Packet Type                       Security      FCS              
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

32912       12           15:40:11.494   +00:00:03.111   0x1430       0x0001                                                  IEEE 802.15.4   Command: Data Request                           Correct (0x01)   
32913       12           15:40:11.495   +00:00:00.001                                                                                      IEEE 802.15.4   Acknowledgment                                  Correct (0x01) 

Gets first message: command off

32914       12           15:40:21.516   +00:00:10.021   0x1430       0x0001                                                  IEEE 802.15.4   Command: Data Request                           Correct (0x01)   
32915       12           15:40:21.517   +00:00:00.001                                                                                      IEEE 802.15.4   Acknowledgment                                  Correct (0x01)   
32916       12           15:40:21.521   +00:00:00.005   0x0001       0x1430        0x0001       0x1430        ZigBee ZCL      HA: On/off: Off                                 Correct (0x01)   
32917       12           15:40:21.523   +00:00:00.001                                                                                       IEEE 802.15.4   Acknowledgment                                  Correct (0x01)   

Application acknowledge(?)

32918       12           15:40:21.530   +00:00:00.007   0x1430       0x0001        0x1430       0x0001        ZigBee APS      APS Acknowledgement: HA: On/off                 Correct (0x01)   

Acknowledge the acknowledgment(?)

32919       12           15:40:21.531   +00:00:00.001                                                                                       IEEE 802.15.4   Acknowledgment                                  Correct (0x01)

Get a couple of "default responses" and their acknowledgments  

32920       12           15:40:21.536   +00:00:00.005   0x1430       0x0001        0x1430       0x0001        ZigBee ZCL      HA: On/off: Default Response                    Correct (0x01)   
32921       12           15:40:21.537   +00:00:00.001                                                                                       IEEE 802.15.4   Acknowledgment                                  Correct (0x01)   
32922       12           15:40:21.689   +00:00:00.152   0x1430       0x0001        0x1430       0x0001        ZigBee ZCL      HA: On/off: Default Response                    Correct (0x01)   
32923       12           15:40:21.691   +00:00:00.001                                                                                       IEEE 802.15.4   Acknowledgment                                  Correct (0x01)   

Now, 10 secs have gone by before another data request, and...

32924       12           15:40:31.559   +00:00:09.868   0x1430       0x0001                                                  IEEE 802.15.4   Command: Data Request                           Correct (0x01)   
32925       12           15:40:31.560   +00:00:00.001                                                                                       IEEE 802.15.4   Acknowledgment                                  Correct (0x01) 

...yet another APS acknowledgment

32926       12           15:40:31.564   +00:00:00.004   0x0001       0x1430        0x0001       0x1430        ZigBee APS      APS Acknowledgement: HA: On/off                 Correct (0x01)   
32927       12           15:40:31.565   +00:00:00.001                                                                                       IEEE 802.15.4   Acknowledgment                                  Correct (0x01)   

ANOTHER 10 secs...

32928       12           15:40:41.580   +00:00:10.015   0x1430       0x0001                                                  IEEE 802.15.4   Command: Data Request                           Correct (0x01)   
32929       12           15:40:41.581   +00:00:00.001                                                                                       IEEE 802.15.4   Acknowledgment                                  Correct (0x01)   

...and ANOTHER APS acknowledgment

32930       12           15:40:41.587   +00:00:00.005   0x0001       0x1430        0x0001       0x1430        ZigBee APS      APS Acknowledgement: HA: On/off                 Correct (0x01)   
32931       12           15:40:41.588   +00:00:00.001                                                                                       IEEE 802.15.4   Acknowledgment                                  Correct (0x01)   

ANOTHER 10 secs and, FINALLY, the second command:

32932       12           15:40:51.597   +00:00:10.010   0x1430       0x0001                                                  IEEE 802.15.4   Command: Data Request                           Correct (0x01)   
32933       12           15:40:51.598   +00:00:00.001                                                                                       IEEE 802.15.4   Acknowledgment                                  Correct (0x01)   
32934       12           15:40:51.602   +00:00:00.004   0x0001       0x1430        0x0001       0x1430        ZigBee ZCL      HA: On/off: On                                  Correct (0x01)   

etc...

32935       12           15:40:51.603   +00:00:00.001                                                                                      IEEE 802.15.4   Acknowledgment                                  Correct (0x01)   
32936       12           15:40:51.610   +00:00:00.007   0x1430       0x0001        0x1430       0x0001        ZigBee APS      APS Acknowledgement: HA: On/off                 Correct (0x01)   
32937       12           15:40:51.611   +00:00:00.001                                                                                       IEEE 802.15.4   Acknowledgment                                  Correct (0x01)   
32938       12           15:40:51.616   +00:00:00.005   0x1430       0x0001        0x1430       0x0001        ZigBee ZCL      HA: On/off: Default Response                    Correct (0x01)   
32939       12           15:40:51.618   +00:00:00.001                                                                                      IEEE 802.15.4   Acknowledgment                                  Correct (0x01)   
32940       12           15:40:51.770   +00:00:00.153   0x1430       0x0001        0x1430       0x0001        ZigBee ZCL      HA: On/off: Default Response                    Correct (0x01)   
32941       12           15:40:51.772   +00:00:00.001                                                                                      IEEE 802.15.4   Acknowledgment                                  Correct (0x01)   
32942       12           15:41:01.641   +00:00:09.869   0x1430       0x0001                                                  IEEE 802.15.4   Command: Data Request                           Correct (0x01)   
32943       12           15:41:01.642   +00:00:00.001                                                                                      IEEE 802.15.4   Acknowledgment                                  Correct (0x01)   
32944       12           15:41:01.646   +00:00:00.005   0x0001       0x1430        0x0001       0x1430        ZigBee APS      APS Acknowledgement: HA: On/off                 Correct (0x01)   
32945       12           15:41:01.648   +00:00:00.001                                                                                      IEEE 802.15.4   Acknowledgment                                  Correct (0x01)   
32946       12           15:41:11.657   +00:00:10.009   0x1430       0x0001                                                  IEEE 802.15.4   Command: Data Request                           Correct (0x01)   
32947       12           15:41:11.658   +00:00:00.001                                                                                      IEEE 802.15.4   Acknowledgment                                  Correct (0x01)   
32948       12           15:41:11.662   +00:00:00.005   0x0001       0x1430        0x0001       0x1430        ZigBee APS      APS Acknowledgement: HA: On/off                 Correct (0x01)   
32949       12           15:41:11.664   +00:00:00.001                                                                                      IEEE 802.15.4   Acknowledgment                                  Correct (0x01)   
32950       12           15:41:21.672   +00:00:10.008   0x1430       0x0001                                                 IEEE 802.15.4   Command: Data Request                           Correct (0x01)   
32951       12           15:41:21.673   +00:00:00.001                                                                                      IEEE 802.15.4   Acknowledgment                                  Correct (0x01)   
32952       12           15:41:31.682   +00:00:10.010   0x1430       0x0001                                                  IEEE 802.15.4   Command: Data Request                           Correct (0x01)   
32953       12           15:41:31.683   +00:00:00.001                                                                                      IEEE 802.15.4   Acknowledgment                                  Correct (0x01)