Hi folks,
Im having quite the same problem it seems. I use BeeStack 2.0.0 on SRB boards from Freescale (tried also on our own designs as well). Sending messages in a tree network is OK, but mesh works weird sometimes. I wrote a service request to Freescale about it so i copy the whole text to check if any of you might add some extra info on this issue, so:
"I have been experiencing problems with Beestack 2.0.0 ZigBee mesh network. I have built a testbed with a Coordinator and 5 Routers. Each router sends a message to the Coordinator (0x0000) periodically (1000msec) using AF_DataRequest. The timing trigger has been provided by Beestack platform timer modul.
Network builds up correctly and im getting those messages from the routers (in a Sniffer).
Topology:
Coordinator has Router1
Router1 has Router2
Router2 has Router 3
Router3 has Router4 and Router5
When I disconnect my Coordinator, after getting a RouteError message from Route1, BeeAppDataConfirm() is not called for the message sent by AF_DataRequest in Router2!
This causes that the allocated memory is not being set free by memory management! After a couple of messages, it can cause an overflow and runtime error by writing to PortA (and sometimes to Reset)."
This seems to be BeeStack's issue, because as zoz previously said, every .REQUEST has to be followed by a .CONFIRM!
If anyone has any suggestion please let me know!
Thanks very much,
Adam