Scan Digi Xbee Wireless Modems and Wireless Sensor

Hi, We are working with wireless modem and sensors which basically support the 900hp-S3-B protocol.

Till now I was only able to understand ATI commands to work with Xbee device but I am looking for the best way which helps me to scan all the Xbee devices which are using nearby

Wireless Modem
Wireless Sensor

Try the ND command: