Is there any AT command which allows to know the sensor type? temperature sensor or distance sensor,etc? As i know,‘1S’ AT command can get the temperature value back if i got a T sensor.
There is no way to auto-determine the type of 1-wire sensor attached to a 1-wire Sensor Adapter.
Once the sensor type is known, the following would apply:
http://www.digi.com/wiki/developer/index.php/Module:xbee_sensor