XBee Received Data Is Not Transfering to BS2.
Set up: Propeller Activity Board control node running C to the main XBee (MXBee) module. The remote node is an XBee (RXBee) interfaced with BS2 Stamp running PBasic. I am using XCTU connected to the remote XBee (RXBee) USB adapter board. ( Propeller -> MXBee ~~~~~>RXBee ->BS2)
The control node sends a character via XBee to the remote node. Problem - The remote node STAMP does not receive or display the received character. I do know that the remote XBee is receiving the control nodes character as seen on XCTU. No display on the STAMP terminal. If I type a character in the XCTU console it is displayed on the STAMP console as planned. Based on the above I believe the Software on the Propeller and Stamp is okay.
Both XBee's are in the pass through mode (not API). I am self-learning this technology but I need some help figuring this out.
Thanks,
Tom
The control node sends a character via XBee to the remote node. Problem - The remote node STAMP does not receive or display the received character. I do know that the remote XBee is receiving the control nodes character as seen on XCTU. No display on the STAMP terminal. If I type a character in the XCTU console it is displayed on the STAMP console as planned. Based on the above I believe the Software on the Propeller and Stamp is okay.
Both XBee's are in the pass through mode (not API). I am self-learning this technology but I need some help figuring this out.
Thanks,
Tom

Comments
' Initial XBee Stamp Transmit ' {$STAMP BS2} ' {$PBASIC 2.5} ' Constants & Assignments baud CON 84 rx PIN 15 tx PIN 14 rts PIN 11 DataIn VAR Byte ' Main Program DEBUG "Program Start", CR PAUSE 500 GOSUB init DEBUG "Awaiting Data...", CR PAUSE 500 DO SERIN rx, baud,[DataIn] DEBUG "Data Received is ", DataIn,CR SEROUT tx,baud,[DataIn] LOOP init: PAUSE 500 DEBUG CR,CR,"Configuring XBee...",CR PAUSE 200 ' Guard Time SEROUT Tx,Baud,["+++"] ' Command Mode sequence PAUSE 200 ' Guard Time SEROUT tx,baud,["ATD6 1,CN",CR] ' RTS enable (D6 1) Exit Command Mode (CN) PAUSE 100 SEROUT tx,baud, ["Main Node Initialized"] RETURN ENDIn your initialization, you enable RTS (Request To Send). That's the flow control I mentioned earlier and you've defined rts as I/O pin 11 which I assume you've connected to the XBee module's RTS pin. Your SERIN statement doesn't use flow control:SERIN rx, baud,[DataIn]
You should add flow control as follows (see the Reference Manual's description for details):
SERIN rx\rts, baud,[DataIn]
Block diagram of the system is attached along with a screen shot and code for both the main and remote processors. Thanks again for your help
Thanks again for your help.