Home/Support/Support Forum/The example works with Xbee - I need to discover all Zibee devices!

The example works with Xbee - I need to discover all Zibee devices!

0 votes
Thanks for the reply! However, I am using one Xbee S2C radio as a coordinator, two HA 1.2 themostats (endpoints), one centralite wall outlet (router), one ge link light (router). XCTU sees them all. Using the 'Discover Devices' example will return the address of another xbee - but does not discover other Zigbee certified devices. Here is the output:
>> Discovering remote XBee devices...
>> Device discovered: 0013A20041258BC7 - Coordinator
>> Discovery process finished successfully.
BUILD SUCCESSFUL (total time: 15 seconds)
Adding an Explicit Data Listener (public class ZigbeeDeviceDataReceiveListener implements IExplicitDataReceiveListener {...) will return:
INFO: From 000D6F0002CBD54F >> 00 97 00 07 00
Dec 02, 2016 10:53:07 AM com.digi.xbee.api.discoverdevices.ZigbeeDeviceDataReceiveListener explicitDataReceived
INFO: From A2AF >> 00 97 00 07 00

Dec 02, 2016 10:53:12 AM com.digi.xbee.api.discoverdevices.ZigbeeDeviceDataReceiveListener explicitDataReceived
INFO: From 00244600000EC152 >> B4 C9 AB 52 C1 0E 00 00 46 24 00 80
Dec 02, 2016 10:53:12 AM com.digi.xbee.api.discoverdevices.ZigbeeDeviceDataReceiveListener explicitDataReceived
INFO: From ABC9 >> B4 C9 AB 52 C1 0E 00 00 46 24 00 80
>> Discovery process finished successfully.
BUILD SUCCESSFUL (total time: 16 seconds)

My two thermostats (endpoints) are 'discovered'. My light and outlet (routers) are not. I probably AM doing it incorrectly - but I need a little more info on how this is done. I cannot get the 'discover devices' example to work with anything other than discovering other Xbee radios. Thanks in advance! Keith (ktomes)
asked Dec 2, 2016 in RF Solutions and XBee by ktomes New to the Community (3 points)

Please log in or register to answer this question.

1 Answer

+2 votes
XCTU's Discovery function is only designed to issue Digi XBee commands for discovery. What you need to do if you want to discover 3rd party devices is to issue a ZDO Command to query the Neighbor tables and child tables.
answered Dec 2, 2016 by mvut Veteran of the Digi Community (15,323 points)
...