The lowest numbered ADx-DIOx analog values appear
first, followed by values from higher numbered analog
inputs in order. You will know which digital and analog
inputs you have active, so you can use software to parse
the received information to show on/off conditions for
digital inputs at a remote module, as well as analog
voltages and analog inputs. A microcontroller could parse
this information and use it to display on/off conditions for
inputs, display temperatures for remote sensors, and so on.

That’s a Wrap

You also can control remote devices, set up networks
of XBee modules, put modules into low-power sleep
modes, and connect XBee modules with microcontroller
boards such as the Arduino Uno, Digilent UNO32, ARM
mbed, BeagleBoard, Raspberry PI, Parallax Propeller,
and so on. These MCU boards can also create command
packets to perform many interesting and useful network
operations. SV