How to enter XBee API mode

Hi all!

I am using Digi’s XBee module, and I am trying to put it into API mode

I read on the datasheet that the ATAP1 should do it, but I constantly get the ERROR reply

the sequence I am doing is:

+++OK

ATAP1

ERROR

I want to note also that many of the AT commands in the datasheet also give me the ERROR response.

I am doing something wrong, or missing something?

thanks

Mickey

Which XBee modules do you have? Series 1 or Series 2?

Only the Series 1 and Series 2 modules that have API firmware installed have the AP command.

Post the Firmware Version number so we can direct you to the correct Digi Document.

Try a simple read command like ATSL, read the source address. This’ll show if the XBee is responding properly to commands.

Hi,

Thanks for the response!

if I type the command ATVR, the modem responds with the number 106

thanks again!

Mickey

I have series-2 device

btw: I installed the x-ctu application, it downloads to my PC all the firmwares for all devices

(so it looks like), but does not update firmware to the chip.

Use API mode by either an AT command or by setting that mode in the config registers using XCTU

Ensure you have a copy of the complete documentation - the “OEM” manual.

Hi,

Now I see that the series-2 module that I have - I succesfully updated it’s firmware to the API

version, no AT commands anymore!, is it possible?

and for the other modules I’ve got: the X-CTU reads them as XBP24, version 106,

and I am unable to update them to API mode.

what do you think?

Hi again!

Thanks to this link: http://www.kobakant.at/DIY/?p=163, I think I got it right this time,

I dont know if I have communications now, but at least i can issue the ATAP command now

and it gives me response other than ERROR,

thanks for all the help,

Mickey

X-CTU reads them as XBP24, version 106,

Do you mean Version 10E6?

If so then that is a Series 1 module as the XBP24 also indicates.

If you Read the Modem Configuratation in X-CTU what is the "Function Set’ name?

My guess is “XBEE PRO 802.15.4”

If this is so then there is an ‘AP’ parameter. You can set this parameter through the Modem Configuration tab in X-CTU. And under the Terminal tab you can go into command mode (+++) and query the setting without a changing it, just type ATAP’cr’.