PaulS:
How is the XBee communicating with the Arduino?
You didn't answer this question. I'll tell you - the communication is via Serial.print(), Serial.write(), Serial.println(), Serial.read(), and Serial.available().
So, yes, you can send +++ to the XBee, to put it into command mode, and then send it AT commands, using Serial.print().
Thanks PaulS
I will try this:
Serial.print(+++);
Serial.print(ATPL);
Serial.print(x); //4,3,2,1
I will tell you if it works.
If that's