I have a network with 3 devices:
- Digi XBee S2C module acting as network coordinator
- Digi XBee S2C module acting as router
- 3rd party device based on TI CC2520 chip and ZigBee 2006 stack acting as end device connected to coordinator directly
I am able to make all devices join the network.
Sending Explicit Addressing Command from XBee node to XBee coordinator I am able to get data coming our of coordinator UART.
Sending packets from TI end device, I can packet in RF, but without Acknowledgement packet, and cannot get any data coming in XBee UART.
I have noticed that just after joining coordinator starts to send periodically NWK Leave command to the TI node (see captured packet below).
Why it is happening? Is it some stack compatibility issue? How to solve it?
[11:36:20.699342] Leave 61-88-21-DE-5B-B8-96-00-00-09-10-B8-96-00-00-01-58-38-11-91-40-00-A2-13-00-04-60-FF-FF
Frame Information: (29 bytes)
Packet Number: 478
Protocol: ZigBee
Timestamp: 11:36:20.699342
Time Delta: 0.001888
Channel: 26
Length: 29
Link Quality: -34 dBm
Source: USB8621
Layer: NWK
Status: Normal
MAC Header: (9 bytes)
Frame Control: 0x8861
···· ···· ···· ·001 = Frame Type: [0x1] Data
···· ···· ···· 0··· = Security Enabled: [0x0] No
···· ···· ···0 ···· = Frame Pending: [0x0] No
···· ···· ··1· ···· = Acknowledgement Request: [0x1] Yes
···· ···· ·1·· ···· = Intra-PAN: [0x1] Yes
···· ··00 0··· ···· = Reserved: 0x0
···· 10·· ···· ···· = Destination Addr Mode: [0x2] 16-bit Short Address
··00 ···· ···· ···· = Reserved: 0x0
10·· ···· ···· ···· = Source Addr Mode: [0x2] 16-bit Short Address
Sequence Number: 33
Destination PAN ID: 0x5BDE
Destination Address: 0x96B8
Source Address: 0x0000
MAC Payload: (18 bytes)
NWK Header: (16 bytes)
Frame Control: 0x1009
···· ···· ···· ··01 = Frame Type: [0x1] Command
···· ···· ··00 10·· = Protocol Version: 0x2
···· ···· 00·· ···· = Route Discovery: [0x0] Suppressed
···· ···0 ···· ···· = Multicast Flag: [0x0] Unicast or Broadcast
···· ··0· ···· ···· = Security Enabled: [0x0] No
···· ·0·· ···· ···· = Source Route Included: [0x0] No
···· 0··· ···· ···· = Destination IEEE Address Included: [0x0] No
···1 ···· ···· ···· = Source IEEE Address Included: [0x1] Yes
··0· ···· ···· ···· = Device Initiator: [0x0] No
00·· ···· ···· ···· = Reserved: 0x0
Destination Address: 0x96B8
Source Address: 0x0000
Radius: 0x01
Sequence Number: 88
Source IEEE Address: 00:13:A2:00:40:91:11:38
NWK Payload: 0x6004
NWK Command ID: [0x04] Leave
Leave Options: 0x60
···0 0000 = Reserved: 0x0
··1· ···· = Rejoin: [0x1] Yes
·1·· ···· = Request: [0x1] Yes
0··· ···· = Remove Children: [0x0] No
MAC Footer: 0xFFFF
Frame Check Sequence: 0xFFFF