Brunovf1 / xbee-arduino

Automatically exported from code.google.com/p/xbee-arduino
GNU General Public License v3.0
0 stars 0 forks source link

XON and XOFF ignored by Coordinator Xbee #10

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. use xbee.send using   ZBTxRequest zbTx = ZBTxRequest(XBee_Addr64, XBee_Data, 
OutputLength);

2.  View output from Coordinator using X-CTU.
3.

Output packet is walked on by XON (7D 31) and XOFF (7D 33) commands

Version 0021 Arduino Xbee

The coordinator does not cease output when an XOFF is received. Instead, it 
continues to send and datastream is overwritten by XOFF and XON escape 
sequences.  Length field and Hi-order word of MS of 64-bit address is 
overwritten.

No response is returned from the Endpoint.

Original issue reported on code.google.com by Eric.G.S...@gmail.com on 11 Mar 2011 at 2:20

GoogleCodeExporter commented 9 years ago
Correction to the issue.  I am monitoring the INPUT to the Coordinator, not the 
OUTPUT. The problem concens the protocol between the Arduino and the 
Coordinator. If there were no protocol between the Arduino and the coordinator 
the xbee.getResponse().getApiId() and subsequent case below would confirm 
error-free receipt by the coordinator of the packet.  Any other case, or a 
timeout would signify non error-free delivery.

Is there any way to set up the coodinator so there is no protocol with the 
Arduino so the XON and XOFF commands are not sent to the sending host Arduino?

switch (ReplyApiId)
     {
     case ZB_TX_STATUS_RESPONSE:  
       (xbee.getResponse().getZBTxStatusResponse(txStatus));
       TxDeliveryStatus = (txStatus.getDeliveryStatus());
       switch (TxDeliveryStatus)
       {
       case SUCCESS:
         nss.print("Packet Delivered OK");

Original comment by Eric.G.S...@gmail.com on 11 Mar 2011 at 4:55

GoogleCodeExporter commented 9 years ago
This problem was solved by using X-CTU to reconfigure the Coordinator Xbee and 
the Endpoint Xbee.  Use Modem Configuration and under SERIAL disable all 
entries which show CTS or RTS flow control.

Original comment by Eric.G.S...@gmail.com on 16 Mar 2011 at 7:37

GoogleCodeExporter commented 9 years ago

Original comment by andrew.rapp@gmail.com on 3 Apr 2011 at 2:20