Routers losing network if Coord is not present.

Go To Last Post
3 posts / 0 new
Author
Message
#1
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Hi,

 

I have read in the BitCloud 3.2 development guide that Coord is only needed to establish nwk and unless someone wants to do data communication with coord it's not really needed in network after network is formed or if no new devices wants to join.

 

So I was doing a simple experiment where I made 2 routers and 1 coord. I used the basic WSNDemo code. I just changed the target for sending data in routers as each other instead of coord and just display nwk info they receive from other. Also I'm using short address(got using ZDO_FindShortByExt() ) of other router instead of parentShortAddr to get lqi and rssi.

 

 

In theory if I remove Coord the network should sustain as both devices are not doing anything other then sending data to each other. But as soon as I remove coord, and they try to send new packet, I get NAK in response and then after the threshold they reset network. Is this correct behaviour?

 

 

Last Edited: Fri. Oct 16, 2015 - 12:22 AM
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 1

prateekj wrote:
But as soon as I remove coord, and they try to send new packet, I get NAK in response and then after the threshold they reset network. Is this correct behaviour?
Well, you will have to allow for some NACKs as new routes being established. You just need to increase the threshold for rejoining the network.

NOTE: I no longer actively read this forum. Please ask your question on www.eevblog.com/forum if you want my answer.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 1

What you can also do is establish a network with just one router, then disable the coordinator, and then add all other routers. They will join to the first router and will establish proper routes right away.

NOTE: I no longer actively read this forum. Please ask your question on www.eevblog.com/forum if you want my answer.