I have been trying to set up two XBees to communicate since the last three days. X-CTU seems to be the perfect option to do so, however, it is a real menace when it comes to discovering XBees on serial ports.
I was able to detect one XBee by luck just once and the other one never showed up. I have even replaced both my XBees. I am trying to figure out the alternative, i.e. using a serial console to perform the operation. I haven't been able to receive an OK response from the device upon issuing +++
.
Since I haven't had a good experience using a PC to communicate with ESP8266 devices earlier, I tried to figure out a workaround by using the second Serial port of an Arduino to send such configuration messages and read the response by printing it out on the default serial console.
It also appears that configuration messages can differ depending on the mode of the device. If it's in API mode, the frame has to be generated in a specific format (I use the X-CTU frame generator for this purpose).
Why am I not able to receive a response from the XBee upon issuing a +++
?
The devices are Series 1 XBees and the exact part number is XB24-AWI-001. Any help is highly appreciated.
+++
? IIRC it's one full second; a bit more can't hurt. Of course it has to be at the correct baudrate. You could perform the sequence at different baudrates. I built a system that could handle brand-new Xbees at 9600 or configured modules at 115200 by testing both baudrates. (The brand-new modules would then get configured in-system, then switched to API mode.) – sawdust