Currently, I got a routing problem occurs when I tested a Zigbee network between a Coordinator and a Router. The test's steps are described below:
- Coordinator is module chip Jn5169 and code is use JN-AN-1216 software.
- Router is a module chip Jn5169 and is used JN-AN-1217 software.
- Sniffer use module chip Jn5169 with firmware is JennicSniffer_JN5169_1000000_HP.bin in folder \sdk\JN-SW-4170_GW\Tools\JennicSniffer.
- Router is joined Coordinator network and I config Router 3 – 4 minutes will auto report to Coordinator (see file zwgui.txt).
- Move Router far from Coordinator. When distance the Router and the Coordinator is 15m - 20m. I use command of ZWGUI from Coordinator and receive responded by Router (Command onoff Cluster, see file zwgui.txt, raw_data_with_router_far_coordinator.txt).
- I wait about 10 - 15 minutes and saw report from Router to Coordinaor with packet is received, the Router report message type 0x8702 (APS confirm fail), status E9 to Coordinator (see file zwgui.txt, raw_data_with_router_far_coordinator.txt).
- Then I am trying send packet (onoff cluster) from coordinator to Router, i received message type 0x8702 (APS confirm fail), status D4 and message type 0x8701 (Router Discovery Confirm) status D0. The second I trying send packet (onoff cluster) to Router again is fail, after I trying send packet again and I saw message report from ZWGUI Coordinator is successful (see file zwgui.txt, raw_data_with_router_far_coordinator.txt).
- I have use Ubiqua see message it seems like router and coordinator both lost each other link. and the Route request is 0xFFFF and the Coordinator request is 0xFFFF (see file Ubiqua)
- (message type 0x8702 (APS confirm fail), status E9 then message type 0x8702 (APS confirm fail), status D4).
- Any idea why, or is there something i need to modify in the control bridge code to receive that report?
- I see a several post (https://community.nxp.com/message/902843) about “APS Security Timeout Period”. I don’t know if it will affect to send message from Rouer or Coordinator ‘’APS confirm fail’’?
Config as SDK:
- APS Inter-frame Delay is 10
- #define apscAckWaitDuration (100000UL)
- MAC_PIB_ATTR_ACK_WAIT_DURATION = 0x40, /**< macAckWaitDuration */
- File zwgui.txt 25-26/03/2020 raw data with distance the router to coordinator is 15-20m.
- File Ubiqua_26032020_1.cubx 26/03/2020 data with distance the router to coordinator is 15-20m.
- File raw_data_with_router_near_coordinator.txt and raw_data_with_router_near_coordinator_Ub.cubx: raw data from ZWGUI with Router near coordinator (10cm) and from sniffer (27/03/2020).
- File raw_data_with_router_far_coordinator.txt and raw_data_with_router_far_coordinator_Ub.cubx: raw data from ZWGUI with Router near coordinator (15m – 20m) and from sniffer (27/03/2020).