# Xbee zigbee how to check for disconnection(or connection)

**URL:** <https://forums.digi.com/t/xbee-zigbee-how-to-check-for-disconnection-or-connection/21709>\
**Category:** XBee - Zigbee\
**Tags:** disconnection, check, xbee3, xbee, zigbee\
**Created:** [August 26, 2020, 10:09am UTC](https://forums.digi.com/t/xbee-zigbee-how-to-check-for-disconnection-or-connection/21709 "2020-08-26T10:09:58Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![gustcool2](https://avatars.discourse-cdn.com/v4/letter/g/a9a28c/32.png) [@gustcool2](https://forums.digi.com/u/gustcool2)\
**Post date:** [August 26, 2020, 10:09am UTC](https://forums.digi.com/t/xbee-zigbee-how-to-check-for-disconnection-or-connection/21709/1 "2020-08-26T10:09:58Z")

</div>

hi i’m using xbee3 as a coordinator.  
and i connected xbee to some iot sensors.  
if these are connected, i can receive message through uart.  
but i can not check disconnection.

1. so how can i check if these sensors are disconnected?

one way i think is sending data in real time.  
but this way is inefficient.

when checking rf packets with a packet sniffer. I can see some broadcast packets to check link status.

1. can i receive these packets with uart?

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:** [August 26, 2020, 10:16am UTC](https://forums.digi.com/t/xbee-zigbee-how-to-check-for-disconnection-or-connection/21709/2 "2020-08-26T10:16:08Z")

</div>

You do not have the ability to know when a device disconnects or leaves the network. Only when it joins.

---

<div class="post-metadata">

**Author:** ![mathur](https://avatars.discourse-cdn.com/v4/letter/m/eada6e/32.png) [@mathur](https://forums.digi.com/u/mathur)\
**Post date:** [August 28, 2020, 4:37am UTC](https://forums.digi.com/t/xbee-zigbee-how-to-check-for-disconnection-or-connection/21709/3 "2020-08-28T04:37:27Z")

</div>

gustcool2

If connected modules are configured as End Devices, then you can query “NC” parameter to determine number of active (child) End Devices associated with (parent) Coordinator.

Mathur  
Digi Support
