Other Parts Discussed in Thread: CC2430
Hi All:
I have done a small modification to the GenericApp provided in ZStack-1.4.3-1.2.1 version running on the CC2430 EB. The following are the setup of the network:
-One Coordinator waiting for message with cluster ID 0x0002 from one router.
- One Router with Input cluster ID of 0x0001 and output cluster ID of 0x0002
- One EndDevice with output cluster ID of 0x0001.
There are not binding of any device. So, basicly the network function as the following.
EndDevice will broadcast a two byte packets with cluster ID 0x0001 to all devices in the network (Including the network coordinator device) evrey 3 seconds. Since only router device has handling with the cluster ID 0x0001, when it get the message, it will forward to the coordinator with cluster ID 0x0002. The forward message from the router device doesn't have TX Option, I only set the 16 bit address to 0x0000 (coordinator address).
---------------------------
The network running very good for a certain period of time. However, there is a problem with the coordinator device. When the coordinator device get more than 300 - 350 forward messages from the router devices. There are some random things happen, 1) It will get more than one AF_INCOMING_MSG_CMD events for just one forward message with Cluster ID 0x0002. 2) It will not hear any more forward message afterward and I need to force reset the coordinator device. I set a break point at the task event loop, there are not system event message that indicate a AF_INCOMING_MSG_CMD anymore. 3) After reset with NV_RESTORE, it work fine again.
So, do you guys know why is the coordinator can't handle more than 300 - 350 message? Any of you have ideas why the system work fine at certain time and do not work again? Is that way that I can check the status of the incoming message and reset the AF or mac radio on the application level, so that I don't need to reset the entire device.
Thanks VERY much in advance. [:D]