How to reduce zigbee group-cast retry times

I have developed an nRF52840 board that implements the following basic logic:

  1. Onboarding Zigbee Devices: Supports Zigbee devices joining the network.
  2. Creating Device Groups: Creates groups for devices.
  3. Sending Multicast to Group Devices: Sends multicast messages to device groups.

However, I encountered some technical problem:


Problem 1: Multiple Broadcasts with the Same Sequence Number

  • Observation: The same sequence number (30) is used for multiple multicast messages, sent approximately 8 times.
  • Question: How to set the numbers of transmissions?

Problem 2: Why some unicast is sent between multicasts with same sequence Number

  • Observation: It was found that some unicast was sent between multicasts(same sequence number). For example:
    • Some unicast (ZCL OnOff: Off) is sent between two multicasts (1274 & 1298)
    • unicast  (ZCL Groups: Add Group) is sent between multicasts 1301 & multicasts 1322
  • Question:
    • Can multicast messages with the same sequence number be sent first, followed by unrelated unicast messages? (I want to avoid unrelated unicast messages being sent between two multicasts with the same sequence number.)
    • Or, Can we ignore subsequent multicast transmissions (same seq number) after a unicast message is sent.


Thanks~

air packet  can be seen in the log below:
---> sending 4 times multicast for group devices at first
1271 196.535241 0x0000 Broadcast ZigBee HA 109 ZCL OnOff: Off, Seq: 30
1272 196.544724 0x0000 Broadcast ZigBee HA 109 ZCL OnOff: Off, Seq: 30
1273 196.580487 0x0000 Broadcast ZigBee HA 109 ZCL OnOff: Off, Seq: 30
1274 196.594392 0x0000 Broadcast ZigBee HA 109 ZCL OnOff: Off, Seq: 30
1275 196.646859 0x08aa Broadcast ZigBee 116 Link Status
1276 196.772435 0x0000 0x33e8 ZigBee HA 108 ZCL OnOff: Off, Seq: 31
1277 196.785617 0x0000 0x33e8 ZigBee HA 108 ZCL OnOff: Off, Seq: 31
1278 196.787536 IEEE 802.15.4 65 Ack
1279 196.810703 0x33e8 0x0000 ZigBee 115 Route Record, Dst: 0x0000
1280 196.812909 IEEE 802.15.4 65 Ack
1281 196.819415 0x33e8 0x0000 ZigBee 105 APS: Ack, Dst Endpt: 1, Src Endpt: 1
1282 196.821301 IEEE 802.15.4 65 Ack
1283 196.831500 0x33e8 0x0000 ZigBee HA 112 ZCL: Report Attributes, Seq: 17
1284 196.833610 IEEE 802.15.4 65 Ack
1285 196.843688 0x33e8 0x0000 ZigBee HA 110 ZCL: Default Response, Seq: 31
1286 196.845734 IEEE 802.15.4 65 Ack

---> sending 2 times multicast for group devices after then
1298 197.040843 0x0000 Broadcast ZigBee HA 109 ZCL OnOff: Off, Seq: 30
1301 197.095141 0x0000 Broadcast ZigBee HA 109 ZCL OnOff: Off, Seq: 30
1302 197.099029 0x08aa 0x0000 ZigBee 115 Route Record, Dst: 0x0000
1303 197.101235 IEEE 802.15.4 65 Ack
1304 197.104723 0x08aa 0x0000 ZigBee 105 APS: Ack, Dst Endpt: 1, Src Endpt: 1
1311 197.237301 IEEE 802.15.4 65 Ack
1312 197.245146 0x33e8 0x0000 ZigBee 105 APS: Ack, Dst Endpt: 1, Src Endpt: 1
1313 197.247033 IEEE 802.15.4 65 Ack
1314 197.353805 0x0000 0x1dd9 ZigBee HA 111 ZCL Groups: Add Group, Seq: 35
1315 197.355820 IEEE 802.15.4 65 Ack
1316 197.359060 0x0000 0x1dd9 ZigBee HA 111 ZCL Groups: Add Group, Seq: 35
1317 197.361075 IEEE 802.15.4 65 Ack
1318 197.367934 0x1dd9 0x0000 ZigBee HA 111 ZCL Groups: Add Group Response, Seq: 35
1319 197.370013 IEEE 802.15.4 65 Ack
1320 197.371896 0x1dd9 0x0000 ZigBee 105 APS: Ack, Dst Endpt: 1, Src Endpt: 1
1321 197.373783 IEEE 802.15.4 65 Ack

---> sending two times multicast after then
1322 197.503203 0x0000 Broadcast ZigBee HA 109 ZCL OnOff: Off, Seq: 30
1325 197.591247 0x0000 Broadcast ZigBee HA 109 ZCL OnOff: Off, Seq: 30
1327 197.596951 IEEE 802.15.4 65 Ack
1328 197.598861 0x08aa 0x0000 ZigBee 105 APS: Ack, Dst Endpt: 1, Src Endpt: 1
1329 197.600747 IEEE 802.15.4 65 Ack

Parents
  • Hi,

    Which SDK are you using, and which version of the SDK?

    Problem 1: Multiple Broadcasts with the Same Sequence Number

    Which sequence number is this? Is it in the MAC, NWK, or APP layer? For the MAC layer, this should be automatically handled by the nRF 802.15.4 radio, while for the other two, it is handled by the ZBOSS stack.

    Problem 2: Why some unicast is sent between multicasts with same sequence Number

    Please provide a sniffer log as a pcap file. Ensure that the sniffer is started before the coordinator starts the network, so the sniffer has access to the network key. Alternatively, share the network key here so I can decode the packets.

    Best regards,
    Marte

Reply
  • Hi,

    Which SDK are you using, and which version of the SDK?

    Problem 1: Multiple Broadcasts with the Same Sequence Number

    Which sequence number is this? Is it in the MAC, NWK, or APP layer? For the MAC layer, this should be automatically handled by the nRF 802.15.4 radio, while for the other two, it is handled by the ZBOSS stack.

    Problem 2: Why some unicast is sent between multicasts with same sequence Number

    Please provide a sniffer log as a pcap file. Ensure that the sniffer is started before the coordinator starts the network, so the sniffer has access to the network key. Alternatively, share the network key here so I can decode the packets.

    Best regards,
    Marte

Children
No Data
Related