Setting multiple IO pins on a remote XBee

Hi,

I have two Series 1 XBees (firmware 10E6). The first is connected to the PC via XBee explorer (which I connect to using a C++ XBee API). The second XBee is at a remote location and controls some motors/LEDs via the digital IO pins. For example, when digital pin 0 is set to 0 (digital low, XBee value of 4) the corresponding motor is switched off, etc.

I want to control the remote XBee’s pin outputs by sending commands from the base XBee (my C++ code). One way to do this is by a sequence of remoteAT requests; for every pin that needs to change, I set the corresponding digital output value. For this I need to send a remoteAT request packet to the remote XBee from the base XBee for every pin that needs to change. This is how I am currently solving the problem.

The problem is that these outputs change frequently and multiple such pins need to be set/unset at each step. Is there a faster way to set multiple IO pins on a remote XBee module?

The XBee documentation describes the IO data packet that contains data from different pins sent as a payload to the RX packet. Is there a way to use this packet (or the Tx packet) to set the pin values on the remote module?

I do not want to use line passing, because in future I anticipate the base module to control multiple remote XBee modules.

regards,

A

The remote XBee describes for the IO data packets for documentation for containing the data and with different different pins and load on the RX packets . It can be connect with Pc via Xbee remote3 and other also connect with Xbee at their remote location while using the LED(Light Emitting Diote) with digital Io pins .

Its not possible to set multiple IO pins in a single AT command