Hello,
We are using the CC2530. We are using Z-stack and IAR. We have things working fairly well, but there are a couple scenarios we still can't figure out.
1. If a Coordinator is not present or out of range when an endpoint is powered up, sends an event message or polls for data it goes into an Orphan state and constantly sends a beacon message that results in a high power state drawing almost 30mA continuously. If the coordinator comes on line or the end point comes back into range of the coordinator or router it reconnects and operates at a nominal current state (~10uA). My concern here is that our battery will only last a few hours at this increased rate. We were able to find code to disable the data polling interval so that it won't wake up to receive messages so we won't enter this state if we aren't meaning to send a message, We did this by setting the Data poll value in the f8 config file to 0. We found code that disables beacon messages from being sent after an orphan message is sent but we can't ever get the end point out of the orphan state, if we delay the beacon rate it still stays in the high current state in-between beacons. I'm sure others have dealt with this but we can't find the solution on e2e. I'm thinking there is a solution that will allow the unit to enter a Orphaned state, send a few beacon requests and then sleep for a period (several minutes) (10uA) wake up, try a few more times and then go back to sleep and try this indefinitely until the unit is back in range.
2. If the Coordinator USB is inadvertently shut down (unplugged, computer powered off) when it comes back online the routers and end points won't communicate with it. I have to unplug and replug in all the routers to get it to work again. I'm not exactly sure what is going on here? This is a huge issue because we plan on having deployment of 10+ routers connected to the Coordinator and if for some reason the Coordinator goes down or the homes power goes out when it comes back online they have to go around and unplug all the routers it would be problematic. We've searched e2e and can't seem to find anything. We've found a few threads about setting a compiler setting to force the coordinator to maintain route state after a power cycle but I don't notice any difference so i don't think this the problem or I'm doing it incorrectly.
Any help would be appreciated.
Thank you
