Hello,
I'm developing a mesh network system with coordinator, routers and end devices. When i test the systm rejoining process of my devices i checkd that end devices have some problems in the rejoining process. Let me explain step by step my procedure:
1- Create a network with coordinator A in channel 12, with PAN ID 0x15F8;
2- Added 2 router devices (Router A and B) to network created by coordinator A;
3- Added 1 End devoice (End device A) to same network of last 2 steps (0x15F8@channel 12). Its parente was Router B
NOTE: Every thinks ook until this point.
4- I Resets Network A (Coordinator A) and reset the router A and End Device A. (The router B still working in the same network A );
5- Create another network with same coordinator (Coordinator A) but in the channel 22. The network stays with PANID 0x543A;
6- I Added the Router A and End device A to network 0x543A.
7- After that i turn off End device A and turn on Again. The ED will enter in orphan mode and start sending Orphan notifications for alla channels to reestablish the network. In this step start my problems because the orphan notification can starts n channel 11 and step forward until channel 26, but in channel 12 i have a coordinator realignment response from Router B (that wasn't in the same network but was is parente in the first network created). The device stop sending orphan notificantions and never rejoi the network.
I debug the code and when End device receives the coordinator realignment (I can process that event in ZDO_JoinConfirmCB function) thge network status becames at 0xEA (MAC_NO_BEACON) but i dn't have any information about channel that event occurs. Can any one explain me if in this point i can check the channel that End device receives Failure Coordinator realignment for i can ignore that channel in the next NLME_OrphanJoinRequest?
Thank for all
Nalves