XBee comm issue
Ray0665
Posts: 231
I have two XBee-AWI-001 rev C modules that have stopped communicating. Im using fdserial to interface the modules at 9600 8N1.
The sender is on an activity board and the receiver is on a propeller BOE board. (Yes I am sure the IO is wired correctly even tried it both ways out of desperation.)
Spin test programs are attached which basically sends the letter "a" from the sender to the receiver who is supposed to display it on a terminal.
Since they were not communicating I then downloaded the XCTU software from DIGI and it was able to see and connect to each unit at 9600 8N1.
I then upgraded the firmware and loaded the default settings. Still no comm.
Any suggestions as to how to proceed next?
What are the default AT commands to ensure they are set to communicate at 9600 8N1?
The sender is on an activity board and the receiver is on a propeller BOE board. (Yes I am sure the IO is wired correctly even tried it both ways out of desperation.)
Spin test programs are attached which basically sends the letter "a" from the sender to the receiver who is supposed to display it on a terminal.
Since they were not communicating I then downloaded the XCTU software from DIGI and it was able to see and connect to each unit at 9600 8N1.
I then upgraded the firmware and loaded the default settings. Still no comm.
Any suggestions as to how to proceed next?
What are the default AT commands to ensure they are set to communicate at 9600 8N1?
spin
758B
Comments
Your programs are straightforward. The only thing I notice is that in Sender you didn't allow a pause after ser.Start to allow the port to initialize.