End Device unable to wake up after sleep in JN-AN-1229-ZBPro-Application-Template-v1002 demo, serial output is as follows:
Coordinator:
APP: Deleting all records from flash
APP: Application startup
APP: No event to process
APP: Network Started
APP: Channel - 11
APP: No event to process
APP: vCheckStackEvent: vCheckStackEvent: ZPS_EVENT_NEW_NODE_HAS_JOINED, Nwk Addr=0x5618
APP: No event to process
APP: vCheckStackEvent: ZPS_EVENT_AF_DATA_INDICATION
Profile :smileylaugh:
Cluster :13
EndPoint:0
APP: No event to process
APP: vCheckStackEvent: ZPS_EVENT_ROUTE_DISCOVERY_CFM
End Device:
APP: Starting ZPS
APP: No event to process!
APP: Network discovery complete
APP: Found 1 networks
APP: Unscanned channels 00000000
APP: Ext PAN ID = 00158d000065ae7a
APP: Channel = 11
APP: Stack Profile = 2
APP: Zigbee Version = 2
APP: Permit Joining = 1
APP: Router Capacity = 1
APP: End Device Capacity = 1
APP: Trying Joining network
APP: Joining network
APP: No event to process!
APP: Node joined network with Addr 0x5618
APP: No event to process!
APP: vCheckStackEvent: ZPS_EVENT_NEW_POLL_COMPLETE, status = 0
APP: No event to process!
APP: vCheckStackEvent: ZPS_EVENT_NEW_POLL_COMPLETE, status = 0
APP: Going to sleep (CB)
JN-AN-1229-ZBPro-Application-Template-v1002 demo sleep time is 5s, but waited a long time without "APP: Woken up (CB)" output, I don't know the reason?
Hi JiWei,
I am confused with the original question. Are you getting this message?
Thiis is different like your original post. Could you please try to download the AN again?
I am using the JN5168 too.
Do you have an sniffer log?
Best Regards,
Mario
Hi JiWei
Is it the complete sniffer log? are you completely sure that the end device is joining the network?
I have not seen the transport key and the end device is not sending the timeout request.
Could you please program the JN again? and try to select a different channel.
Please let me know your findings.
Regards,
Mario
Hi JiWei Gao,
I tried to replicate the issue that you have, I have downloaded the AN from the NXP web site, I run a coordinator example (JN5179 USB Dongle) and the sleep device (OM15028 JN5179).
I captured some packets with an sniffer and as you can see, the image below shows the coordinator broadcast and the 3 data request by the sleep end device. It wakes up every 5 seconds.
Also, using a terminal, you can compare the message that the end device is sending.
What is the process that you are following ? Did you modify the Application note?
Best Regards,
Mario
APP: Power Up
APP: Deleting all records from flash
APP: Starting ZPS
APP: Network discovery complete
APP: Found 1 networks
APP: Unscanned channels 00000000
APP: Ext PAN ID = 00158d000065ae73
APP: Channel = 11
APP: Stack Profile = 2
APP: Zigbee Version = 2
APP: Permit Joining = 1
APP: Router Capacity = 1
APP: End Device Capacity = 1
APP: Trying Joining network
APP: Joining network
APP: Node joined network with Addr 0x4434
vWaitForNetworkDiscovery: wake timer started successfully
APP: vCheckStackEvent: ZPS_EVENT_NEW_POLL_COMPLETE, status = 0
vWaitForNetworkDiscovery: wake timer already running for another wake point
APP: vCheckStackEvent: ZPS_EVENT_NEW_POLL_COMPLETE, status = 0
vWaitForNetworkDiscovery: wake timer already running for another wake point
APP: Going to sleep (CB)