Has anyone here used the XBees in API mode?
I can talk to the XBees from a Java program - I can send AT commands within an API frame and get a proper reply. I use a Diecimila without the microcontroller to talk directly to the XBee.
What doesn't work is doing the same from the Arduino. I never get a reply. Eventually, I am just sending incorrectly - however, I don't think so anymore.
The easiest way to send Hexadecimals is to send them as a String, isn't it? For example, if I want to send 0x1F, the the easiest way is Serial.print("1F").
All I might need to see is a few lines of code for an Arduino that send a correct API frame. Unluckily, I haven't found it in the web.