# Is it possible to leave the network and join another by changing the PAN ID?

**URL:** <https://forums.digi.com/t/is-it-possible-to-leave-the-network-and-join-another-by-changing-the-pan-id/13127>\
**Category:** XBee - Zigbee\
**Tags:** wifi, digione, sp, xbee\
**Created:** [June 12, 2014, 8:14am UTC](https://forums.digi.com/t/is-it-possible-to-leave-the-network-and-join-another-by-changing-the-pan-id/13127 "2014-06-12T08:14:12Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![ergin](https://avatars.discourse-cdn.com/v4/letter/e/7cd45c/32.png) [@ergin](https://forums.digi.com/u/ergin)\
**Post date:** [June 12, 2014, 8:14am UTC](https://forums.digi.com/t/is-it-possible-to-leave-the-network-and-join-another-by-changing-the-pan-id/13127/1 "2014-06-12T08:14:12Z")

</div>

Hi everyone,

I have 2 coordinator and 1 router devices in my application.

The locations of the coordinators are fixed so I know everything about these devices. Pan Id, operating channel, coordinates, etc.

The router device is moving around the place and I want to know where it is. In order to do this I will send the location info to coordinator every second. However, I need to leave the network of coordinator1 and join the network of coordinator2 very fast. I am changing the PAN ID programmatically to leave the current network and join the other one but it takes almost 6 second to join the network.

Can I reduce the joining duration to network less than 1 second so that I can send the location info every second to coordinator?

Coordintors:  
SC: 1 (0x0b)  
SD: 3  
Pan Id: 0x0b & 0x0c

Router:  
SC: 1  
SD: 3  
Pan Id: non-zero

Could you help on this issue?

Thanks.

---

<div class="post-metadata">

**Author:** ![mvut](https://sea2.discourse-cdn.com/flex016/user_avatar/forums.digi.com/mvut/32/31_2.png) [@mvut](https://forums.digi.com/u/mvut)\
**Post date:** [June 12, 2014, 9:10am UTC](https://forums.digi.com/t/is-it-possible-to-leave-the-network-and-join-another-by-changing-the-pan-id/13127/2 "2014-06-12T09:10:50Z")

</div>

No it is not likely that you can reduce the joining time to less than 1 sec with a zigbee mesh based device. Try using the 802.15.4 modules instead. There is no association required and simply changing the ID will accomplish what you want very quickly.
