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.

CC2530: Delay between successive (Identify) packets too short - ZSTACK 3.0.2

Part Number: EtiCC2530


 

The ZSTACK 3.0.2 seems a bit too active when it sent the Identify packet ot the 0x203f NWK address.

Apparently the minimum delay between repeats was not always respected (between frame 11 and 12 there was less than 0.1 seconds).

Frames 20 to 24 are very close as well.

As a result the ack from the ZED is observed only after the first repeat, and despite the acks, the ZSTACK3.0.2 continues sending the frame.

What can be done to improve this (minimum delay between frames, etc)?

[2020-12-09 16:29:13.292902] [RFSNIFFER]     9        0x89eb → 0x0000       IEEE 802.15.4 12 Data Request
[2020-12-09 16:29:13.293402] [RFSNIFFER]    10               →              IEEE 802.15.4 5 Ack
[2020-12-09 16:29:13.520395] [RFSNIFFER]    11        0x0000 → 0x203f       ZigBee HA 50 ZCL Identify: Identify, Seq: 171
[2020-12-09 16:29:13.525904] [RFSNIFFER]    12        0x0000 → 0x203f       ZigBee HA 50 ZCL Identify: Identify, Seq: 171
[2020-12-09 16:29:13.526392] [RFSNIFFER]    13               →              IEEE 802.15.4 5 Ack
[2020-12-09 16:29:13.529289] [RFSNIFFER]    14        0x0000 → 0x203f       ZigBee HA 50 ZCL Identify: Identify, Seq: 171
[2020-12-09 16:29:13.529627] [RFSNIFFER]    15               →              IEEE 802.15.4 5 Ack
[2020-12-09 16:29:13.532605] [RFSNIFFER]    16        0x0000 → 0x203f       ZigBee HA 50 ZCL Identify: Identify, Seq: 171
[2020-12-09 16:29:13.533019] [RFSNIFFER]    17               →              IEEE 802.15.4 5 Ack
[2020-12-09 16:29:13.748384] [RFSNIFFER]    18        0x0000 → 0x203f       ZigBee HA 50 ZCL Identify: Identify, Seq: 171
[2020-12-09 16:29:13.748751] [RFSNIFFER]    19               →              IEEE 802.15.4 5 Ack
[2020-12-09 16:29:13.752999] [RFSNIFFER]    20        0x0000 → 0x203f       ZigBee HA 50 ZCL Identify: Identify, Seq: 171
[2020-12-09 16:29:13.754664] [RFSNIFFER]    21               →              IEEE 802.15.4 5 Ack
[2020-12-09 16:29:13.757596] [RFSNIFFER]    22        0x0000 → 0x203f       ZigBee HA 50 ZCL Identify: Identify, Seq: 171
[2020-12-09 16:29:13.758013] [RFSNIFFER]    23               →              IEEE 802.15.4 5 Ack
[2020-12-09 16:29:13.760974] [RFSNIFFER]    24        0x0000 → 0x203f       ZigBee HA 50 ZCL Identify: Identify, Seq: 171
[2020-12-09 16:29:13.761383] [RFSNIFFER]    25               →              IEEE 802.15.4 5 Ack
[2020-12-09 16:29:15.564594] [RFSNIFFER]    26        0x0000 → Broadcast    ZigBee 51 Route Request, Dst: 0x2ee3, Src: 0x0000
[2020-12-09 16:29:16.802531] [RFSNIFFER]    27        0x89eb → 0x0000       IEEE 802.15.4 12 Data Request
[2020-12-09 16:29:16.802917] [RFSNIFFER]    28               →              IEEE 802.15.4 5 Ack

Eit: Added the log files (capture,etc): LowDelayBetweenPackets.zip

