Can I directly read an analog sensor data from the Xbee's ADC?
To read analog (or digital) pins (ie. your sensor data)
 via the local serial port, send the appropriate D0, D1, D2, D3 command.

Example (Transparent Mode):
Snd: &lt;guard&gt;+++&lt;guard&gt;
Rec: OK
Snd: ATD0&lt;cr&gt;
Rec: 42 ( the data )


For API mode, wrap the Dx command in an AT frame.