Edit: this does not occur all the time, most of the time there is no repeat apparrently

  • Hi Mario,

    Based on the MAC Sequence numbers, it can be deciphered that the recurring Identify packets are all retries of the original.  It is not clear why all are sent since a MAC ACK is returned after the first retry.  Does this happen consistently and occur for all devices?  I notice that ZCL Disable Default Response bit is not set and yet no default response is supplied, although the retry rate is still unexpectedly quick.

    Regards,
    Ryan

  • Below is a list of the Identify requests sent by the ZSTACK 3.0.2 Coordinator.

    It seems that this behavior happened a few times but it is not systematic.

    A lot of repeats: sequences 74 & 171.
    Two close frames (<0.1s): 139, 146 & 182

    This all happened with the same device, but that's the one that I was most interested in.  It's an "always on" device.

     1937 2020-12-09 16:24:52,157246       0x0000 â†0x203f       ZigBee HA 50 ZCL Identify: Identify, Seq: 69
     1956 2020-12-09 16:24:56,967602       0x0000 â†0x203f       ZigBee HA 50 ZCL Identify: Identify, Seq: 73
     1960 2020-12-09 16:25:00,188625       0x0000 â†0x203f       ZigBee HA 50 ZCL Identify: Identify, Seq: 74
     1962 2020-12-09 16:25:00,194614       0x0000 â†0x203f       ZigBee HA 50 ZCL Identify: Identify, Seq: 74
     1964 2020-12-09 16:25:00,199253       0x0000 â†0x203f       ZigBee HA 50 ZCL Identify: Identify, Seq: 74
     1967 2020-12-09 16:25:00,515350       0x0000 â†0x203f       ZigBee HA 50 ZCL Identify: Identify, Seq: 74
     1969 2020-12-09 16:25:00,519862       0x0000 â†0x203f       ZigBee HA 50 ZCL Identify: Identify, Seq: 74
     1971 2020-12-09 16:25:00,523193       0x0000 â†0x203f       ZigBee HA 50 ZCL Identify: Identify, Seq: 74
     1972 2020-12-09 16:25:00,527380       0x0000 â†0x203f       ZigBee HA 50 ZCL Identify: Identify, Seq: 74
     2000 2020-12-09 16:25:17,822016       0x0000 â†0x203f       ZigBee HA 50 ZCL Identify: Identify, Seq: 89
     2241 2020-12-09 16:26:59,272890       0x0000 â†0x203f       ZigBee HA 50 ZCL Identify: Identify, Seq: 111
     2246 2020-12-09 16:27:02,738667       0x0000 â†0x203f       ZigBee HA 50 ZCL Identify: Identify, Seq: 113
     2251 2020-12-09 16:27:04,964860       0x0000 â†0x203f       ZigBee HA 50 ZCL Identify: Identify, Seq: 115
     2259 2020-12-09 16:27:08,545352       0x0000 â†0x203f       ZigBee HA 50 ZCL Identify: Identify, Seq: 117
     2267 2020-12-09 16:27:12,850766       0x0000 â†0x203f       ZigBee HA 50 ZCL Identify: Identify, Seq: 119
     2273 2020-12-09 16:27:15,936278       0x0000 â†0x203f       ZigBee HA 50 ZCL Identify: Identify, Seq: 121
     2276 2020-12-09 16:27:19,969540       0x0000 â†0x203f       ZigBee HA 50 ZCL Identify: Identify, Seq: 123
     2360 2020-12-09 16:27:31,071584       0x0000 â†0x203f       ZigBee HA 50 ZCL Identify: Identify, Seq: 127
     2381 2020-12-09 16:27:34,225247       0x0000 â†0x203f       ZigBee HA 50 ZCL Identify: Identify, Seq: 129
     2415 2020-12-09 16:27:38,138254       0x0000 â†0x203f       ZigBee HA 50 ZCL Identify: Identify, Seq: 131
     2434 2020-12-09 16:27:41,368063       0x0000 â†0x203f       ZigBee HA 50 ZCL Identify: Identify, Seq: 134
     2452 2020-12-09 16:27:44,522078       0x0000 â†0x203f       ZigBee HA 50 ZCL Identify: Identify, Seq: 135
     2510 2020-12-09 16:27:47,704601       0x0000 â†0x203f       ZigBee HA 50 ZCL Identify: Identify, Seq: 138
     2535 2020-12-09 16:27:51,596985       0x0000 â†0x203f       ZigBee HA 50 ZCL Identify: Identify, Seq: 139
     2537 2020-12-09 16:27:51,602873       0x0000 â†0x203f       ZigBee HA 50 ZCL Identify: Identify, Seq: 139
     2569 2020-12-09 16:27:55,145138       0x0000 â†0x203f       ZigBee HA 50 ZCL Identify: Identify, Seq: 142
     2587 2020-12-09 16:27:58,675287       0x0000 â†0x203f       ZigBee HA 50 ZCL Identify: Identify, Seq: 143
     2614 2020-12-09 16:28:02,901390       0x0000 â†0x203f       ZigBee HA 50 ZCL Identify: Identify, Seq: 146
     2619 2020-12-09 16:28:02,912298       0x0000 â†0x203f       ZigBee HA 50 ZCL Identify: Identify, Seq: 146
     2685 2020-12-09 16:28:35,675701       0x0000 â†0x203f       ZigBee HA 50 ZCL Identify: Identify, Seq: 154
     2692 2020-12-09 16:28:41,060677       0x0000 â†0x369b       ZigBee HA 50 ZCL Identify: Identify, Seq: 153
     2698 2020-12-09 16:28:41,195661       0x0000 â†0x369b       ZigBee HA 50 ZCL Identify: Identify, Seq: 156
     2717 2020-12-09 16:28:44,913177       0x0000 â†0x369b       ZigBee HA 50 ZCL Identify: Identify, Seq: 158
     2729 2020-12-09 16:28:47,044990       0x0000 â†0x203f       ZigBee HA 50 ZCL Identify: Identify, Seq: 159
     2744 2020-12-09 16:28:55,207684       0x0000 â†0x203f       ZigBee HA 50 ZCL Identify: Identify, Seq: 162
     2757 2020-12-09 16:28:59,170263       0x0000 â†0x369b       ZigBee HA 50 ZCL Identify: Identify, Seq: 165
     2799 2020-12-09 16:29:15,798395       0x0000 â†0x203f       ZigBee HA 50 ZCL Identify: Identify, Seq: 171
     2800 2020-12-09 16:29:15,803904       0x0000 â†0x203f       ZigBee HA 50 ZCL Identify: Identify, Seq: 171
     2802 2020-12-09 16:29:15,807289       0x0000 â†0x203f       ZigBee HA 50 ZCL Identify: Identify, Seq: 171
     2804 2020-12-09 16:29:15,810605       0x0000 â†0x203f       ZigBee HA 50 ZCL Identify: Identify, Seq: 171
     2806 2020-12-09 16:29:16,026384       0x0000 â†0x203f       ZigBee HA 50 ZCL Identify: Identify, Seq: 171
     2808 2020-12-09 16:29:16,030999       0x0000 â†0x203f       ZigBee HA 50 ZCL Identify: Identify, Seq: 171
     2810 2020-12-09 16:29:16,035596       0x0000 â†0x203f       ZigBee HA 50 ZCL Identify: Identify, Seq: 171
     2812 2020-12-09 16:29:16,038974       0x0000 â†0x203f       ZigBee HA 50 ZCL Identify: Identify, Seq: 171
     2819 2020-12-09 16:29:20,321865       0x0000 â†0x369b       ZigBee HA 50 ZCL Identify: Identify, Seq: 169
     3198 2020-12-09 16:33:03,843360       0x0000 â†0x1428       ZigBee HA 50 ZCL Identify: Identify, Seq: 150
     3206 2020-12-09 16:33:04,844197       0x0000 â†0x1428       ZigBee HA 50 ZCL Identify: Identify, Seq: 161
     3212 2020-12-09 16:33:05,846584       0x0000 â†0x1428       ZigBee HA 50 ZCL Identify: Identify, Seq: 164
     3225 2020-12-09 16:33:06,847399       0x0000 â†0x1428       ZigBee HA 50 ZCL Identify: Identify, Seq: 205
     3344 2020-12-09 16:33:22,215693       0x0000 â†0x203f       ZigBee HA 50 ZCL Identify: Identify, Seq: 209
     8592 2020-12-09 18:15:28,697383       0x0000 â†0x203f       ZigBee HA 50 ZCL Identify: Identify, Seq: 69
     8603 2020-12-09 18:15:46,687613       0x0000 â†0x369b       ZigBee HA 50 ZCL Identify: Identify, Seq: 72
     8617 2020-12-09 18:15:50,518606       0x0000 â†0x203f       ZigBee HA 50 ZCL Identify: Identify, Seq: 74
     8620 2020-12-09 18:15:53,688885       0x0000 â†0x203f       ZigBee HA 50 ZCL Identify: Identify, Seq: 76
     8624 2020-12-09 18:15:58,331621       0x0000 â†0x203f       ZigBee HA 50 ZCL Identify: Identify, Seq: 77
     8632 2020-12-09 18:16:11,165879       0x0000 â†0x369b       ZigBee HA 50 ZCL Identify: Identify, Seq: 81
     8646 2020-12-09 18:16:25,850194       0x0000 â†0x203f       ZigBee HA 50 ZCL Identify: Identify, Seq: 85
     8770 2020-12-09 18:17:11,177872       0x0000 â†0x369b       ZigBee HA 50 ZCL Identify: Identify, Seq: 94
     8800 2020-12-09 18:17:18,314549       0x0000 â†0x369b       ZigBee HA 50 ZCL Identify: Identify, Seq: 100
     8849 2020-12-09 18:17:32,793093       0x0000 â†0x89eb       ZigBee HA 50 ZCL Identify: Identify, Seq: 105
     8948 2020-12-09 18:17:57,312680       0x0000 â†0x89eb       ZigBee HA 50 ZCL Identify: Identify, Seq: 109
     8989 2020-12-09 18:18:21,704675       0x0000 â†0x89eb       ZigBee HA 50 ZCL Identify: Identify, Seq: 116
     9053 2020-12-09 18:19:02,920748       0x0000 â†0x89eb       ZigBee HA 50 ZCL Identify: Identify, Seq: 122
     9179 2020-12-09 18:20:48,042246       0x0000 â†0x89eb       ZigBee HA 50 ZCL Identify: Identify, Seq: 139
     9232 2020-12-09 18:21:20,562504       0x0000 â†0x1428       ZigBee HA 50 ZCL Identify: Identify, Seq: 113
     9247 2020-12-09 18:21:21,560261       0x0000 â†0x1428       ZigBee HA 50 ZCL Identify: Identify, Seq: 144
     9366 2020-12-09 18:21:36,487588       0x0000 â†0x1428       ZigBee HA 50 ZCL Identify: Identify, Seq: 153
     9460 2020-12-09 18:22:03,456412       0x0000 â†0x203f       ZigBee HA 50 ZCL Identify: Identify, Seq: 158
     9468 2020-12-09 18:22:12,881378       0x0000 â†0x203f       ZigBee HA 50 ZCL Identify: Identify, Seq: 161
     9475 2020-12-09 18:22:22,717459       0x0000 â†0x203f       ZigBee HA 50 ZCL Identify: Identify, Seq: 163
     9480 2020-12-09 18:22:29,739115       0x0000 â†0x203f       ZigBee HA 50 ZCL Identify: Identify, Seq: 165
     9496 2020-12-09 18:22:39,570079       0x0000 â†0x203f       ZigBee HA 50 ZCL Identify: Identify, Seq: 168
     9531 2020-12-09 18:23:22,221977       0x0000 â†0x203f       ZigBee HA 50 ZCL Identify: Identify, Seq: 175
     9534 2020-12-09 18:23:24,346029       0x0000 â†0x203f       ZigBee HA 50 ZCL Identify: Identify, Seq: 177
     9539 2020-12-09 18:23:26,675965       0x0000 â†0x203f       ZigBee HA 50 ZCL Identify: Identify, Seq: 178
     9541 2020-12-09 18:23:29,987493       0x0000 â†0x203f       ZigBee HA 50 ZCL Identify: Identify, Seq: 179
     9546 2020-12-09 18:23:32,446292       0x0000 â†0x203f       ZigBee HA 50 ZCL Identify: Identify, Seq: 181
     9548 2020-12-09 18:23:35,087342       0x0000 â†0x203f       ZigBee HA 50 ZCL Identify: Identify, Seq: 182
     9549 2020-12-09 18:23:35,094118       0x0000 â†0x203f       ZigBee HA 50 ZCL Identify: Identify, Seq: 182
     9552 2020-12-09 18:23:38,148633       0x0000 â†0x203f       ZigBee HA 50 ZCL Identify: Identify, Seq: 184
     9556 2020-12-09 18:23:41,095547       0x0000 â†0x203f       ZigBee HA 50 ZCL Identify: Identify, Seq: 185
     9559 2020-12-09 18:23:43,992323       0x0000 â†0x203f       ZigBee HA 50 ZCL Identify: Identify, Seq: 187
     9571 2020-12-09 18:23:48,613424       0x0000 â†0x203f       ZigBee HA 50 ZCL Identify: Identify, Seq: 188
     9584 2020-12-09 18:23:52,742168       0x0000 â†0x203f       ZigBee HA 50 ZCL Identify: Identify, Seq: 190
     9594 2020-12-09 18:23:56,506533       0x0000 â†0x203f       ZigBee HA 50 ZCL Identify: Identify, Seq: 191
     9599 2020-12-09 18:24:00,311288       0x0000 â†0x203f       ZigBee HA 50 ZCL Identify: Identify, Seq: 193
     9601 2020-12-09 18:24:03,610622       0x0000 â†0x203f       ZigBee HA 50 ZCL Identify: Identify, Seq: 194
     9606 2020-12-09 18:24:06,287829       0x0000 â†0x203f       ZigBee HA 50 ZCL Identify: Identify, Seq: 196
     9608 2020-12-09 18:24:09,540118       0x0000 â†0x203f       ZigBee HA 50 ZCL Identify: Identify, Seq: 197
     9613 2020-12-09 18:24:12,885127       0x0000 â†0x203f       ZigBee HA 50 ZCL Identify: Identify, Seq: 199
     9705 2020-12-09 18:25:39,262603       0x0000 â†0x369b       ZigBee HA 50 ZCL Identify: Identify, Seq: 211
     9765 2020-12-09 18:26:11,005382       0x0000 â†0x369b       ZigBee HA 50 ZCL Identify: Identify, Seq: 217

  • The ZNP would need to be debugged during a sequence repeat to determine the root cause (ZMacNoACK or otherwise).  You can increase the BDB identify timeout delay to create less frequent ZCL messages, or broadcast the message to avoid local repeats.

    Regards,
    Ryan